00001
00056 #if !defined(_CIGI_SOF_V3_INCLUDED_)
00057 #define _CIGI_SOF_V3_INCLUDED_
00058
00059
00060 #include "CigiBaseSOF.h"
00061
00062
00063
00064
00065
00066
00069 class CIGI_SPEC CigiSOFV3 : public CigiBaseSOF
00070 {
00071 public:
00072 CigiSOFV3();
00073 virtual ~CigiSOFV3();
00074
00075
00076
00077
00078
00079
00090 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00091
00092
00102 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00103
00104
00105
00106
00107
00108
00109
00110
00114 Cigi_uint32 GetFrameCntr(void) const { return(FrameCntr); }
00115
00116
00124 int SetFrameCntr(const Cigi_uint32 FrameCntrIn, bool bndchk=true)
00125 {
00126 FrameCntr = FrameCntrIn;
00127 LastRcvdHostFrame = FrameCntrIn;
00128
00129 return(CIGI_SUCCESS);
00130 }
00131
00132
00133
00134
00135
00139 Cigi_uint32 GetTimeStamp(void) const { return(TimeStampV3); }
00140
00141
00150 int SetTimeStamp(const Cigi_uint32 TimeStamp, bool bndchk=true);
00151
00152
00153
00154
00155
00159 bool GetTimeStampValid(void) const { return(TimestampValid); }
00160
00161
00172 int SetTimeStampValid(const bool TimeStampValidIn, bool bndchk=true)
00173 {
00174 TimestampValid = TimeStampValidIn;
00175
00176 return(CIGI_SUCCESS);
00177 }
00178
00179
00180
00181
00182
00188 EarthRefModelGrp GetEarthRefModel(void) const { return(EarthRefModel); }
00189
00190
00201 int SetEarthRefModel(const EarthRefModelGrp EarthRefModelIn, bool bndchk=true);
00202
00203 };
00204
00205 #endif // !defined(_CIGI_SOF_V3_INCLUDED_)