This command displays a string when executed. More...
#include <CommandString.hpp>
Public Member Functions | |
virtual base::ActionInterface * | clone () const |
CommandString (std::string s) | |
virtual bool | execute () |
virtual void | readArguments () |
virtual | ~CommandString () |
Public Member Functions inherited from RTT::base::ActionInterface | |
virtual ActionInterface * | copy (std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const |
virtual void | reset () |
virtual bool | valid () const |
virtual | ~ActionInterface () |
Private Attributes | |
std::string | command |
Additional Inherited Members | |
Public Types inherited from RTT::base::ActionInterface | |
typedef boost::shared_ptr< ActionInterface > | shared_ptr |
This command displays a string when executed.
Definition at line 52 of file CommandString.hpp.
RTT::CommandString::CommandString | ( | std::string | s | ) |
Definition at line 43 of file CommandString.cpp.
|
inlinevirtual |
Definition at line 59 of file CommandString.hpp.
|
inlinevirtual |
The Clone Software Pattern.
Implements RTT::base::ActionInterface.
Definition at line 66 of file CommandString.hpp.
|
virtual |
Execute the functionality of this action.
Implements RTT::base::ActionInterface.
Definition at line 48 of file CommandString.cpp.
|
inlinevirtual |
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 62 of file CommandString.hpp.
|
private |
Definition at line 72 of file CommandString.hpp.