CigiIGCtrlV2.h

Go to the documentation of this file.
00001 
00053 #if !defined(_CIGI_IG_CTRL_V2_INCLUDED_)
00054 #define _CIGI_IG_CTRL_V2_INCLUDED_
00055 
00056 
00057 #include "CigiBaseIGCtrl.h"
00058 
00059 
00060 
00061 
00062 
00063 //=========================================================
00066 class CIGI_SPEC CigiIGCtrlV2 : public CigiBaseIGCtrl  
00067 {
00068 public:
00069         CigiIGCtrlV2();
00070         virtual ~CigiIGCtrlV2();
00071 
00072 
00073    //==> Buffer Packing/Unpacking
00074 
00075    //=========================================================
00086         virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00087 
00088    //=========================================================
00098         virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00099 
00100 
00101    //==> Accessing Member Variable Values functions
00102 
00103 
00104    //+> Frame Counter
00105 
00106    //=========================================================
00114    int SetFrameCntr(const Cigi_uint32 FrameCntrIn, bool bndchk=true)
00115    {
00116       FrameCntr = FrameCntrIn;
00117       LastRcvdIGFrame = FrameCntrIn;
00118 
00119       return(CIGI_SUCCESS);
00120    }
00121 
00122 
00123    //+> Timestamp
00124 
00125    //=========================================================
00129    float GetTimeStamp(void) const { return(TimeStampV2); }
00130 
00131    //=========================================================
00140         int SetTimeStamp(const float TimeStamp, bool bndchk=true);
00141 
00142 
00143    //+> Tracking Device Enable
00144 
00145    //=========================================================
00149    TrackDeviceEnGrp GetTrackDeviceEn(void) const { return(TrackDeviceEn); }
00150 
00151    //=========================================================
00159         int SetTrackDeviceEn(const TrackDeviceEnGrp TrackDeviceEnIn, bool bndchk=true);
00160 
00161 
00162    //+> Boresight Tracking Device
00163 
00164    //=========================================================
00168    bool GetBoresightTrackDevice(void) const { return(BoresightTrackDevice); }
00169 
00170    //=========================================================
00179         int SetBoresightTrackDevice(const bool BoresightTrackDeviceIn,
00180                                  bool bndchk=true)
00181    {
00182       BoresightTrackDevice = BoresightTrackDeviceIn;
00183 
00184       return(CIGI_SUCCESS);
00185 
00186    }
00187 
00188 
00189 
00190 
00191 };
00192 
00193 #endif // !defined(_CIGI_IG_CTRL_V2_INCLUDED_)

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