CigiLosXRespV3.h

Go to the documentation of this file.
00001 
00055 #if !defined(_CIGI_LOS_XRESP_V3_INCLUDED_)
00056 #define _CIGI_LOS_XRESP_V3_INCLUDED_
00057 
00058 #include "CigiBaseLosResp.h"
00059 
00060 
00061 
00062 class CIGI_SPEC CigiLosXRespV3 : public CigiBaseLosResp
00063 {
00064 
00065 public:
00066 
00067    //==> Management
00068 
00069    //=========================================================
00072    CigiLosXRespV3();
00073 
00074    //=========================================================
00077    virtual ~CigiLosXRespV3();
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    //+> EntityIDValid
00127 
00128    //=========================================================
00136    int SetEntityIDValid(const bool EntityIDValidIn, bool bndchk=true)
00137    {
00138       EntityIDValid = EntityIDValidIn;
00139       return(CIGI_SUCCESS);
00140    }
00141 
00142    //=========================================================
00145    bool GetEntityIDValid(void) const { return(EntityIDValid); }
00146 
00147 
00148    //+> RangeValid
00149 
00150    //=========================================================
00158    int SetRangeValid(const bool RangeValidIn, bool bndchk=true)
00159    {
00160       RangeValid = RangeValidIn;
00161       return(CIGI_SUCCESS);
00162    }
00163 
00164    //=========================================================
00167    bool GetRangeValid(void) const { return(RangeValid); }
00168 
00169 
00170    //+> IntersectionCoordSys
00171 
00172    //=========================================================
00182    int SetIntersectionCoordSys(const LOSCoordGrp IntersectionCoordSysIn, bool bndchk=true);
00183 
00184    //=========================================================
00187    LOSCoordGrp GetIntersectionCoordSys(void) const { return(IntersectionCoordSys); }
00188 
00189 
00190    //+> RespCount
00191 
00192    //=========================================================
00199    int SetRespCount(const Cigi_uint8 RespCountIn, bool bndchk=true)
00200    {
00201       RespCount = RespCountIn;
00202       return(CIGI_SUCCESS);
00203    }
00204 
00205    //=========================================================
00208    Cigi_uint8 GetRespCount(void) const { return(RespCount); }
00209 
00210 
00211    //+> EntityID
00212 
00213    //=========================================================
00220    int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
00221    {
00222       EntityID = EntityIDIn;
00223       return(CIGI_SUCCESS);
00224    }
00225 
00226    //=========================================================
00229    Cigi_uint16 GetEntityID(void) const { return(EntityID); }
00230 
00231 
00232    //+> Xoff
00233 
00234    //=========================================================
00242    int SetXoff(const double XoffIn, bool bndchk=true)
00243    {
00244       LatOrXoff = XoffIn;
00245       return(CIGI_SUCCESS);
00246    }
00247 
00248    //=========================================================
00251    double GetXoff(void) const { return(LatOrXoff); }
00252 
00253 
00254    //+> Yoff
00255 
00256    //=========================================================
00264    int SetYoff(const double YoffIn, bool bndchk=true)
00265    {
00266       LonOrYoff = YoffIn;
00267       return(CIGI_SUCCESS);
00268    }
00269 
00270    //=========================================================
00273    double GetYoff(void) const { return(LonOrYoff); }
00274 
00275 
00276    //+> Zoff
00277 
00278    //=========================================================
00286    int SetZoff(const double ZoffIn, bool bndchk=true)
00287    {
00288       AltOrZoff = ZoffIn;
00289       return(CIGI_SUCCESS);
00290    }
00291 
00292    //=========================================================
00295    double GetZoff(void) const { return(AltOrZoff); }
00296 
00297 
00298    //+> Red
00299 
00300    //=========================================================
00308    int SetRed(const Cigi_uint8 RedIn, bool bndchk=true)
00309    {
00310       Red = RedIn;
00311       return(CIGI_SUCCESS);
00312    }
00313 
00314    //=========================================================
00317    Cigi_uint8 GetRed(void) const { return(Red); }
00318 
00319 
00320    //+> Green
00321 
00322    //=========================================================
00330    int SetGreen(const Cigi_uint8 GreenIn, bool bndchk=true)
00331    {
00332       Green = GreenIn;
00333       return(CIGI_SUCCESS);
00334    }
00335 
00336    //=========================================================
00339    Cigi_uint8 GetGreen(void) const { return(Green); }
00340 
00341 
00342    //+> Blue
00343 
00344    //=========================================================
00352    int SetBlue(const Cigi_uint8 BlueIn, bool bndchk=true)
00353    {
00354       Blue = BlueIn;
00355       return(CIGI_SUCCESS);
00356    }
00357 
00358    //=========================================================
00361    Cigi_uint8 GetBlue(void) const { return(Blue); }
00362 
00363 
00364    //+> Alpha
00365 
00366    //=========================================================
00374    int SetAlpha(const Cigi_uint8 AlphaIn, bool bndchk=true)
00375    {
00376       Alpha = AlphaIn;
00377       return(CIGI_SUCCESS);
00378    }
00379 
00380    //=========================================================
00383    Cigi_uint8 GetAlpha(void) const { return(Alpha); }
00384 
00385 
00386    //+> Material
00387 
00388    //=========================================================
00395    int SetMaterial(const Cigi_uint32 MaterialIn, bool bndchk=true)
00396    {
00397       Material = MaterialIn;
00398       return(CIGI_SUCCESS);
00399    }
00400 
00401    //=========================================================
00404    Cigi_uint32 GetMaterial(void) const { return(Material); }
00405 
00406 
00407    //+> NormalAz
00408 
00409    //=========================================================
00417    int SetNormalAz(const float NormalAzIn, bool bndchk=true);
00418 
00419    //=========================================================
00422    float GetNormalAz(void) const { return(NormalAz); }
00423 
00424 
00425    //+> NormalEl
00426 
00427    //=========================================================
00435    int SetNormalEl(const float NormalElIn, bool bndchk=true);
00436 
00437    //=========================================================
00440    float GetNormalEl(void) const { return(NormalEl); }
00441 
00442 
00443 
00444 };
00445 
00446 #endif // #if !defined(_CIGI_LOS_XRESP_V3_INCLUDED_)

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