CigiLosRespV3_2.h

Go to the documentation of this file.
00001 
00049 #if !defined(_CIGI_LOS_RESP_V3_2_INCLUDED_)
00050 #define _CIGI_LOS_RESP_V3_2_INCLUDED_
00051 
00052 #include "CigiBaseLosResp.h"
00053 
00054 
00055 
00056 class CIGI_SPEC CigiLosRespV3_2 : public CigiBaseLosResp
00057 {
00058 
00059 public:
00060 
00061    //==> Management
00062 
00063    //=========================================================
00066    CigiLosRespV3_2();
00067 
00068    //=========================================================
00071    virtual ~CigiLosRespV3_2();
00072 
00073 
00074    //==> Buffer Packing/Unpacking
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    //=========================================================
00113         virtual int GetCnvt(CigiVersionID &CnvtVersion,
00114                        CigiCnvtInfoType::Type &CnvtInfo);
00115 
00116 
00117 
00118    //==> Accessing Member Variable Values functions
00119 
00120    //+> EntityIDValid
00121 
00122    //=========================================================
00130    int SetEntityIDValid(const bool EntityIDValidIn, bool bndchk=true)
00131    {
00132       EntityIDValid = EntityIDValidIn;
00133       return(CIGI_SUCCESS);
00134    }
00135 
00136    //=========================================================
00139    bool GetEntityIDValid(void) const { return(EntityIDValid); }
00140 
00141 
00142    //+> HostFrame
00143 
00144    //=========================================================
00152    int SetHostFrame(const Cigi_uint8 HostFrameIn, bool bndchk=true)
00153    {
00154       HostFrame = HostFrameIn;
00155       return(CIGI_SUCCESS);
00156    }
00157 
00158    //=========================================================
00161    Cigi_uint8 GetHostFrame(void) const { return(HostFrame); }
00162 
00163 
00164    //+> RespCount
00165 
00166    //=========================================================
00173    int SetRespCount(const Cigi_uint8 RespCountIn, bool bndchk=true)
00174    {
00175       RespCount = RespCountIn;
00176       return(CIGI_SUCCESS);
00177    }
00178 
00179    //=========================================================
00182    Cigi_uint8 GetRespCount(void) const { return(RespCount); }
00183 
00184 
00185    //+> EntityID
00186 
00187    //=========================================================
00194    int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
00195    {
00196       EntityID = EntityIDIn;
00197       return(CIGI_SUCCESS);
00198    }
00199 
00200    //=========================================================
00203    Cigi_uint16 GetEntityID(void) const { return(EntityID); }
00204 
00205 
00206 };
00207 
00208 #endif // #if !defined(_CIGI_LOS_RESP_V3_2_INCLUDED_)

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