15 #ifndef _OCRABASE_FUNCTION_H_ 16 #define _OCRABASE_FUNCTION_H_ 104 bool explicitlyTimeDependant=
false,
bool separableTimeDependancy =
true);
135 template<eFunctionAbility Ability>
143 template<eFunctionAbility Ability>
147 template<eFunctionAbility Ability>
169 template<eFunctionAbility Ability>
183 template<eFunctionAbility Ability>
305 void changeFunctionDimensionImpl(
int newDimension);
317 bool _hasDisconnected;
324 template<eFunctionAbility Ability>
340 template<eFunctionAbility Ability>
346 template<eFunctionAbility Ability>
352 template< eFunctionAbility Ability>
358 template< eFunctionAbility Ability>
388 #endif //_OCRABASE_FUNCTION_H_ const Variable & getVariable() const
virtual int computeDimensionFromInputSize() const
virtual void updateFdot() const
ocra_function_traits< Property >::sub_type_t return_sub_type
virtual void doUpdateDimensionBegin(int newDimension)
const return_type & get(FunctionType &data) const
void disconnectVariable()
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
ocra_function_traits< Property >::type_t return_type
virtual void updateFddot() const
virtual void doUpdateDimensionEnd(int oldDimension)
const IFunction< Ability >::return_type & get() const
virtual void doUpdateInputSizeEnd()
const MatrixXd & getJacobian() const
Function(Variable &x, int dimension, eFunctionLinearity linearity=LINEARITY_UNDEFINED, eFunctionConvexity convexity=CONVEXITY_UNDEFINED, int continuity=CONTINUITY_UNKNOWN, bool explicitlyTimeDependant=false, bool separableTimeDependancy=true)
Function Constructor.
This class represents a variable in a mathematical sense.
const VectorXd & getValue() const
#define OCRA_APPLY_FUNCTION_ON_ALL_INTERFACE(methodAndArgs)
#define OCRA_FUNCTION_INTERFACE_INHERITANCE(inheritanceAccessRight)
bool canBeComputed() const
Eigen::DenseBase< MatrixXd >::ConstRowXpr MatrixXdRow
void changeFunctionDimension(int newDimension)
virtual void doUpdateInputSizeBegin()
virtual void updateJdotXdot() const
Declaration file of the Variable class.
Declaration file of the Observer, Subject and ObserverSubject classes.
Declaration file of the IFunction interface.
void updateInputSize(int timestamp)