CigiWeatherCtrlV2.h

Go to the documentation of this file.
00001 
00054 #if !defined(_CIGI_WEATHER_CTRL_V2_INCLUDED_)
00055 #define _CIGI_WEATHER_CTRL_V2_INCLUDED_
00056 
00057 #include "CigiBaseWeatherCtrl.h"
00058 
00059 
00060 
00061 class CIGI_SPEC CigiWeatherCtrlV2 : public CigiBaseWeatherCtrl
00062 {
00063 
00064 public:
00065 
00066    //==> Management
00067 
00068    //=========================================================
00071    CigiWeatherCtrlV2();
00072 
00073    //=========================================================
00076    virtual ~CigiWeatherCtrlV2();
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 
00107 
00108    //==> Accessing Member Variable Values functions
00109 
00110    //+> PhenomenonType
00111 
00112    //=========================================================
00119    int SetPhenomenonType(const Cigi_uint16 PhenomenonTypeIn, bool bndchk=true);
00120 
00121    //=========================================================
00124    Cigi_uint16 GetPhenomenonType(void) const { return(PhenomenonType); }
00125 
00126 
00127    //+> Opacity
00128 
00129    //=========================================================
00136    int SetOpacity(const float OpacityIn, bool bndchk=true);
00137 
00138    //=========================================================
00141    float GetOpacity(void) const { return(Opacity); }
00142 
00143 
00144    //+> WindDir
00145 
00146    //=========================================================
00153    int SetWindDir(const float WindDirIn, bool bndchk=true);
00154 
00155    //=========================================================
00158    float GetWindDir(void) const { return(WindDir); }
00159 
00160 
00161 
00162 };
00163 
00164 #endif // #if !defined(_CIGI_WEATHER_CTRL_V2_INCLUDED_)

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