Crocoddyl
Loading...
Searching...
No Matches
ConstraintItemTpl< _Scalar > Struct Template Reference

Public Types

typedef ConstraintModelAbstractTpl< Scalar > ConstraintModelAbstract

Public Member Functions

 ConstraintItemTpl (const std::string &name, std::shared_ptr< ConstraintModelAbstract > constraint, bool active=true)
template<typename NewScalar>
ConstraintItemTpl< NewScalar > cast () const

Public Attributes

bool active
std::shared_ptr< ConstraintModelAbstractconstraint
std::string name
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar

Friends

std::ostream & operator<< (std::ostream &os, const ConstraintItemTpl< Scalar > &model)
 Print information on the constraint item.

Detailed Description

template<typename _Scalar>
struct crocoddyl::ConstraintItemTpl< _Scalar >

Definition at line 17 of file constraint-manager.hpp.

Member Typedef Documentation

◆ ConstraintModelAbstract

template<typename _Scalar>
typedef ConstraintModelAbstractTpl<Scalar> ConstraintModelAbstract

Definition at line 21 of file constraint-manager.hpp.

Constructor & Destructor Documentation

◆ ConstraintItemTpl() [1/2]

template<typename _Scalar>
ConstraintItemTpl()
inline

Definition at line 23 of file constraint-manager.hpp.

◆ ConstraintItemTpl() [2/2]

template<typename _Scalar>
ConstraintItemTpl(const std::string &name,
std::shared_ptr< ConstraintModelAbstract >constraint,
boolactive = true )
inline

Definition at line 24 of file constraint-manager.hpp.

Member Function Documentation

◆ cast()

template<typename _Scalar>
template<typename NewScalar>
ConstraintItemTpl< NewScalar > cast()const
inline

Definition at line 30 of file constraint-manager.hpp.

◆ operator<<

template<typename _Scalar>
std::ostream & operator<<(std::ostream &os,
const ConstraintItemTpl< Scalar > &model )
friend

Print information on the constraint item.

Definition at line 39 of file constraint-manager.hpp.

Member Data Documentation

◆ Scalar

template<typename _Scalar>
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar

Definition at line 20 of file constraint-manager.hpp.

◆ name

template<typename _Scalar>
std::string name

Definition at line 45 of file constraint-manager.hpp.

◆ constraint

template<typename _Scalar>
std::shared_ptr<ConstraintModelAbstract> constraint

Definition at line 46 of file constraint-manager.hpp.

◆ active

template<typename _Scalar>
bool active

Definition at line 47 of file constraint-manager.hpp.


The documentation for this struct was generated from the following file: