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

PUSTelemetryPacket.h

00001 // 00002 // Copyright 2004 P&P Software GmbH - All Rights Reserved 00003 // 00004 // PUSTelemetryPacket.h 00005 // 00006 // Version 1.0 00007 // Date 01.12.02 00008 // Author A. Pasetti (P&P Software) 00009 00010 #ifndef PUSTelemetryPacketH 00011 #define PUSTelemetryPacketH 00012 00013 #include "../GeneralInclude/ForwardDeclarations.h" 00014 #include "../GeneralInclude/BasicTypes.h" 00015 #include "../Telemetry/TelemetryPacket.h" 00016 00049 class PUSTelemetryPacket : public TelemetryPacket { 00050 00051 private: 00052 static TD_TelemetryDestination defaultDestination; 00053 static TD_PUSPacketId packetId; 00054 static ObsClock* pObsClock; 00055 TD_TelemetryType type; 00056 TD_TelemetrySubType subType; 00057 TD_TelemetryDestination dest; 00058 TD_ObsTime timeTag; 00059 00060 public: 00061 00076 PUSTelemetryPacket(void); 00077 00089 static void setApplicationId(TD_APID apid); 00090 00095 virtual void setType(TD_TelemetryType tmType); 00096 00101 virtual void setSubType(TD_TelemetrySubType tmSubType); 00102 00107 virtual void setDestination(TD_TelemetryDestination tmDest); 00108 00124 static TD_PUSPacketId getPacketId(void); 00125 00130 static TD_TelemetryDestination getDefaultDestination(void); 00131 00136 static void setDefaultDestination(TD_TelemetryDestination defDest); 00137 00142 virtual TD_TelemetryType getType(void) const; 00143 00148 virtual TD_TelemetrySubType getSubType(void) const; 00149 00154 virtual TD_ObsTime getTimeTag(void) const; 00155 00160 virtual void setTimeTag(TD_ObsTime timeTag); 00161 00166 virtual TD_TelemetryDestination getDestination(void) const; 00167 00173 static void setObsClock(ObsClock* pObsClock); 00174 00180 static ObsClock* getObsClock(void); 00181 00188 virtual bool isObjectConfigured(void); 00189 00190 }; 00191 00192 #endif
Copyright 2003 P&P Software GmbH - All Rights Reserved