A Command indicating that an error was encountered somewhere, most likely during the construction of another command. More...
#include <CommandIllegal.hpp>

Public Member Functions | |
| virtual base::ActionInterface * | clone () const |
| CommandIllegal (const std::string &cmd) | |
| CommandIllegal (const std::string &cmd, const std::string &descr) | |
| virtual bool | execute () |
| void | readArguments () |
| virtual void | warn () |
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 Member Functions | |
| CommandIllegal () | |
Private Attributes | |
| std::string | description |
| std::string | illCmd |
Additional Inherited Members | |
Public Types inherited from RTT::base::ActionInterface | |
| typedef boost::shared_ptr< ActionInterface > | shared_ptr |
A Command indicating that an error was encountered somewhere, most likely during the construction of another command.
Definition at line 57 of file CommandIllegal.hpp.
| RTT::CommandIllegal::CommandIllegal | ( | const std::string & | cmd | ) |
Construct a new CommandIllegal with the illegal std::stringcommand as argument
| cmd | command that failed |
Definition at line 44 of file CommandIllegal.cpp.
| RTT::CommandIllegal::CommandIllegal | ( | const std::string & | cmd, |
| const std::string & | descr | ||
| ) |
Construct a new CommandIllegal with the illegal std::stringcommand as argument and a description
| cmd | command that failed |
| descr | description |
Definition at line 48 of file CommandIllegal.cpp.
|
private |
Forbidden
|
inlinevirtual |
The Clone Software Pattern.
Implements RTT::base::ActionInterface.
Definition at line 94 of file CommandIllegal.hpp.
|
virtual |
Execute the functionality of this action.
Implements RTT::base::ActionInterface.
Definition at line 52 of file CommandIllegal.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 82 of file CommandIllegal.hpp.
|
virtual |
Preferably, this function is executed right after a CommandIllegal has been created. This function can give feedback about a failed command before the CommandIllegal is actually executed
Definition at line 60 of file CommandIllegal.cpp.
|
private |
Definition at line 106 of file CommandIllegal.hpp.
|
private |
Definition at line 105 of file CommandIllegal.hpp.