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

DC_DummyTelecommand.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // DC_DummyTelecommand.h 00005 // 00006 // Version 1.0 00007 // Date 05.12.02 00008 // Author A. Pasetti (P&P Software) 00009 00010 #ifndef DC_DummyTelecommandH 00011 #define DC_DummyTelecommandH 00012 00013 #include "../GeneralInclude/ForwardDeclarations.h" 00014 #include "../GeneralInclude/BasicTypes.h" 00015 #include "Telecommand.h" 00016 00034 class DC_DummyTelecommand : public Telecommand { 00035 00036 private: 00037 unsigned int executionCounter; 00038 bool executionCheckValue; 00039 bool validityCheckValue; 00040 TD_CheckCode executionCheckCode; 00041 TD_CheckCode validityCheckCode; 00042 00043 protected: 00044 00052 virtual TD_ActionOutcome doAction(void); 00053 00054 public: 00055 00064 DC_DummyTelecommand(void); 00065 00070 unsigned int getExecutionCounter(void); 00071 00083 virtual bool canExecute(void); 00084 00096 virtual bool isValid(void); 00097 00105 virtual TD_CheckCode getValidityCheckCode(void) const; 00106 00114 virtual TD_CheckCode getExecutionCheckCode(void) const; 00115 00124 void setExecutionCheckValue(bool executionCheckValue); 00125 00134 void setValidityCheckValue(bool validityCheckValue); 00135 00143 void setValidityCheckCode(TD_CheckCode validityCheckCode); 00144 00152 void setExecutionCheckCode(TD_CheckCode executionCheckCode); 00153 }; 00154 00155 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved