CigiLosSegReqV3.h

Go to the documentation of this file.
00001 
00054 #if !defined(_CIGI_LOS_SEG_REQ_V3_INCLUDED_)
00055 #define _CIGI_LOS_SEG_REQ_V3_INCLUDED_
00056 
00057 #include "CigiBaseLosSegReq.h"
00058 
00059 
00060 
00061 class CIGI_SPEC CigiLosSegReqV3 : public CigiBaseLosSegReq
00062 {
00063 
00064 public:
00065 
00066    //==> Management
00067 
00068    //=========================================================
00071    CigiLosSegReqV3();
00072 
00073    //=========================================================
00076    virtual ~CigiLosSegReqV3();
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    //+> ReqType
00111 
00112    //=========================================================
00122    int SetReqType(const ReqTypeGrp ReqTypeIn, bool bndchk=true);
00123 
00124    //=========================================================
00127    ReqTypeGrp GetReqType(void) const { return(ReqType); }
00128 
00129 
00130    //+> SrcCoordSys
00131 
00132    //=========================================================
00142    int SetSrcCoordSys(const CoordSysGrp SrcCoordSysIn, bool bndchk=true);
00143 
00144    //=========================================================
00147    CoordSysGrp GetSrcCoordSys(void) const { return(SrcCoordSys); }
00148 
00149 
00150    //+> DstCoordSys
00151 
00152    //=========================================================
00162    int SetDstCoordSys(const CoordSysGrp DstCoordSysIn, bool bndchk=true);
00163 
00164    //=========================================================
00167    CoordSysGrp GetDstCoordSys(void) const { return(DstCoordSys); }
00168 
00169 
00170    //+> ResponseCoordSys
00171 
00172    //=========================================================
00182    int SetResponseCoordSys(const CoordSysGrp ResponseCoordSysIn, bool bndchk=true);
00183 
00184    //=========================================================
00187    CoordSysGrp GetResponseCoordSys(void) const { return(ResponseCoordSys); }
00188 
00189 
00190    //+> AlphaThresh
00191 
00192    //=========================================================
00200    int SetAlphaThresh(const Cigi_uint8 AlphaThreshIn, bool bndchk=true)
00201    {
00202       AlphaThresh = AlphaThreshIn;
00203       return(CIGI_SUCCESS);
00204    }
00205 
00206    //=========================================================
00209    Cigi_uint8 GetAlphaThresh(void) const { return(AlphaThresh); }
00210 
00211 
00212    //+> EntityID
00213 
00214    //=========================================================
00223    int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
00224    {
00225       EntityID = EntityIDIn;
00226       return(CIGI_SUCCESS);
00227    }
00228 
00229    //=========================================================
00232    Cigi_uint16 GetEntityID(void) const { return(EntityID); }
00233 
00234 
00235    //+> SrcXoff
00236 
00237    //=========================================================
00245    int SetSrcXoff(const double SrcXoffIn, bool bndchk=true)
00246    {
00247       SrcXLat = SrcXoffIn;
00248       return(CIGI_SUCCESS);
00249    }
00250 
00251    //=========================================================
00254    double GetSrcXoff(void) const { return(SrcXLat); }
00255 
00256 
00257    //+> SrcYoff
00258 
00259    //=========================================================
00267    int SetSrcYoff(const double SrcYoffIn, bool bndchk=true)
00268    {
00269       SrcYLon = SrcYoffIn;
00270       return(CIGI_SUCCESS);
00271    }
00272 
00273    //=========================================================
00276    double GetSrcYoff(void) const { return(SrcYLon); }
00277 
00278 
00279    //+> SrcZoff
00280 
00281    //=========================================================
00289    int SetSrcZoff(const double SrcZoffIn, bool bndchk=true)
00290    {
00291       SrcZAlt = SrcZoffIn;
00292       return(CIGI_SUCCESS);
00293    }
00294 
00295    //=========================================================
00298    double GetSrcZoff(void) const { return(SrcZAlt); }
00299 
00300 
00301    //+> DstXoff
00302 
00303    //=========================================================
00311    int SetDstXoff(const double DstXoffIn, bool bndchk=true)
00312    {
00313       DstXLat = DstXoffIn;
00314       return(CIGI_SUCCESS);
00315    }
00316 
00317    //=========================================================
00320    double GetDstXoff(void) const { return(DstXLat); }
00321 
00322 
00323    //+> DstYoff
00324 
00325    //=========================================================
00333    int SetDstYoff(const double DstYoffIn, bool bndchk=true)
00334    {
00335       DstYLon = DstYoffIn;
00336       return(CIGI_SUCCESS);
00337    }
00338 
00339    //=========================================================
00342    double GetDstYoff(void) const { return(DstYLon); }
00343 
00344 
00345    //+> DstZoff
00346 
00347    //=========================================================
00355    int SetDstZoff(const double DstZoffIn, bool bndchk=true)
00356    {
00357       DstZAlt = DstZoffIn;
00358       return(CIGI_SUCCESS);
00359    }
00360 
00361    //=========================================================
00364    double GetDstZoff(void) const { return(DstZAlt); }
00365 
00366 
00367    //+> Mask
00368 
00369    //=========================================================
00377    int SetMask(const Cigi_uint32 MaskIn, bool bndchk=true)
00378    {
00379       Mask = MaskIn;
00380       return(CIGI_SUCCESS);
00381    }
00382 
00383    //=========================================================
00386    Cigi_uint32 GetMask(void) const { return(Mask); }
00387 
00388 
00389 
00390 };
00391 
00392 #endif // #if !defined(_CIGI_LOS_SEG_REQ_V3_INCLUDED_)

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