#include <CommandFunctors.hpp>
Public Types | |
typedef boost::function< bool(void)> | Function |
Public Member Functions | |
virtual CommandFunction * | clone () const |
CommandFunction (Function impl) | |
virtual bool | execute () |
virtual void | readArguments () |
Public Attributes | |
Function | com |
A functor with the base::ActionInterface, for the case where the functor is a bool(void).
Definition at line 57 of file CommandFunctors.hpp.
typedef boost::function<bool(void)> RTT::scripting::CommandFunction::Function |
Definition at line 61 of file CommandFunctors.hpp.
RTT::scripting::CommandFunction::CommandFunction | ( | Function | impl | ) | [inline] |
Definition at line 68 of file CommandFunctors.hpp.
virtual CommandFunction* RTT::scripting::CommandFunction::clone | ( | ) | const [inline, virtual] |
The Clone Software Pattern.
Implements RTT::base::ActionInterface.
Definition at line 77 of file CommandFunctors.hpp.
virtual bool RTT::scripting::CommandFunction::execute | ( | ) | [inline, virtual] |
Execute the functionality of this action.
Implements RTT::base::ActionInterface.
Definition at line 75 of file CommandFunctors.hpp.
virtual void RTT::scripting::CommandFunction::readArguments | ( | ) | [inline, virtual] |
This is invoked some time before execute() at a time when the action may read its function arguments.
Implements RTT::base::ActionInterface.
Definition at line 73 of file CommandFunctors.hpp.
Definition at line 63 of file CommandFunctors.hpp.