19 #ifndef HPP_CORE_CONSTRAINT_HH 20 # define HPP_CORE_CONSTRAINT_HH 23 # include <hpp/core/config.hh> 45 const std::string&
name ()
const 71 Constraint (
const std::string& name) : name_ (name), weak_ ()
84 virtual std::ostream& print (std::ostream& os)
const = 0;
92 ConstraintWkPtr_t weak_;
101 return constraint.print (os);
106 #endif // HPP_CORE_CONSTRAINT_HH constraints::LockedJointPtr_t LockedJointPtr_t
Definition: fwd.hh:142
pinocchio::ConfigurationIn_t ConfigurationIn_t
Definition: fwd.hh:97
boost::shared_ptr< ConstraintSet > ConstraintSetPtr_t
Definition: fwd.hh:110
pinocchio::ConfigurationOut_t ConfigurationOut_t
Definition: fwd.hh:98
Definition: config-projector.hh:57
Definition: constraint.hh:37
void init(const ConstraintPtr_t &self)
Store shared pointer to itself.
Definition: constraint.hh:79
boost::shared_ptr< Constraint > ConstraintPtr_t
Definition: fwd.hh:109
const std::string & name() const
Get name of constraint.
Definition: constraint.hh:45
pinocchio::vector_t vector_t
Definition: fwd.hh:201
Constraint(const Constraint &constraint)
Definition: constraint.hh:74
virtual ~Constraint()
Definition: constraint.hh:65
Constraint(const std::string &name)
Constructor.
Definition: constraint.hh:71
std::ostream & operator<<(std::ostream &os, const Constraint &constraint)
Definition: constraint.hh:98
Definition: constraint-set.hh:36