7 #ifndef DYNAMIC_GRAPH_COMMAND_SETTER_H 8 #define DYNAMIC_GRAPH_COMMAND_SETTER_H 44 template <
class E,
typename T>
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.
SetterMethod setterMethod_
virtual Value doExecute()
Specific action performed by the command.