$search
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, const std::string &descr) | |
CommandIllegal (const std::string &cmd) | |
virtual bool | execute () |
void | readArguments () |
virtual void | warn () |
Private Member Functions | |
CommandIllegal () | |
Private Attributes | |
std::string | description |
std::string | illCmd |
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 42 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 46 of file CommandIllegal.cpp.
RTT::scripting::CommandIllegal::CommandIllegal | ( | ) | [private] |
Forbidden
virtual base::ActionInterface* RTT::scripting::CommandIllegal::clone | ( | ) | const [inline, virtual] |
The Clone Software Pattern.
Implements RTT::base::ActionInterface.
Definition at line 94 of file CommandIllegal.hpp.
bool RTT::CommandIllegal::execute | ( | ) | [virtual] |
Execute the functionality of this action.
Implements RTT::base::ActionInterface.
Definition at line 50 of file CommandIllegal.cpp.
void RTT::scripting::CommandIllegal::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 82 of file CommandIllegal.hpp.
void RTT::CommandIllegal::warn | ( | ) | [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 58 of file CommandIllegal.cpp.
std::string RTT::scripting::CommandIllegal::description [private] |
Definition at line 106 of file CommandIllegal.hpp.
std::string RTT::scripting::CommandIllegal::illCmd [private] |
Definition at line 105 of file CommandIllegal.hpp.