CigiLosRespV3.h

Go to the documentation of this file.
00001 
00055 #if !defined(_CIGI_LOS_RESP_V3_INCLUDED_)
00056 #define _CIGI_LOS_RESP_V3_INCLUDED_
00057 
00058 #include "CigiBaseLosResp.h"
00059 
00060 
00061 
00062 class CIGI_SPEC CigiLosRespV3 : public CigiBaseLosResp
00063 {
00064 
00065 public:
00066 
00067    //==> Management
00068 
00069    //=========================================================
00072    CigiLosRespV3();
00073 
00074    //=========================================================
00077    virtual ~CigiLosRespV3();
00078 
00079 
00080    //==> Buffer Packing/Unpacking
00081 
00082    //=========================================================
00093    virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00094 
00095    //=========================================================
00105    virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00106 
00107    //=========================================================
00119         virtual int GetCnvt(CigiVersionID &CnvtVersion,
00120                        CigiCnvtInfoType::Type &CnvtInfo);
00121 
00122 
00123 
00124    //==> Accessing Member Variable Values functions
00125 
00126    //+> EntityIDValid
00127 
00128    //=========================================================
00136    int SetEntityIDValid(const bool EntityIDValidIn, bool bndchk=true)
00137    {
00138       EntityIDValid = EntityIDValidIn;
00139       return(CIGI_SUCCESS);
00140    }
00141 
00142    //=========================================================
00145    bool GetEntityIDValid(void) const { return(EntityIDValid); }
00146 
00147 
00148    //+> RespCount
00149 
00150    //=========================================================
00157    int SetRespCount(const Cigi_uint8 RespCountIn, bool bndchk=true)
00158    {
00159       RespCount = RespCountIn;
00160       return(CIGI_SUCCESS);
00161    }
00162 
00163    //=========================================================
00166    Cigi_uint8 GetRespCount(void) const { return(RespCount); }
00167 
00168 
00169    //+> EntityID
00170 
00171    //=========================================================
00178    int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
00179    {
00180       EntityID = EntityIDIn;
00181       return(CIGI_SUCCESS);
00182    }
00183 
00184    //=========================================================
00187    Cigi_uint16 GetEntityID(void) const { return(EntityID); }
00188 
00189 
00190 };
00191 
00192 #endif // #if !defined(_CIGI_LOS_RESP_V3_INCLUDED_)

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