ExecutableCommand Class Reference

#include <ExecutableCommand.h>

Inheritance diagram for ExecutableCommand:

Inheritance graph
[legend]
Collaboration diagram for ExecutableCommand:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

Definition at line 12 of file ExecutableCommand.h.


Constructor & Destructor Documentation

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         }

Here is the call graph for this function:

ExecutableCommand::~ExecutableCommand (  )  [virtual]

Definition at line 30 of file ExecutableCommand.cxx.

References clear().

00031         { 
00032                 clear();
00033         }

Here is the call graph for this function:


Member Function Documentation

void ExecutableCommand::clear (  )  [virtual]

Implements CommandObject.

Definition at line 81 of file ExecutableCommand.cxx.

Referenced by ~ExecutableCommand().

00082         {
00083                 
00084         }

Here is the caller graph for this function:

int ExecutableCommand::count (  )  [virtual]

Implements CommandObject.

Definition at line 73 of file ExecutableCommand.cxx.

00074         {
00075                 return 1;
00076         }

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]

Implements CommandObject.

Definition at line 63 of file ExecutableCommand.cxx.

00064         {
00065                 executionQueue.push_back( this );
00066         }

void ExecutableCommand::setText ( std::string  theText  ) 

Definition at line 54 of file ExecutableCommand.cxx.

References text.

Referenced by ExecutableCommand().

00055         { 
00056                 text = theText;
00057         }

Here is the caller graph for this function:


Member Data Documentation

std::string ExecutableCommand::text [private]

Definition at line 76 of file ExecutableCommand.h.

Referenced by getText(), and setText().


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

Generated on Wed Jun 27 23:28:33 2012 for creaContours_lib by  doxygen 1.5.7.1