CigiHatRespV1.h

Go to the documentation of this file.
00001 
00055 #if !defined(_CIGI_HAT_RESP_V1_INCLUDED_)
00056 #define _CIGI_HAT_RESP_V1_INCLUDED_
00057 
00058 #include "CigiBaseHatHotResp.h"
00059 
00060 
00061 class CIGI_SPEC CigiHatRespV1 : public CigiBaseHatHotResp
00062 {
00063 
00064 public:
00065 
00066    //==> Management
00067 
00068    //=========================================================
00071    CigiHatRespV1();
00072 
00073    //=========================================================
00076    virtual ~CigiHatRespV1();
00077 
00078 
00079    //==> Buffer Packing/Unpacking
00080 
00081    //=========================================================
00092    virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00093 
00094    //=========================================================
00104    virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00105 
00106    //=========================================================
00118         virtual int GetCnvt(CigiVersionID &CnvtVersion,
00119                        CigiCnvtInfoType::Type &CnvtInfo);
00120 
00121 
00122 
00123    //==> Accessing Member Variable Values functions
00124 
00125    //+> Hat
00126 
00127    //=========================================================
00134    int SetHat(const double HatIn, bool bndchk=true)
00135    {
00136       Hat = HatIn;
00137       VldHat = true;
00138       return(CIGI_SUCCESS);
00139    }
00140 
00141    //=========================================================
00144    double GetHat(void) const { return(Hat); }
00145 
00146 
00147    //+> Material
00148 
00149    //=========================================================
00156    int SetMaterial(const Cigi_uint32 MaterialIn, bool bndchk=true)
00157    {
00158       Material = MaterialIn;
00159       return(CIGI_SUCCESS);
00160    }
00161 
00162    //=========================================================
00165    Cigi_uint32 GetMaterial(void) const { return(Material); }
00166 
00167 
00168 
00169 };
00170 
00171 #endif // #if !defined(_CIGI_HAT_HOT_RESP_V1_INCLUDED_)

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