CigiIGCtrlV3.h

Go to the documentation of this file.
00001 
00057 #if !defined(_CIGI_IG_CONTROL_V3_INCLUDED_)
00058 #define _CIGI_IG_CONTROL_V3_INCLUDED_
00059 
00060 
00061 
00062 #include "CigiBaseIGCtrl.h"
00063 
00064 
00065 
00066 
00067 
00068 //=========================================================
00071 class CIGI_SPEC CigiIGCtrlV3 : public CigiBaseIGCtrl  
00072 {
00073 public:
00074         CigiIGCtrlV3();
00075         virtual ~CigiIGCtrlV3();
00076 
00077 
00078    //==> Buffer Packing/Unpacking
00079 
00080    //=========================================================
00091         virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00092 
00093    //=========================================================
00103         virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00104 
00105 
00106    //==> Accessing Member Variable Values functions
00107 
00108 
00109    //+> Frame Counter
00110 
00111    //=========================================================
00119    int SetFrameCntr(const Cigi_uint32 FrameCntrIn, bool bndchk=true)
00120    {
00121       FrameCntr = FrameCntrIn;
00122       LastRcvdIGFrame = FrameCntrIn;
00123 
00124       return(CIGI_SUCCESS);
00125    }
00126 
00127 
00128    //+> Timestamp
00129 
00130    //=========================================================
00134    Cigi_uint32 GetTimeStamp(void) const { return(TimeStampV3); }
00135 
00136    //=========================================================
00145         int SetTimeStamp(const Cigi_uint32 TimeStamp, bool bndchk=true);
00146 
00147 
00148 
00149    //+> Timestamp Valid
00150 
00151    //=========================================================
00155    bool GetTimeStampValid(void) const { return(TimestampValid); }
00156 
00157         int SetTimeStampValid(const bool TimeStampValidIn, bool bndchk=true)
00158    {
00159       TimestampValid = TimeStampValidIn;
00160 
00161       return(CIGI_SUCCESS);
00162    }
00163 
00164 
00165 
00166 };
00167 
00168 #endif // !defined(_CIGI_IG_CONTROL_V3_INCLUDED_)

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