00001
00056 #if !defined(_CIGI_IG_CTRL_V1_INCLUDED_)
00057 #define _CIGI_IG_CTRL_V1_INCLUDED_
00058
00059
00060 #include "CigiBaseIGCtrl.h"
00061
00062
00063
00064
00065
00068 class CIGI_SPEC CigiIGCtrlV1 : public CigiBaseIGCtrl
00069 {
00070 public:
00071 CigiIGCtrlV1();
00072 virtual ~CigiIGCtrlV1();
00073
00074
00075
00076
00077
00088 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00089
00090
00100 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00101
00102
00103
00104
00105
00106
00107
00108
00109
00117 int SetFrameCntr(const Cigi_uint32 FrameCntrIn, bool bndchk=true)
00118 {
00119 FrameCntr = FrameCntrIn;
00120 LastRcvdIGFrame = FrameCntrIn;
00121
00122 return(CIGI_SUCCESS);
00123 }
00124
00125
00126
00127
00128
00132 Cigi_uint32 GetTimeStamp(void) const { return(TimeStampV1); }
00133
00134
00143 int SetTimeStamp(const Cigi_uint32 TimeStamp, bool bndchk=true);
00144
00145
00146
00147
00148
00152 TrackDeviceEnGrp GetTrackDeviceEn(void) const { return(TrackDeviceEn); }
00153
00154
00162 int SetTrackDeviceEn(const TrackDeviceEnGrp TrackDeviceEnIn, bool bndchk=true);
00163
00164
00165
00166
00167
00171 bool GetBoresightTrackDevice(void) const { return(BoresightTrackDevice); }
00172
00173
00182 int SetBoresightTrackDevice(const bool BoresightTrackDeviceIn,
00183 bool bndchk=true)
00184 {
00185 BoresightTrackDevice = BoresightTrackDeviceIn;
00186
00187 return(CIGI_SUCCESS);
00188
00189 }
00190
00191
00192 };
00193
00194 #endif // !defined(_CIGI_IG_CTRL_V1_INCLUDED_)