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

DC_FsmEvent.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // DC_FsmEvent.h 00005 // 00006 // Version 1.0 00007 // Date 01.10.02 00008 // Author A. Pasetti (P&P Software) 00009 00010 #ifndef DC_FsmEventH 00011 #define DC_FsmEventH 00012 00013 #include "../GeneralInclude/ForwardDeclarations.h" 00014 #include "../GeneralInclude/BasicTypes.h" 00015 #include "../Base/PunctualAction.h" 00016 00038 class DC_FsmEvent : public PunctualAction { 00039 00040 private: 00041 CC_FSM* pTargetFsm; 00042 TD_FsmStateIndex targetState; 00043 00044 public: 00045 00053 DC_FsmEvent(void); 00054 00061 void setTargetFsm(CC_FSM* pTargetFsm); 00062 00073 void setTargetState(TD_FsmStateIndex targetState); 00074 00080 CC_FSM* getTargetFsm(void) const; 00081 00088 TD_FsmStateIndex getTargetState(void) const; 00089 00100 virtual bool isObjectConfigured(void); 00101 00102 protected: 00103 00123 virtual TD_ActionOutcome doAction(void); 00124 00125 }; 00126 00127 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved