#include <ExecutableCommand.h>
Public Member Functions | |
ExecutableCommand (std::string aText) | |
virtual | ~ExecutableCommand () |
std::string | getText () |
void | setText (std::string theText) |
virtual void | includeToExecute (std::deque< CommandObject * > &executionQueue) |
virtual int | count () |
virtual void | clear () |
Private Attributes | |
std::string | text |
Definition at line 12 of file ExecutableCommand.h.
ExecutableCommand::ExecutableCommand | ( | std::string | aText | ) |
Definition at line 21 of file ExecutableCommand.cxx.
References setText().
00022 { 00023 setText(aText); 00024 std::cout<<"execComm created "<< aText.data()<<std::endl;//SIL 00025 }
ExecutableCommand::~ExecutableCommand | ( | ) | [virtual] |
Definition at line 30 of file ExecutableCommand.cxx.
References clear().
00031 { 00032 clear(); 00033 }
void ExecutableCommand::clear | ( | ) | [virtual] |
Implements CommandObject.
Definition at line 81 of file ExecutableCommand.cxx.
Referenced by ~ExecutableCommand().
int ExecutableCommand::count | ( | ) | [virtual] |
std::string ExecutableCommand::getText | ( | ) |
Definition at line 45 of file ExecutableCommand.cxx.
References text.
00046 { 00047 return text; 00048 }
void ExecutableCommand::includeToExecute | ( | std::deque< CommandObject * > & | executionQueue | ) | [virtual] |
void ExecutableCommand::setText | ( | std::string | theText | ) |
Definition at line 54 of file ExecutableCommand.cxx.
References text.
Referenced by ExecutableCommand().
00055 { 00056 text = theText; 00057 }
std::string ExecutableCommand::text [private] |