#include <command.hpp>
Public Member Functions | |
AliasCommand (std::string name, std::string alias) | |
AliasCommand (std::string name, std::string alias) | |
virtual RealCommand * | getRealCommand (const std::vector< Command * > &cmds) const |
virtual RealCommand * | getRealCommand (const std::vector< Command * > &cmds) const |
virtual | ~AliasCommand () |
virtual | ~AliasCommand () |
Private Attributes | |
std::string | _alias |
Another name for a command
Definition at line 130 of file install/include/orocos/ocl/command.hpp.
OCL::TCP::AliasCommand::AliasCommand | ( | std::string | name, | |
std::string | alias | |||
) |
Definition at line 440 of file command.cpp.
virtual OCL::TCP::AliasCommand::~AliasCommand | ( | ) | [inline, virtual] |
Definition at line 137 of file install/include/orocos/ocl/command.hpp.
OCL::TCP::AliasCommand::AliasCommand | ( | std::string | name, | |
std::string | alias | |||
) |
virtual OCL::TCP::AliasCommand::~AliasCommand | ( | ) | [inline, virtual] |
Definition at line 137 of file reporting/command.hpp.
virtual RealCommand* OCL::TCP::AliasCommand::getRealCommand | ( | const std::vector< Command * > & | cmds | ) | const [virtual] |
Return a reference to the object which is really responsible for executing this command. This enables multiple names for the same command. Return 0 if no such command is founded.
Implements OCL::TCP::Command.
RealCommand * OCL::TCP::AliasCommand::getRealCommand | ( | const std::vector< Command * > & | cmds | ) | const [virtual] |
Return a reference to the object which is really responsible for executing this command. This enables multiple names for the same command. Return 0 if no such command is founded.
Implements OCL::TCP::Command.
Definition at line 445 of file command.cpp.
std::string OCL::TCP::AliasCommand::_alias [private] |
Definition at line 133 of file install/include/orocos/ocl/command.hpp.