00001 00052 #if !defined(_CIGI_HOT_REQ_V2_INCLUDED_) 00053 #define _CIGI_HOT_REQ_V2_INCLUDED_ 00054 00055 #include "CigiBaseHatHotReq.h" 00056 00057 00058 00059 class CIGI_SPEC CigiHotReqV2 : public CigiBaseHatHotReq 00060 { 00061 00062 public: 00063 00064 //==> Management 00065 00066 //========================================================= 00069 CigiHotReqV2(); 00070 00071 //========================================================= 00074 virtual ~CigiHotReqV2(); 00075 00076 00077 //==> Buffer Packing/Unpacking 00078 00079 //========================================================= 00090 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const; 00091 00092 //========================================================= 00102 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec); 00103 00104 //========================================================= 00116 virtual int GetCnvt(CigiVersionID &CnvtVersion, 00117 CigiCnvtInfoType::Type &CnvtInfo); 00118 00119 00120 00121 //==> Accessing Member Variable Values functions 00122 00123 //+> Alt 00124 00125 //========================================================= 00132 int SetAlt(const double AltIn, bool bndchk=true) 00133 { 00134 AltOrZoff = AltIn; 00135 return(CIGI_SUCCESS); 00136 } 00137 00138 //========================================================= 00141 double GetAlt(void) const { return(AltOrZoff); } 00142 00143 00144 00145 }; 00146 00147 #endif // #if !defined(_CIGI_HOT_REQ_V2_INCLUDED_)