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

Telecommand.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // Telecommand.h 00005 // 00006 // Version 1.0 00007 // Date 15.10.03 (version 1.0) 00008 // Author A. Pasetti (P&P Software) 00009 // 00010 // Change Record: 00011 00012 #ifndef TelecommandH 00013 #define TelecommandH 00014 00015 #include "../GeneralInclude/ForwardDeclarations.h" 00016 #include "../GeneralInclude/BasicTypes.h" 00017 #include "../Base/PunctualAction.h" 00018 00123 class Telecommand : public PunctualAction { 00124 00125 private: 00126 TD_ObsTime timeTag; 00127 bool inUse; 00128 00129 public: 00130 00137 Telecommand(void); 00138 00147 virtual bool isValid(void); 00148 00159 virtual TD_CheckCode getValidityCheckCode(void) const; 00160 00168 virtual bool canExecute(void); 00169 00180 virtual TD_CheckCode getExecutionCheckCode(void) const; 00181 00192 virtual TD_TelecommandId getTelecommandId(void) const; 00193 00202 virtual void setTelecommandId(TD_TelecommandId tcIdentifier); 00203 00212 virtual TD_TelecommandType getType(void) const; 00213 00222 virtual void setType(TD_TelecommandType tcType); 00223 00229 virtual TD_TelecommandSubType getSubType(void) const; 00230 00238 virtual void setSubType(TD_TelecommandSubType tcSubType); 00239 00245 virtual TD_TelecommandSource getSource(void) const; 00246 00254 virtual void setSource(TD_TelecommandSource tcSource); 00255 00260 TD_ObsTime getTimeTag(void) const; 00261 00267 void setTimeTag(TD_ObsTime timeTag); 00268 00289 virtual void setRawData(unsigned int i, unsigned char d); 00290 00300 virtual unsigned int getNumberOfRawData(void) const; 00301 00318 virtual void setRawData(unsigned char* d, unsigned int i); 00319 00325 void setInUse(bool newInUse); 00326 00333 bool isInUse(void) const; 00334 00342 virtual void setAcknowledgeLevel(TD_TelecommandAck ackLevel); 00343 00351 virtual TD_TelecommandAck getAcknowledgeLevel(void) const; 00352 00358 virtual bool isObjectConfigured(void); 00359 00360 }; 00361 00362 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved