CigiLosVectReqV3_2.h

Go to the documentation of this file.
00001 
00048 #if !defined(_CIGI_LOS_VECT_REQ_V3_2_INCLUDED_)
00049 #define _CIGI_LOS_VECT_REQ_V3_2_INCLUDED_
00050 
00051 #include "CigiBaseLosVectReq.h"
00052 
00053 
00054 
00055 class CIGI_SPEC CigiLosVectReqV3_2 : public CigiBaseLosVectReq
00056 {
00057 
00058 public:
00059 
00060    //==> Management
00061 
00062    //=========================================================
00065    CigiLosVectReqV3_2();
00066 
00067    //=========================================================
00070    virtual ~CigiLosVectReqV3_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    //+> ResponseCoordSys
00145 
00146    //=========================================================
00156    int SetResponseCoordSys(const CoordSysGrp ResponseCoordSysIn, bool bndchk=true);
00157 
00158    //=========================================================
00161    CoordSysGrp GetResponseCoordSys(void) const { return(ResponseCoordSys); }
00162 
00163 
00164    //+> AlphaThresh
00165 
00166    //=========================================================
00174    int SetAlphaThresh(const Cigi_uint8 AlphaThreshIn, bool bndchk=true)
00175    {
00176       AlphaThresh = AlphaThreshIn;
00177       return(CIGI_SUCCESS);
00178    }
00179 
00180    //=========================================================
00183    Cigi_uint8 GetAlphaThresh(void) const { return(AlphaThresh); }
00184 
00185 
00186    //+> EntityID
00187 
00188    //=========================================================
00195    int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
00196    {
00197       EntityID = EntityIDIn;
00198       return(CIGI_SUCCESS);
00199    }
00200 
00201    //=========================================================
00204    Cigi_uint16 GetEntityID(void) const { return(EntityID); }
00205 
00206 
00207    //+> VectAz
00208 
00209    //=========================================================
00216    int SetVectAz(const float VectAzIn, bool bndchk=true);
00217 
00218    //=========================================================
00221    float GetVectAz(void)
00222    {
00223       if(VectAz > 180.0f)
00224          VectAz -= 360.0f;
00225 
00226       return(VectAz);
00227    }
00228 
00229 
00230    //+> MinRange
00231 
00232    //=========================================================
00240    int SetMinRange(const float MinRangeIn, bool bndchk=true)
00241    {
00242       MinRange = MinRangeIn;
00243       return(CIGI_SUCCESS);
00244    }
00245 
00246    //=========================================================
00249    float GetMinRange(void) const { return(MinRange); }
00250 
00251 
00252    //+> SrcXoff
00253 
00254    //=========================================================
00262    int SetSrcXoff(const double SrcXoffIn, bool bndchk=true)
00263    {
00264       SrcXLat = SrcXoffIn;
00265       return(CIGI_SUCCESS);
00266    }
00267 
00268    //=========================================================
00271    double GetSrcXoff(void) const { return(SrcXLat); }
00272 
00273 
00274    //+> SrcYoff
00275 
00276    //=========================================================
00284    int SetSrcYoff(const double SrcYoffIn, bool bndchk=true)
00285    {
00286       SrcYLon = SrcYoffIn;
00287       return(CIGI_SUCCESS);
00288    }
00289 
00290    //=========================================================
00293    double GetSrcYoff(void) const { return(SrcYLon); }
00294 
00295 
00296    //+> SrcZoff
00297 
00298    //=========================================================
00306    int SetSrcZoff(const double SrcZoffIn, bool bndchk=true)
00307    {
00308       SrcZAlt = SrcZoffIn;
00309       return(CIGI_SUCCESS);
00310    }
00311 
00312    //=========================================================
00315    double GetSrcZoff(void) const { return(SrcZAlt); }
00316 
00317 
00318    //+> Mask
00319 
00320    //=========================================================
00327    int SetMask(const Cigi_uint32 MaskIn, bool bndchk=true)
00328    {
00329       Mask = MaskIn;
00330       return(CIGI_SUCCESS);
00331    }
00332 
00333    //=========================================================
00336    Cigi_uint32 GetMask(void) const { return(Mask); }
00337 
00338 
00339    //+> UpdatePeriod
00340 
00341    //=========================================================
00350    int SetUpdatePeriod(const Cigi_uint8 UpdatePeriodIn, bool bndchk=true)
00351    {
00352       UpdatePeriod = UpdatePeriodIn;
00353       return(CIGI_SUCCESS);
00354    }
00355 
00356    //=========================================================
00361    Cigi_uint8 GetUpdatePeriod(void) const { return(UpdatePeriod); }
00362 
00363 
00364 
00365 };
00366 
00367 #endif // #if !defined(_CIGI_LOS_VECT_REQ_V3_2_INCLUDED_)

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