#include <dynamic-graph/command-bind.h>
Public Types | |
| typedef boost::function< void(const T1 &, const T2 &, const T3 &)> | function_t |
| typedef boost::function< void(E *, const T1 &, const T2 &, const T3 &)> | memberFunction_t |
| typedef void(E::* | memberFunction_ptr_t) (const T1 &, const T2 &, const T3) |
Public Member Functions | |
| CommandVoid3 (E &entity, function_t function, const std::string &docString) | |
Public Member Functions inherited from dynamicgraph::command::Command | |
| virtual | ~Command () |
| Command (Entity &entity, const std::vector< Value::Type > &valueTypes, const std::string &docstring) | |
| Store the owner entity and a vector of value types. More... | |
| const std::vector< Value::Type > & | valueTypes () const |
| Return the value type of all parameters. More... | |
| void | setParameterValues (const std::vector< Value > &values) |
| Set parameter values. More... | |
| const std::vector< Value > & | getParameterValues () const |
| Get parameter values. More... | |
| Value | execute () |
| Execute the command after checking parameters. More... | |
| Entity & | owner () |
| Get a reference to the Entity owning this command. More... | |
| std::string | getDocstring () const |
| Get documentation string. More... | |
Protected Member Functions | |
| virtual Value | doExecute () |
| Specific action performed by the command. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from dynamicgraph::command::Command | |
| static const std::vector< Value::Type > | EMPTY_ARG |
| typedef boost::function<void(const T1 &, const T2 &, const T3 &)> dynamicgraph::command::CommandVoid3< E, T1, T2, T3 >::function_t |
| typedef void(E::* dynamicgraph::command::CommandVoid3< E, T1, T2, T3 >::memberFunction_ptr_t) (const T1 &, const T2 &, const T3) |
| typedef boost::function<void(E *, const T1 &, const T2 &, const T3 &)> dynamicgraph::command::CommandVoid3< E, T1, T2, T3 >::memberFunction_t |
|
inline |
|
inlineprotectedvirtual |
Specific action performed by the command.
Implements dynamicgraph::command::Command.
References dynamicgraph::command::Command::getParameterValues().