creaContours_lib
ExecutableCommand Class Reference

#include <ExecutableCommand.h>

Inheritance diagram for ExecutableCommand:
Collaboration diagram for ExecutableCommand:

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 37 of file ExecutableCommand.h.

Constructor & Destructor Documentation

ExecutableCommand::ExecutableCommand ( std::string  aText)

Definition at line 46 of file ExecutableCommand.cxx.

References setText().

47  {
48  setText(aText);
49  std::cout<<"execComm created "<< aText.data()<<std::endl;//SIL
50  }

Here is the call graph for this function:

ExecutableCommand::~ExecutableCommand ( )
virtual

Definition at line 55 of file ExecutableCommand.cxx.

References clear().

56  {
57  clear();
58  }

Here is the call graph for this function:

Member Function Documentation

void ExecutableCommand::clear ( )
virtual

Implements CommandObject.

Definition at line 106 of file ExecutableCommand.cxx.

Referenced by ~ExecutableCommand().

107  {
108 
109  }

Here is the caller graph for this function:

int ExecutableCommand::count ( )
virtual

Implements CommandObject.

Definition at line 98 of file ExecutableCommand.cxx.

99  {
100  return 1;
101  }
std::string ExecutableCommand::getText ( )

Definition at line 70 of file ExecutableCommand.cxx.

References text.

71  {
72  return text;
73  }
void ExecutableCommand::includeToExecute ( std::deque< CommandObject * > &  executionQueue)
virtual

Implements CommandObject.

Definition at line 88 of file ExecutableCommand.cxx.

89  {
90  executionQueue.push_back( this );
91  }
void ExecutableCommand::setText ( std::string  theText)

Definition at line 79 of file ExecutableCommand.cxx.

References text.

Referenced by ExecutableCommand().

80  {
81  text = theText;
82  }

Here is the caller graph for this function:

Member Data Documentation

std::string ExecutableCommand::text
private

Definition at line 101 of file ExecutableCommand.h.

Referenced by getText(), and setText().


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