Public Member Functions | Private Member Functions | Private Attributes
RTT::scripting::CommandIllegal Class Reference

A Command indicating that an error was encountered somewhere, most likely during the construction of another command. More...

#include <CommandIllegal.hpp>

Inheritance diagram for RTT::scripting::CommandIllegal:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual base::ActionInterfaceclone () const
 CommandIllegal (const std::string &cmd)
 CommandIllegal (const std::string &cmd, const std::string &descr)
virtual bool execute ()
void readArguments ()
virtual void warn ()

Private Member Functions

 CommandIllegal ()

Private Attributes

std::string description
std::string illCmd

Detailed Description

A Command indicating that an error was encountered somewhere, most likely during the construction of another command.

Deprecated:
Remove this low-level class since it's nowhere used.

Definition at line 57 of file CommandIllegal.hpp.


Constructor & Destructor Documentation

RTT::CommandIllegal::CommandIllegal ( const std::string &  cmd)

Construct a new CommandIllegal with the illegal std::stringcommand as argument

Parameters:
cmdcommand 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

Parameters:
cmdcommand that failed
descrdescription

Definition at line 48 of file CommandIllegal.cpp.

Forbidden


Member Function Documentation

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.

Returns:
true if the action was accepted, false otherwise

Implements RTT::base::ActionInterface.

Definition at line 52 of file CommandIllegal.cpp.

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 60 of file CommandIllegal.cpp.


Member Data Documentation

Definition at line 106 of file CommandIllegal.hpp.

Definition at line 105 of file CommandIllegal.hpp.


The documentation for this class was generated from the following files:


rtt
Author(s): RTT Developers
autogenerated on Thu Jan 2 2014 11:35:45