CigiLosSegReqV3_2.h

Go to the documentation of this file.
00001 
00048 #if !defined(_CIGI_LOS_SEG_REQ_V3_2_INCLUDED_)
00049 #define _CIGI_LOS_SEG_REQ_V3_2_INCLUDED_
00050 
00051 #include "CigiBaseLosSegReq.h"
00052 
00053 
00054 
00055 class CIGI_SPEC CigiLosSegReqV3_2 : public CigiBaseLosSegReq
00056 {
00057 
00058 public:
00059 
00060    //==> Management
00061 
00062    //=========================================================
00065    CigiLosSegReqV3_2();
00066 
00067    //=========================================================
00070    virtual ~CigiLosSegReqV3_2();
00071 
00072 
00073    //==> Buffer Packing/Unpacking
00074 
00075    //=========================================================
00086    virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00087 
00088    //=========================================================
00098    virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00099 
00100 
00101 
00102    //==> Accessing Member Variable Values functions
00103 
00104    //+> ReqType
00105 
00106    //=========================================================
00116    int SetReqType(const ReqTypeGrp ReqTypeIn, bool bndchk=true);
00117 
00118    //=========================================================
00121    ReqTypeGrp GetReqType(void) const { return(ReqType); }
00122 
00123 
00124    //+> SrcCoordSys
00125 
00126    //=========================================================
00136    int SetSrcCoordSys(const CoordSysGrp SrcCoordSysIn, bool bndchk=true);
00137 
00138    //=========================================================
00141    CoordSysGrp GetSrcCoordSys(void) const { return(SrcCoordSys); }
00142 
00143 
00144    //+> DstCoordSys
00145 
00146    //=========================================================
00156    int SetDstCoordSys(const CoordSysGrp DstCoordSysIn, bool bndchk=true);
00157 
00158    //=========================================================
00161    CoordSysGrp GetDstCoordSys(void) const { return(DstCoordSys); }
00162 
00163 
00164    //+> ResponseCoordSys
00165 
00166    //=========================================================
00176    int SetResponseCoordSys(const CoordSysGrp ResponseCoordSysIn, bool bndchk=true);
00177 
00178    //=========================================================
00181    CoordSysGrp GetResponseCoordSys(void) const { return(ResponseCoordSys); }
00182 
00183 
00184    //+> DestEntityIDValid
00185 
00186    //=========================================================
00194    int SetDestEntityIDValid(const bool DestEntityIDValidIn, bool bndchk=true)
00195    {
00196       DestEntityIDValid = DestEntityIDValidIn;
00197       return(CIGI_SUCCESS);
00198    }
00199 
00200    //=========================================================
00203    bool GetDestEntityIDValid(void) const { return(DestEntityIDValid); }
00204 
00205 
00206    //+> AlphaThresh
00207 
00208    //=========================================================
00216    int SetAlphaThresh(const Cigi_uint8 AlphaThreshIn, bool bndchk=true)
00217    {
00218       AlphaThresh = AlphaThreshIn;
00219       return(CIGI_SUCCESS);
00220    }
00221 
00222    //=========================================================
00225    Cigi_uint8 GetAlphaThresh(void) const { return(AlphaThresh); }
00226 
00227 
00228    //+> EntityID
00229 
00230    //=========================================================
00239    int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
00240    {
00241       EntityID = EntityIDIn;
00242       return(CIGI_SUCCESS);
00243    }
00244 
00245    //=========================================================
00248    Cigi_uint16 GetEntityID(void) const { return(EntityID); }
00249 
00250 
00251    //+> SrcXoff
00252 
00253    //=========================================================
00261    int SetSrcXoff(const double SrcXoffIn, bool bndchk=true)
00262    {
00263       SrcXLat = SrcXoffIn;
00264       return(CIGI_SUCCESS);
00265    }
00266 
00267    //=========================================================
00270    double GetSrcXoff(void) const { return(SrcXLat); }
00271 
00272 
00273    //+> SrcYoff
00274 
00275    //=========================================================
00283    int SetSrcYoff(const double SrcYoffIn, bool bndchk=true)
00284    {
00285       SrcYLon = SrcYoffIn;
00286       return(CIGI_SUCCESS);
00287    }
00288 
00289    //=========================================================
00292    double GetSrcYoff(void) const { return(SrcYLon); }
00293 
00294 
00295    //+> SrcZoff
00296 
00297    //=========================================================
00305    int SetSrcZoff(const double SrcZoffIn, bool bndchk=true)
00306    {
00307       SrcZAlt = SrcZoffIn;
00308       return(CIGI_SUCCESS);
00309    }
00310 
00311    //=========================================================
00314    double GetSrcZoff(void) const { return(SrcZAlt); }
00315 
00316 
00317    //+> DstXoff
00318 
00319    //=========================================================
00327    int SetDstXoff(const double DstXoffIn, bool bndchk=true)
00328    {
00329       DstXLat = DstXoffIn;
00330       return(CIGI_SUCCESS);
00331    }
00332 
00333    //=========================================================
00336    double GetDstXoff(void) const { return(DstXLat); }
00337 
00338 
00339    //+> DstYoff
00340 
00341    //=========================================================
00349    int SetDstYoff(const double DstYoffIn, bool bndchk=true)
00350    {
00351       DstYLon = DstYoffIn;
00352       return(CIGI_SUCCESS);
00353    }
00354 
00355    //=========================================================
00358    double GetDstYoff(void) const { return(DstYLon); }
00359 
00360 
00361    //+> DstZoff
00362 
00363    //=========================================================
00371    int SetDstZoff(const double DstZoffIn, bool bndchk=true)
00372    {
00373       DstZAlt = DstZoffIn;
00374       return(CIGI_SUCCESS);
00375    }
00376 
00377    //=========================================================
00380    double GetDstZoff(void) const { return(DstZAlt); }
00381 
00382 
00383    //+> Mask
00384 
00385    //=========================================================
00393    int SetMask(const Cigi_uint32 MaskIn, bool bndchk=true)
00394    {
00395       Mask = MaskIn;
00396       return(CIGI_SUCCESS);
00397    }
00398 
00399    //=========================================================
00402    Cigi_uint32 GetMask(void) const { return(Mask); }
00403 
00404 
00405    //+> UpdatePeriod
00406 
00407    //=========================================================
00416    int SetUpdatePeriod(const Cigi_uint8 UpdatePeriodIn, bool bndchk=true)
00417    {
00418       UpdatePeriod = UpdatePeriodIn;
00419       return(CIGI_SUCCESS);
00420    }
00421 
00422    //=========================================================
00427    Cigi_uint8 GetUpdatePeriod(void) const { return(UpdatePeriod); }
00428 
00429 
00430    //+> DestEntityID
00431 
00432    //=========================================================
00439    int SetDestEntityID(const Cigi_uint16 DestEntityIDIn, bool bndchk=true)
00440    {
00441       DestEntityID = DestEntityIDIn;
00442       return(CIGI_SUCCESS);
00443    }
00444 
00445    //=========================================================
00448    Cigi_uint16 GetDestEntityID(void) const { return(DestEntityID); }
00449 
00450 
00451 
00452 };
00453 
00454 #endif // #if !defined(_CIGI_LOS_SEG_REQ_V3_2_INCLUDED_)

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