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

DC_TestPUSTelecommand.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // DC_TestPUSTelecommand.h 00005 // 00006 // Version 1.0 00007 // Date 05.01.04 00008 // Author A. Pasetti (P&P Software) 00009 00010 #ifndef DC_TestPUSTelecommandH 00011 #define DC_TestPUSTelecommandH 00012 00013 #include "../GeneralInclude/ForwardDeclarations.h" 00014 #include "../GeneralInclude/BasicTypes.h" 00015 #include "PUSTelecommand.h" 00016 00053 class DC_TestPUSTelecommand : public PUSTelecommand { 00054 00055 private: 00056 unsigned char executionCounter; 00057 bool executionCheckValue; 00058 bool validityCheckValue; 00059 bool executionSuccess; 00060 TD_CheckCode executionCheckCode; 00061 TD_CheckCode validityCheckCode; 00062 unsigned int lasti; 00063 00064 00065 protected: 00066 00085 virtual TD_ActionOutcome doAction(void); 00086 00087 public: 00088 00095 DC_TestPUSTelecommand(void); 00096 00101 unsigned int getExecutionCounter(void); 00102 00114 virtual bool canExecute(void); 00115 00127 virtual bool isValid(void); 00128 00138 virtual TD_CheckCode getValidityCheckCode(void) const; 00139 00148 virtual TD_CheckCode getExecutionCheckCode(void) const; 00149 00158 void setExecutionCheckValue(bool executionCheckValue); 00159 00168 void setValidityCheckValue(bool validityCheckValue); 00169 00177 void setValidityCheckCode(TD_CheckCode validityCheckCode); 00178 00186 void setExecutionCheckCode(TD_CheckCode executionCheckCode); 00187 00197 void setActionOutcome(bool executionSuccess); 00198 00207 bool getActionOutcome(); 00208 00220 virtual void setRawData(unsigned int i, unsigned char d); 00221 00231 virtual unsigned int getNumberOfRawData(void) const; 00232 00233 }; 00234 00235 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved