#include <CommandDataSource.hpp>
Public Member Functions | |
base::ActionInterface * | clone () const |
CommandDataSource (base::DataSourceBase::shared_ptr dsb) | |
base::ActionInterface * | copy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const |
bool | execute () |
void | readArguments () |
void | reset () |
Public Attributes | |
base::DataSourceBase::shared_ptr | _dsb |
A Command which evaluates a base::DataSourceBase and always returns true.
Definition at line 51 of file CommandDataSource.hpp.
RTT::scripting::CommandDataSource::CommandDataSource | ( | base::DataSourceBase::shared_ptr | dsb | ) | [inline] |
Definition at line 55 of file CommandDataSource.hpp.
base::ActionInterface* RTT::scripting::CommandDataSource::clone | ( | ) | const [inline, virtual] |
The Clone Software Pattern.
Implements RTT::base::ActionInterface.
Definition at line 71 of file CommandDataSource.hpp.
base::ActionInterface* RTT::scripting::CommandDataSource::copy | ( | std::map< const base::DataSourceBase *, base::DataSourceBase * > & | alreadyCloned | ) | const [inline] |
Definition at line 75 of file CommandDataSource.hpp.
bool RTT::scripting::CommandDataSource::execute | ( | ) | [inline, virtual] |
Execute the functionality of this action.
Implements RTT::base::ActionInterface.
Definition at line 63 of file CommandDataSource.hpp.
void RTT::scripting::CommandDataSource::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 58 of file CommandDataSource.hpp.
void RTT::scripting::CommandDataSource::reset | ( | ) | [inline, virtual] |
Reset this action. Must be used after execute() failed.
Reimplemented from RTT::base::ActionInterface.
Definition at line 67 of file CommandDataSource.hpp.
Definition at line 54 of file CommandDataSource.hpp.