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