7 #ifndef DYNAMIC_GRAPH_COMMAND_GETTER_H 8 #define DYNAMIC_GRAPH_COMMAND_GETTER_H 44 template <
class E,
typename T>
62 #endif // DYNAMIC_GRAPH_COMMAND_GETTER_H
This class implements a variant design pattern to handle basic types in Command.
Getter(E &entity, GetterMethod getterMethod, const std::string &docString)
Constructor.
T(E::* GetterMethod)() const
Pointer to method that sets parameter of type T.
virtual Value doExecute()
Specific action performed by the command.
GetterMethod getterMethod_