

Public Types | |
| typedef T(E::* | GetterMethod) () const |
| Pointer to method that sets parameter of type T. | |
Public Member Functions | |
| DirectGetter (E &entity, T *ptr, const std::string &docString) | |
| Constructor. | |
Public Member Functions inherited from Command | |
| Command (Entity &entity, const std::vector< Value::Type > &valueTypes, const std::string &docstring) | |
| Value | execute () |
| Execute the command after checking parameters. | |
| std::string | getDocstring () const |
| Get documentation string. | |
| const std::vector< Value > & | getParameterValues () const |
| Get parameter values. | |
| Entity & | owner () |
| Get a reference to the Entity owning this command. | |
| void | setParameterValues (const std::vector< Value > &values) |
| Set parameter values. | |
| const std::vector< Value::Type > & | valueTypes () const |
| Return the value type of all parameters. | |
Protected Member Functions | |
| virtual Value | doExecute () |
| Specific action performed by the command. | |
Additional Inherited Members | |
Static Public Attributes inherited from Command | |
| static const std::vector< Value::Type > | EMPTY_ARG |
Definition at line 27 of file command-direct-getter.h.