11 #ifndef _OCRABASE_FUNCTION_INTERFACE_MAPPING_H_ 12 #define _OCRABASE_FUNCTION_INTERFACE_MAPPING_H_ 23 template<
class Derived>
29 #define GET_FUNCTION(X) static_cast<X<Function>*>(this)->getFunction() 30 #define GET_FUNCTION_CONST(X) static_cast<const X<Function>* const>(this)->getFunction() 36 template<
template<
class>
class X >
44 template<eFunctionAbility Ability>
47 template<eFunctionAbility Ability>
49 template<eFunctionAbility Ability>
73 #undef GET_FUNCTION_CONST 76 #endif //_OCRABASE_FUNCTION_INTERFACE_MAPPING_H_ const Variable & getVariable() const
const std::string & getName() const
bool hasSeparableTimeDependancy(void) const
#define GET_FUNCTION_CONST(X)
double getValue(int index) const
bool hasProperty(const std::string &functionProperty) const
MatrixXdRow getJacobian(int index) const
ocra_function_traits< Property >::sub_type_t return_sub_type
int getNumberOfProperties(void) const
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
ocra_function_traits< Property >::type_t return_type
const std::string & getProperty(int i) const
int getContinuityProperty(void) const
const VectorXd & getValue() const
This class represents a variable in a mathematical sense.
const MatrixXd & getJacobian() const
Eigen::DenseBase< MatrixXd >::ConstRowXpr MatrixXdRow
Declaration file of the Function class.
bool isExplicitlyTimeDependant(void) const
void changeDimension(int newDimension)
eFunctionConvexity getConvexityProperty(void) const
eFunctionLinearity getType(void) const