00001 00055 #if !defined(_CIGI_LOS_RESP_V2_INCLUDED_) 00056 #define _CIGI_LOS_RESP_V2_INCLUDED_ 00057 00058 #include "CigiBaseLosResp.h" 00059 00060 00061 00062 class CIGI_SPEC CigiLosRespV2 : public CigiBaseLosResp 00063 { 00064 00065 public: 00066 00067 //==> Management 00068 00069 //========================================================= 00072 CigiLosRespV2(); 00073 00074 //========================================================= 00077 virtual ~CigiLosRespV2(); 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 00127 //+> Material 00128 00129 //========================================================= 00136 int SetMaterial(const Cigi_uint32 MaterialIn, bool bndchk=true) 00137 { 00138 Material = MaterialIn; 00139 return(CIGI_SUCCESS); 00140 } 00141 00142 //========================================================= 00145 Cigi_uint32 GetMaterial(void) const { return(Material); } 00146 00147 00148 00149 }; 00150 00151 #endif // #if !defined(_CIGI_LOS_RESP_V2_INCLUDED_)