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

PUSTelecommand.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // PUSTelecommand.h 00005 // 00006 // Version 1.0 00007 // Date 15.12.03 (version 1.0) 00008 // Author A. Pasetti (P&P Software) 00009 // 00010 // Change Record: 00011 00012 #ifndef PUSTelecommandH 00013 #define PUSTelecommandH 00014 00015 #include "../GeneralInclude/ForwardDeclarations.h" 00016 #include "../GeneralInclude/BasicTypes.h" 00017 #include "../Telecommand/Telecommand.h" 00018 00058 class PUSTelecommand : public Telecommand { 00059 00060 private: 00061 static TD_PUSPacketId packetId; 00062 TD_TelecommandId tcId; 00063 TD_TelecommandType tcType; 00064 TD_TelecommandSubType tcSubType; 00065 TD_TelecommandSource tcSource; 00066 TD_TelecommandAck ackLevel; 00067 TD_CheckCode validityCheckCode; 00068 00069 protected: 00070 00079 void setValidityCheckCode(TD_CheckCode valCheckCode); 00080 00081 00082 public: 00083 00101 PUSTelecommand(void); 00102 00111 virtual bool isValid(void); 00112 00118 virtual TD_CheckCode getValidityCheckCode(void) const; 00119 00135 static TD_PUSPacketId getPacketId(void); 00136 00148 static void setApplicationId(TD_APID apid); 00149 00156 virtual TD_TelecommandId getTelecommandId(void) const; 00157 00163 virtual void setTelecommandId(TD_TelecommandId tcIdentifier); 00164 00171 virtual TD_TelecommandType getType(void) const; 00172 00178 virtual void setType(TD_TelecommandType tcType); 00179 00186 virtual TD_TelecommandSubType getSubType(void) const; 00187 00193 virtual void setSubType(TD_TelecommandSubType tcSubType); 00194 00199 virtual TD_TelecommandSource getSource(void) const; 00200 00206 virtual void setSource(TD_TelecommandSource tcSource); 00207 00221 virtual void setAcknowledgeLevel(TD_TelecommandAck ackLevel); 00222 00230 virtual TD_TelecommandAck getAcknowledgeLevel(void) const; 00231 00238 bool isAcceptanceAckRequired(void) const; 00239 00246 bool isStartAckRequired(void) const; 00247 00254 bool isProgressAckRequired(void) const; 00255 00262 bool isCompletionAckRequired(void) const; 00263 00270 virtual bool isObjectConfigured(void); 00271 00272 }; 00273 00274 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved