11 :_relative(relative), _base(base), _validated(false)
44 void VariableMapping::updateMapping()
const 50 void VariableMapping::invalidate(
int)
void getRelativeMappingOf(const Variable &subVariable, std::vector< int > &mapping) const
Returns the indexes of a subvariable in the variable.
Optimization-based Robot Controller namespace. a library of classes to write and solve optimization p...
This class represents a variable in a mathematical sense.
const std::vector< int > & getMapping() const
const Variable & getRelativeVariable() const
const Variable & getBaseVariable() const
Declaration file of the Variable class.
VariableMapping(const Variable &relative, const Variable &base)
void disconnect(Derived &object, void(Base::*callbackToErase)(int)) const
Disconnect non-static method.
void connect(Derived &object, void(Base::*newCallback)(int)) const
Call this method to register a non-static method as a callback.
Declaration file of the VariableMapping class.