CigiIGCtrlV3_2.h

Go to the documentation of this file.
00001 
00051 #if !defined(_CIGI_IG_CONTROL_V3_2_INCLUDED_)
00052 #define _CIGI_IG_CONTROL_V3_2_INCLUDED_
00053 
00054 
00055 
00056 #include "CigiBaseIGCtrl.h"
00057 
00058 
00059 
00060 
00061 
00062 //=========================================================
00065 class CIGI_SPEC CigiIGCtrlV3_2 : public CigiBaseIGCtrl  
00066 {
00067 public:
00068         CigiIGCtrlV3_2();
00069         virtual ~CigiIGCtrlV3_2();
00070 
00071 
00072    //==> Buffer Packing/Unpacking
00073 
00074    //=========================================================
00085         virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00086 
00087    //=========================================================
00097         virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00098 
00099 
00100    //==> Accessing Member Variable Values functions
00101 
00102 
00103    //+> Frame Counter
00104 
00105    //=========================================================
00113    int SetFrameCntr(const Cigi_uint32 FrameCntrIn, bool bndchk=true)
00114    {
00115       FrameCntr = FrameCntrIn;
00116 
00117       return(CIGI_SUCCESS);
00118    }
00119 
00120 
00121    //+> Timestamp
00122 
00123    //=========================================================
00127    Cigi_uint32 GetTimeStamp(void) const { return(TimeStampV3); }
00128 
00129    //=========================================================
00138         int SetTimeStamp(const Cigi_uint32 TimeStamp, bool bndchk=true);
00139 
00140 
00141 
00142    //+> Timestamp Valid
00143 
00144    //=========================================================
00148    bool GetTimeStampValid(void) const { return(TimestampValid); }
00149 
00150    //=========================================================
00158         int SetTimeStampValid(const bool TimeStampValidIn, bool bndchk=true)
00159    {
00160       TimestampValid = TimeStampValidIn;
00161 
00162       return(CIGI_SUCCESS);
00163    }
00164 
00165 
00166    //+> Last Received IG Frame
00167 
00168    //=========================================================
00172    Cigi_uint32 GetLastRcvdIGFrame(void) const { return(LastRcvdIGFrame); }
00173 
00174    //=========================================================
00182    int SetLastRcvdIGFrame(const Cigi_uint32 LastRcvdIGFrameIn, bool bndchk=true)
00183    {
00184       LastRcvdIGFrame = LastRcvdIGFrameIn;
00185 
00186       return(CIGI_SUCCESS);
00187    }
00188 
00189 
00190 
00191 };
00192 
00193 #endif // !defined(_CIGI_IG_CONTROL_V3_2_INCLUDED_)

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