#include <command-bind.h>
Public Types | |
typedef boost::function< void(const T &)> | function_t |
Public Member Functions | |
CommandVoid1 (E &entity, function_t function, const std::string &docString) | |
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 | |
function_t | fptr |
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 82 of file command-bind.h.
typedef boost::function<void(const T &)> dynamicgraph::command::CommandVoid1< E, T >::function_t |
Definition at line 83 of file command-bind.h.
|
inline |
Definition at line 85 of file command-bind.h.
|
inlineprotectedvirtual |
Specific action performed by the command.
Implements dynamicgraph::command::Command.
Definition at line 91 of file command-bind.h.
|
private |
Definition at line 99 of file command-bind.h.