19 #ifndef HPP_CORE_CONSTRAINT_SET_HH 20 # define HPP_CORE_CONSTRAINT_SET_HH 41 const std::string& name)
64 constraint->addToConstraintSet (weak_.lock ());
71 Constraints_t::iterator
begin () {
72 return constraints_.begin ();
75 Constraints_t::iterator
end () {
76 return constraints_.end ();
120 bool rows =
true)
const;
128 bool rows =
true)
const;
143 virtual std::ostream& print (std::ostream& os)
const;
147 for (Constraints_t::iterator itConstraint = constraints_.begin ();
148 itConstraint != constraints_.end (); itConstraint ++) {
149 (*itConstraint)->addToConstraintSet (constraintSet);
153 void removeFirstElement ();
156 Constraints_t::iterator configProjectorIt_;
157 Constraints_t::iterator trivialOrNotConfigProjectorIt_;
158 ConstraintSetWkPtr_t weak_;
168 #endif // HPP_CORE_CONSTRAINT_SET_HH void addConstraint(const ConstraintPtr_t &constraint)
Add a constraint to the set.
Definition: constraint-set.hh:62
pinocchio::DevicePtr_t DevicePtr_t
Definition: fwd.hh:114
pinocchio::ConfigurationIn_t ConfigurationIn_t
Definition: fwd.hh:97
static ConstraintSetPtr_t create(const DevicePtr_t &robot, const std::string &name)
Return shared pointer to new object.
Definition: constraint-set.hh:40
boost::shared_ptr< ConstraintSet > ConstraintSetPtr_t
Definition: fwd.hh:110
pinocchio::ConfigurationOut_t ConfigurationOut_t
Definition: fwd.hh:98
pinocchio::size_type size_type
Definition: fwd.hh:156
Constraints_t::iterator end()
Iterator over the constraints.
Definition: constraint-set.hh:75
Definition: config-projector.hh:57
Definition: constraint.hh:37
void init(const ConstraintPtr_t &self)
Store shared pointer to itself.
Definition: constraint.hh:79
pinocchio::vectorIn_t vectorIn_t
Definition: fwd.hh:202
constraints::matrixIn_t matrixIn_t
Definition: fwd.hh:149
static ConstraintSetPtr_t createCopy(const ConstraintSetPtr_t &cs)
Return shared pointer to new object.
Definition: constraint-set.hh:50
boost::shared_ptr< Constraint > ConstraintPtr_t
Definition: fwd.hh:109
pinocchio::vector_t vector_t
Definition: fwd.hh:201
void init(const ConstraintSetPtr_t &self)
Store weak pointer to itself.
Definition: constraint-set.hh:136
constraints::matrixOut_t matrixOut_t
Definition: fwd.hh:150
boost::shared_ptr< ConfigProjector > ConfigProjectorPtr_t
Definition: fwd.hh:104
pinocchio::vectorOut_t vectorOut_t
Definition: fwd.hh:203
Constraints_t::iterator begin()
Iterator over the constraints.
Definition: constraint-set.hh:71
std::deque< ConstraintPtr_t > Constraints_t
Definition: fwd.hh:112
Definition: constraint-set.hh:36