CigiSensorRespV3.h

Go to the documentation of this file.
00001 
00054 #if !defined(_CIGI_SENSOR_RESP_V3_INCLUDED_)
00055 #define _CIGI_SENSOR_RESP_V3_INCLUDED_
00056 
00057 #include "CigiBaseSensorResp.h"
00058 
00059 
00060 
00061 class CIGI_SPEC CigiSensorRespV3 : public CigiBaseSensorResp
00062 {
00063 
00064 public:
00065 
00066    //==> Management
00067 
00068    //=========================================================
00071    CigiSensorRespV3();
00072 
00073    //=========================================================
00076    virtual ~CigiSensorRespV3();
00077 
00078 
00079    //==> Buffer Packing/Unpacking
00080 
00081    //=========================================================
00092    virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00093 
00094    //=========================================================
00104    virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00105 
00106 
00107 
00108    //==> Accessing Member Variable Values functions
00109 
00110    //+> ViewID
00111 
00112    //=========================================================
00119    int SetViewID(const Cigi_uint16 ViewIDIn, bool bndchk=true)
00120    {
00121       ViewID = ViewIDIn;
00122       return(CIGI_SUCCESS);
00123    }
00124 
00125    //=========================================================
00128    Cigi_uint16 GetViewID(void) const { return(ViewID); }
00129 
00130 
00131    //+> FrameCntr
00132 
00133    //=========================================================
00140    int SetFrameCntr(const Cigi_uint32 FrameCntrIn, bool bndchk=true)
00141    {
00142       FrameCntr = FrameCntrIn;
00143       return(CIGI_SUCCESS);
00144    }
00145 
00146    //=========================================================
00149    Cigi_uint32 GetFrameCntr(void) const { return(FrameCntr); }
00150 
00151 
00152 
00153 
00154 
00155 };
00156 
00157 #endif // #if !defined(_CIGI_SENSOR_RESP_V3_INCLUDED_)

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