00001 00055 #if !defined(_CIGI_HOT_RESP_V2_INCLUDED_) 00056 #define _CIGI_HOT_RESP_V2_INCLUDED_ 00057 00058 #include "CigiBaseHatHotResp.h" 00059 00060 00061 00062 class CIGI_SPEC CigiHotRespV2 : public CigiBaseHatHotResp 00063 { 00064 00065 public: 00066 00067 //==> Management 00068 00069 //========================================================= 00072 CigiHotRespV2(); 00073 00074 //========================================================= 00077 virtual ~CigiHotRespV2(); 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 //+> Hot 00127 00128 //========================================================= 00135 int SetHot(const double HotIn, bool bndchk=true) 00136 { 00137 Hot = HotIn; 00138 VldHot = true; 00139 return(CIGI_SUCCESS); 00140 } 00141 00142 //========================================================= 00145 double GetHot(void) const { return(Hot); } 00146 00147 00148 //+> Material 00149 00150 //========================================================= 00157 int SetMaterial(const Cigi_uint32 MaterialIn, bool bndchk=true) 00158 { 00159 Material = MaterialIn; 00160 return(CIGI_SUCCESS); 00161 } 00162 00163 //========================================================= 00166 Cigi_uint32 GetMaterial(void) const { return(Material); } 00167 00168 00169 00170 }; 00171 00172 #endif // #if !defined(_CIGI_HAT_HOT_RESP_V2_INCLUDED_)