00001
00041 #if !defined(_CIGI_IG_CONTROL_V3_3_INCLUDED_)
00042 #define _CIGI_IG_CONTROL_V3_3_INCLUDED_
00043
00044
00045
00046 #include "CigiBaseIGCtrl.h"
00047
00048
00049
00050
00051
00052
00055 class CIGI_SPEC CigiIGCtrlV3_3 : public CigiBaseIGCtrl
00056 {
00057 public:
00058 CigiIGCtrlV3_3();
00059 virtual ~CigiIGCtrlV3_3();
00060
00061
00062
00063
00064
00075 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00076
00077
00087 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00088
00089
00090
00091
00092
00093
00094
00095
00103 int SetFrameCntr(const Cigi_uint32 FrameCntrIn, bool bndchk=true)
00104 {
00105 FrameCntr = FrameCntrIn;
00106
00107 return(CIGI_SUCCESS);
00108 }
00109
00110
00111
00112
00113
00117 Cigi_uint32 GetTimeStamp(void) const { return(TimeStampV3); }
00118
00119
00128 int SetTimeStamp(const Cigi_uint32 TimeStamp, bool bndchk=true);
00129
00130
00131
00132
00133
00134
00138 bool GetTimeStampValid(void) const { return(TimestampValid); }
00139
00140
00148 int SetTimeStampValid(const bool TimeStampValidIn, bool bndchk=true)
00149 {
00150 TimestampValid = TimeStampValidIn;
00151
00152 return(CIGI_SUCCESS);
00153 }
00154
00155
00156
00157
00158
00159
00163 bool GetSmoothingEn(void) const { return(SmoothingEn); }
00164
00165
00174 int SetSmoothingEn(const bool SmoothingEnabled, bool bndchk=true)
00175 {
00176 SmoothingEn = SmoothingEnabled;
00177
00178 return(CIGI_SUCCESS);
00179 }
00180
00181
00182
00183
00184
00188 Cigi_uint32 GetLastRcvdIGFrame(void) const { return(LastRcvdIGFrame); }
00189
00190
00198 int SetLastRcvdIGFrame(const Cigi_uint32 LastRcvdIGFrameIn, bool bndchk=true)
00199 {
00200 LastRcvdIGFrame = LastRcvdIGFrameIn;
00201
00202 return(CIGI_SUCCESS);
00203 }
00204
00205
00206
00207 };
00208
00209 #endif // !defined(_CIGI_IG_CONTROL_V3_3_INCLUDED_)