CigiHatRespV2.h

Go to the documentation of this file.
00001 
00055 #if !defined(_CIGI_HAT_RESP_V2_INCLUDED_)
00056 #define _CIGI_HAT_RESP_V2_INCLUDED_
00057 
00058 #include "CigiBaseHatHotResp.h"
00059 
00060 
00061 
00062 class CIGI_SPEC CigiHatRespV2 : public CigiBaseHatHotResp
00063 {
00064 
00065 public:
00066 
00067    //==> Management
00068 
00069    //=========================================================
00072    CigiHatRespV2();
00073 
00074    //=========================================================
00077    virtual ~CigiHatRespV2();
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    //+> Hat
00127 
00128    //=========================================================
00135    int SetHat(const double HatIn, bool bndchk=true)
00136    {
00137       Hat = HatIn;
00138       VldHat = true;
00139       return(CIGI_SUCCESS);
00140    }
00141 
00142    //=========================================================
00145    double GetHat(void) const { return(Hat); }
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_)

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