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

Public Types

typedef ImpulseModelAbstractTpl< Scalar > ImpulseModelAbstract

Public Member Functions

 ImpulseItemTpl (const std::string &name, std::shared_ptr< ImpulseModelAbstract > impulse, const bool active=true)
template<typename NewScalar>
ImpulseItemTpl< NewScalar > cast () const

Public Attributes

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

Friends

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

Detailed Description

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

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

Member Typedef Documentation

◆ ImpulseModelAbstract

template<typename _Scalar>
typedef ImpulseModelAbstractTpl<Scalar> ImpulseModelAbstract

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

Constructor & Destructor Documentation

◆ ImpulseItemTpl() [1/2]

template<typename _Scalar>
ImpulseItemTpl()
inline

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

◆ ImpulseItemTpl() [2/2]

template<typename _Scalar>
ImpulseItemTpl(const std::string &name,
std::shared_ptr< ImpulseModelAbstract >impulse,
const boolactive = true )
inline

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

Member Function Documentation

◆ cast()

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

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

◆ operator<<

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

Print information on the impulse item.

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

Member Data Documentation

◆ Scalar

template<typename _Scalar>
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar

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

◆ name

template<typename _Scalar>
std::string name

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

◆ impulse

template<typename _Scalar>
std::shared_ptr<ImpulseModelAbstract> impulse

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

◆ active

template<typename _Scalar>
bool active

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


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