#include <CExitCommand.h>
Public Methods | |
CExitCommand () | |
Default constructor. | |
~CExitCommand () | |
Destructor. | |
CRunState & | getRunState () |
virtual int | operator() (CTCLInterpreter &rInterp, CTCLResult &rResult, int argc, char **argv) |
virtual int | Shutdown (CTCLInterpreter &rInterp) |
Private Methods | |
CExitCommand (const CExitCommand &rhs) | |
Copy constructor. | |
CExitCommand & | operator= (const CExitCommand &rhs) |
Assignment. | |
int | operator== (const CExitCommand &rhs) const |
Comparison for equality. | |
int | operator!= (const CExitCommand &rhs) const |
Private Attributes | |
CRunState & | m_rRunState |
Current run state. |
|
Default constructor. Default constructor. This is called when declarations of the form e.g.:
Definition at line 293 of file CExitCommand.cpp. |
|
Destructor.
Definition at line 304 of file CExitCommand.h. |
|
Copy constructor.
|
|
Definition at line 314 of file CExitCommand.h. |
|
|
|
Executes the exit command:
exit
Definition at line 324 of file CExitCommand.cpp. References CReadoutMain::Exit(), CReadoutMain::getInstance(), CRunState::getState(), CRunState::Inactive, m_rRunState, and Shutdown(). |
|
Assignment.
|
|
Comparison for equality.
|
|
Performs the finalization user actions:
Definition at line 357 of file CExitCommand.cpp. Referenced by operator()(). |
|
Current run state.
Definition at line 298 of file CExitCommand.h. Referenced by operator()(). |