crocoddyl 1.9.0
Contact RObot COntrol by Differential DYnamic programming Library (Crocoddyl)
 
Loading...
Searching...
No Matches
CostItemTpl< _Scalar > Struct Template Reference
Collaboration diagram for CostItemTpl< _Scalar >:

Public Types

typedef CostModelAbstractTpl< Scalar > CostModelAbstract
 

Public Member Functions

 CostItemTpl (const std::string &name, boost::shared_ptr< CostModelAbstract > cost, const Scalar weight, const bool active=true)
 

Public Attributes

bool active
 
boost::shared_ptr< CostModelAbstractcost
 
std::string name
 
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar
 
Scalar weight
 

Friends

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

Detailed Description

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

Definition at line 23 of file cost-sum.hpp.

Member Typedef Documentation

◆ CostModelAbstract

Definition at line 27 of file cost-sum.hpp.

Constructor & Destructor Documentation

◆ CostItemTpl() [1/2]

CostItemTpl ( )
inline

Definition at line 29 of file cost-sum.hpp.

◆ CostItemTpl() [2/2]

CostItemTpl ( const std::string &  name,
boost::shared_ptr< CostModelAbstract cost,
const Scalar  weight,
const bool  active = true 
)
inline

Definition at line 30 of file cost-sum.hpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const CostItemTpl< Scalar > &  model 
)
friend

Print information on the cost item.

Definition at line 37 of file cost-sum.hpp.

Member Data Documentation

◆ Scalar

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar

Definition at line 26 of file cost-sum.hpp.

◆ name

std::string name

Definition at line 42 of file cost-sum.hpp.

◆ cost

boost::shared_ptr<CostModelAbstract> cost

Definition at line 43 of file cost-sum.hpp.

◆ weight

Scalar weight

Definition at line 44 of file cost-sum.hpp.

◆ active

bool active

Definition at line 45 of file cost-sum.hpp.


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