Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ippExecutor Class Reference

Inheritance diagram for ippExecutor:

ippBasicExecutor ippMockExecutor List of all members.

Public Member Functions

 ippExecutor ()
virtual ~ippExecutor ()
void executeCommand (ippCommandPtr CmdToCarryOut)
virtual ippResponseList checkStatus ()
virtual bool readyToProcessSlowQueueCommand () const =0
virtual void resetExecutor ()
virtual void AbortCurrentCommand ()
virtual int DaemonCount () const
virtual void StopAllDaemons ()

Protected Member Functions

void generateCompletedResponse ()
void generateErrorResponse (ippErrorNameType errorNum, const char *str)

Protected Attributes

ippCommandPtr _currentCommand
ippResponseList _returningValues

Constructor & Destructor Documentation

ippExecutor::ippExecutor  ) 
 

Definition at line 35 of file ippExecutor.cpp.

virtual ippExecutor::~ippExecutor  )  [virtual]
 

Definition at line 28 of file ippExecutor.h.

References ippExecutor.


Member Function Documentation

void ippExecutor::AbortCurrentCommand  )  [virtual]
 

Reimplemented in ippMockExecutor.

Definition at line 79 of file ippExecutor.cpp.

References _currentCommand, generateCompletedResponse(), generateErrorResponse(), and TransactionAborted.

Referenced by ippMockExecutor::AbortCurrentCommand().

ippResponseList ippExecutor::checkStatus  )  [virtual]
 

Reimplemented in ippMockExecutor.

Definition at line 91 of file ippExecutor.cpp.

References _returningValues.

Referenced by ippMockExecutor::checkStatus(), and ippSimpleServer::ExecuteCommand().

int ippExecutor::DaemonCount  )  const [virtual]
 

Reimplemented in ippBasicExecutor.

Definition at line 133 of file ippExecutor.cpp.

void ippExecutor::executeCommand ippCommandPtr  CmdToCarryOut  ) 
 

Definition at line 51 of file ippExecutor.cpp.

References _currentCommand, _returningValues, ipp::AbortE, COMMAND_ENUMERATION, generateCompletedResponse(), generateErrorResponse(), IPP_ASSERT_MSG, and UnsupportedCommand.

Referenced by ippSimpleServer::ExecuteCommand().

void ippExecutor::generateCompletedResponse  )  [protected]
 

Definition at line 109 of file ippExecutor.cpp.

References _currentCommand, _returningValues, and IPP_ASSERT.

Referenced by AbortCurrentCommand(), ippMockExecutor::checkStatus(), ippBasicExecutor::executeChangeTool(), executeCommand(), ippBasicExecutor::executeDisableUser(), ippBasicExecutor::executeEnableUser(), ippMockExecutor::executeEndSession(), ippBasicExecutor::executeEndSession(), ippBasicExecutor::executeEnumAllProp(), ippBasicExecutor::executeEnumProp(), ippBasicExecutor::executeEnumTools(), ippBasicExecutor::executeFindTool(), ippBasicExecutor::executeGet(), ippBasicExecutor::executeGetChangeToolAction(), ippBasicExecutor::executeGetCoordSystem(), ippBasicExecutor::executeGetCsyTransformation(), ippMockExecutor::executeGetDMEVersion(), ippBasicExecutor::executeGetDMEVersion(), ippBasicExecutor::executeGetMachineClass(), ippBasicExecutor::executeGetProp(), ippMockExecutor::executeIsHomed(), ippBasicExecutor::executeIsHomed(), ippBasicExecutor::executeIsUserEnabled(), ippBasicExecutor::executeNotImplemented(), ippBasicExecutor::executeOnMoveReportE(), ippBasicExecutor::executeOnPtMeasReport(), ippBasicExecutor::executeOnScanReport(), ippBasicExecutor::executeScanOnCircleHint(), ippBasicExecutor::executeScanOnLineHint(), ippBasicExecutor::executeScanUnknownHint(), ippBasicExecutor::executeSetCoordSystem(), ippBasicExecutor::executeSetCsyTransformation(), ippBasicExecutor::executeSetTool(), ippMockExecutor::executeStartSession(), ippBasicExecutor::executeStartSession(), ippBasicExecutor::executeStopAllDaemons(), and ippBasicExecutor::executeStopDaemon().

void ippExecutor::generateErrorResponse ippErrorNameType  errorNum,
const char *  str
[protected]
 

Definition at line 120 of file ippExecutor.cpp.

References _currentCommand, _returningValues, and CommandTag.

Referenced by AbortCurrentCommand(), executeCommand(), ippBasicExecutor::executeNotImplemented(), ippBasicExecutor::executeOnMoveReportE(), ippBasicExecutor::executeStopAllDaemons(), and ippBasicExecutor::executeStopDaemon().

virtual bool ippExecutor::readyToProcessSlowQueueCommand  )  const [pure virtual]
 

Implemented in ippMockExecutor.

Referenced by ippSimpleServer::IsProcessingSlowCommand().

void ippExecutor::resetExecutor  )  [virtual]
 

Reimplemented in ippBasicExecutor.

Definition at line 44 of file ippExecutor.cpp.

Referenced by ippSimpleServer::OnClientConnected(), and ippBasicExecutor::resetExecutor().

virtual void ippExecutor::StopAllDaemons  )  [virtual]
 

Reimplemented in ippBasicExecutor.

Definition at line 146 of file ippExecutor.h.


Member Data Documentation

ippCommandPtr ippExecutor::_currentCommand [protected]
 

Definition at line 41 of file ippExecutor.h.

Referenced by AbortCurrentCommand(), executeCommand(), generateCompletedResponse(), and generateErrorResponse().

ippResponseList ippExecutor::_returningValues [protected]
 

Definition at line 42 of file ippExecutor.h.

Referenced by checkStatus(), executeCommand(), generateCompletedResponse(), and generateErrorResponse().


The documentation for this class was generated from the following files:
Generated on Wed Nov 8 00:20:52 2006 for IPPDME by  doxygen 1.4.1