00001
00047 #if !defined(_CIGI_SOF_V3_2_INCLUDED_)
00048 #define _CIGI_SOF_V3_2_INCLUDED_
00049
00050
00051 #include "CigiBaseSOF.h"
00052
00053
00054
00055
00056
00057
00060 class CIGI_SPEC CigiSOFV3_2 : public CigiBaseSOF
00061 {
00062 public:
00063 CigiSOFV3_2();
00064 virtual ~CigiSOFV3_2();
00065
00066
00067
00068
00069
00070
00081 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00082
00083
00093 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00094
00095
00096
00097
00098
00099
00100
00101
00105 Cigi_uint32 GetFrameCntr(void) const { return(FrameCntr); }
00106
00107
00115 int SetFrameCntr(const Cigi_uint32 FrameCntrIn, bool bndchk=true)
00116 {
00117 FrameCntr = FrameCntrIn;
00118
00119 return(CIGI_SUCCESS);
00120 }
00121
00122
00123
00124
00125
00129 Cigi_uint32 GetTimeStamp(void) const { return(TimeStampV3); }
00130
00131
00140 int SetTimeStamp(const Cigi_uint32 TimeStamp, bool bndchk=true);
00141
00142
00143
00144
00145
00149 bool GetTimeStampValid(void) const { return(TimestampValid); }
00150
00151
00162 int SetTimeStampValid(const bool TimeStampValidIn, bool bndchk=true)
00163 {
00164 TimestampValid = TimeStampValidIn;
00165
00166 return(CIGI_SUCCESS);
00167 }
00168
00169
00170
00171
00172
00178 EarthRefModelGrp GetEarthRefModel(void) const { return(EarthRefModel); }
00179
00180
00191 int SetEarthRefModel(const EarthRefModelGrp EarthRefModelIn, bool bndchk=true);
00192
00193
00194
00195
00196
00200 Cigi_uint32 GetLastRcvdHostFrame(void) const { return(LastRcvdHostFrame); }
00201
00202
00210 int SetLastRcvdHostFrame(const Cigi_uint32 LastRcvdHostFrameIn, bool bndchk=true)
00211 {
00212 LastRcvdHostFrame = LastRcvdHostFrameIn;
00213
00214 return(CIGI_SUCCESS);
00215 }
00216
00217
00218
00219 };
00220
00221 #endif // !defined(_CIGI_SOF_V3_2_INCLUDED_)