CigiHatHotReqV3.h

Go to the documentation of this file.
00001 
00055 #if !defined(_CIGI_HAT_HOT_REQ_V3_INCLUDED_)
00056 #define _CIGI_HAT_HOT_REQ_V3_INCLUDED_
00057 
00058 #include "CigiBaseHatHotReq.h"
00059 
00060 
00061 
00062 class CIGI_SPEC CigiHatHotReqV3 : public CigiBaseHatHotReq
00063 {
00064 
00065 public:
00066 
00067    //==> Management
00068 
00069    //=========================================================
00072    CigiHatHotReqV3();
00073 
00074    //=========================================================
00077    virtual ~CigiHatHotReqV3();
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    //+> ReqType
00127 
00128    //=========================================================
00138    int SetReqType(const ReqTypeGrp ReqTypeIn, bool bndchk=true);
00139 
00140    //=========================================================
00143    ReqTypeGrp GetReqType(void) const { return(ReqType); }
00144 
00145 
00146    //+> SrcCoordSys
00147 
00148    //=========================================================
00157    int SetSrcCoordSys(const CoordSysGrp SrcCoordSysIn, bool bndchk=true);
00158 
00159    //=========================================================
00162    CoordSysGrp GetSrcCoordSys(void) const { return(SrcCoordSys); }
00163 
00164 
00165    //+> EntityID
00166 
00167    //=========================================================
00174    int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
00175    {
00176       EntityID = EntityIDIn;
00177       return(CIGI_SUCCESS);
00178    }
00179 
00180    //=========================================================
00183    Cigi_uint16 GetEntityID(void) const { return(EntityID); }
00184 
00185 
00186    //+> Xoff
00187 
00188    //=========================================================
00197    int SetXoff(const double XoffIn, bool bndchk=true)
00198    {
00199       LatOrXoff = XoffIn;
00200       return(CIGI_SUCCESS);
00201    }
00202 
00203    //=========================================================
00206    double GetXoff(void) const { return(LatOrXoff); }
00207 
00208 
00209    //+> Yoff
00210 
00211    //=========================================================
00220    int SetYoff(const double YoffIn, bool bndchk=true)
00221    {
00222       LonOrYoff = YoffIn;
00223       return(CIGI_SUCCESS);
00224    }
00225 
00226    //=========================================================
00229    double GetYoff(void) const { return(LonOrYoff); }
00230 
00231 
00232    //+> Alt
00233 
00234    //=========================================================
00241    int SetAlt(const double AltIn, bool bndchk=true)
00242    {
00243       AltOrZoff = AltIn;
00244       return(CIGI_SUCCESS);
00245    }
00246 
00247    //=========================================================
00250    double GetAlt(void) const { return(AltOrZoff); }
00251 
00252 
00253    //+> Zoff
00254 
00255    //=========================================================
00264    int SetZoff(const double ZoffIn, bool bndchk=true)
00265    {
00266       AltOrZoff = ZoffIn;
00267       return(CIGI_SUCCESS);
00268    }
00269 
00270    //=========================================================
00273    double GetZoff(void) const { return(AltOrZoff); }
00274 
00275 
00276 
00277 };
00278 
00279 #endif // #if !defined(_CIGI_HAT_HOT_REQ_V3_INCLUDED_)

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