7 #ifndef DYNAMIC_GRAPH_COMMAND_SETTER_H 8 #define DYNAMIC_GRAPH_COMMAND_SETTER_H 10 #include "dynamic-graph/command.h" 44 template <
class E,
typename T>
61 #include "dynamic-graph/command-setter.t.cpp" 62 #endif // DYNAMIC_GRAPH_COMMAND_SETTER_H This class implements a variant design pattern to handle basic types in Command.
Setter(E &entity, SetterMethod setterMethod, const std::string &docString)
Constructor.
void(E::* SetterMethod)(const T &)
Pointer to method that sets parameter of type T.
virtual Value doExecute()
Specific action performed by the command.