CigiSOFV3_2.h

Go to the documentation of this file.
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    //==> Buffer Packing/Unpacking
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    //==> Accessing Member Variable Values functions
00097 
00098 
00099    //+> Frame Counter
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    //+> Timestamp
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    //+> Timestamp Valid
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    //+> Timestamp Valid
00171 
00172    //=========================================================
00178    EarthRefModelGrp GetEarthRefModel(void) const { return(EarthRefModel); }
00179 
00180    //=========================================================
00191    int SetEarthRefModel(const EarthRefModelGrp EarthRefModelIn, bool bndchk=true);
00192 
00193 
00194    //+> Last Received Host Frame
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_)

Generated on Wed Apr 29 08:59:57 2009 for CCL by  doxygen 1.4.7