00001
00053 #if !defined(_CIGI_SOF_V2_INCLUDED_)
00054 #define _CIGI_SOF_V2_INCLUDED_
00055
00056
00057 #include "CigiBaseSOF.h"
00058
00059
00060
00061
00062
00063
00066 class CIGI_SPEC CigiSOFV2 : public CigiBaseSOF
00067 {
00068 public:
00069 CigiSOFV2();
00070 virtual ~CigiSOFV2();
00071
00072
00073
00074
00075
00076
00087 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00088
00089
00099 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00100
00101
00102
00103
00104
00105
00106
00107
00111 Cigi_uint32 GetFrameCntr(void) const { return(FrameCntr); }
00112
00113
00121 int SetFrameCntr(const Cigi_uint32 FrameCntrIn, bool bndchk=true)
00122 {
00123 FrameCntr = FrameCntrIn;
00124 LastRcvdHostFrame = FrameCntrIn;
00125
00126 return(CIGI_SUCCESS);
00127 }
00128
00129
00130
00131
00132
00136 float GetTimeStamp(void) const { return(TimeStampV2); }
00137
00138
00146 int SetTimeStamp(const float TimeStamp, bool bndchk=true);
00147
00148 };
00149
00150 #endif // !defined(_CIGI_SOF_V2_INCLUDED_)