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

Public Types

typedef ContactModelAbstractTpl< Scalar > ContactModelAbstract

Public Member Functions

 ContactItemTpl (const std::string &name, std::shared_ptr< ContactModelAbstract > contact, const bool active=true)
template<typename NewScalar>
ContactItemTpl< NewScalar > cast () const

Public Attributes

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

Friends

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

Detailed Description

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

Definition at line 19 of file multiple-contacts.hpp.

Member Typedef Documentation

◆ ContactModelAbstract

template<typename _Scalar>
typedef ContactModelAbstractTpl<Scalar> ContactModelAbstract

Definition at line 23 of file multiple-contacts.hpp.

Constructor & Destructor Documentation

◆ ContactItemTpl() [1/2]

template<typename _Scalar>
ContactItemTpl()
inline

Definition at line 25 of file multiple-contacts.hpp.

◆ ContactItemTpl() [2/2]

template<typename _Scalar>
ContactItemTpl(const std::string &name,
std::shared_ptr< ContactModelAbstract >contact,
const boolactive = true )
inline

Definition at line 26 of file multiple-contacts.hpp.

Member Function Documentation

◆ cast()

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

Definition at line 32 of file multiple-contacts.hpp.

◆ operator<<

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

Print information on the contact item.

Definition at line 41 of file multiple-contacts.hpp.

Member Data Documentation

◆ Scalar

template<typename _Scalar>
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar

Definition at line 22 of file multiple-contacts.hpp.

◆ name

template<typename _Scalar>
std::string name

Definition at line 47 of file multiple-contacts.hpp.

◆ contact

template<typename _Scalar>
std::shared_ptr<ContactModelAbstract> contact

Definition at line 48 of file multiple-contacts.hpp.

◆ active

template<typename _Scalar>
bool active

Definition at line 49 of file multiple-contacts.hpp.


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