Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

RecoveryAction.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // RecoveryAction.h 00005 // 00006 // Version 1.0 00007 // Date 11.06.03 (version 1.0) 00008 // Author A. Pasetti (P&P Software) 00009 00010 #ifndef RecoveryActionH 00011 #define RecoveryActionH 00012 00013 #include "../GeneralInclude/BasicTypes.h" 00014 #include "../Base/ConditionalPunctualAction.h" 00015 00058 class RecoveryAction : public PunctualAction { 00059 private: 00060 RecoveryAction* pNextRecoveryAction; 00061 00062 public: 00063 00068 RecoveryAction(void); 00069 00075 void setNextRecoveryAction(RecoveryAction* pNextRecoveryAction); 00076 00083 RecoveryAction* getNextRecoveryAction(void); 00084 00085 protected: 00086 00109 virtual TD_ActionOutcome doAction(void); 00110 00120 virtual bool canExecute(void); 00121 00130 virtual TD_ActionOutcome doRecoveryAction(void) = 0; 00131 }; 00132 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved