CigiWeatherCtrlV1.h

Go to the documentation of this file.
00001 
00054 #if !defined(_CIGI_WEATHER_CTRL_V1_INCLUDED_)
00055 #define _CIGI_WEATHER_CTRL_V1_INCLUDED_
00056 
00057 #include "CigiBaseWeatherCtrl.h"
00058 
00059 
00060 class CIGI_SPEC CigiWeatherCtrlV1 : public CigiBaseWeatherCtrl
00061 {
00062 
00063 public:
00064 
00065    //==> Management
00066 
00067    //=========================================================
00070    CigiWeatherCtrlV1();
00071 
00072    //=========================================================
00075    virtual ~CigiWeatherCtrlV1();
00076 
00077 
00078    //==> Buffer Packing/Unpacking
00079 
00080    //=========================================================
00091    virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00092 
00093    //=========================================================
00103    virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00104 
00105 
00106 
00107    //==> Accessing Member Variable Values functions
00108 
00109    //+> PhenomenonType
00110 
00111    //=========================================================
00118    int SetPhenomenonType(const Cigi_uint16 PhenomenonTypeIn, bool bndchk=true);
00119 
00120    //=========================================================
00123    Cigi_uint16 GetPhenomenonType(void) const { return(PhenomenonType); }
00124 
00125 
00126    //+> Opacity
00127 
00128    //=========================================================
00135    int SetOpacity(const float OpacityIn, bool bndchk=true);
00136 
00137    //=========================================================
00140    float GetOpacity(void) const { return(Opacity); }
00141 
00142 
00143    //+> WindDir
00144 
00145    //=========================================================
00152    int SetWindDir(const float WindDirIn, bool bndchk=true);
00153 
00154    //=========================================================
00157    float GetWindDir(void) const { return(WindDir); }
00158 
00159 
00160 
00161 };
00162 
00163 #endif // #if !defined(_CIGI_WEATHER_CTRL_V1_INCLUDED_)

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