00001
00054 #if !defined(_CIGI_LOS_VECT_REQ_V3_INCLUDED_)
00055 #define _CIGI_LOS_VECT_REQ_V3_INCLUDED_
00056
00057 #include "CigiBaseLosVectReq.h"
00058
00059
00060
00061 class CIGI_SPEC CigiLosVectReqV3 : public CigiBaseLosVectReq
00062 {
00063
00064 public:
00065
00066
00067
00068
00071 CigiLosVectReqV3();
00072
00073
00076 virtual ~CigiLosVectReqV3();
00077
00078
00079
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
00109
00110
00111
00112
00122 int SetReqType(const ReqTypeGrp ReqTypeIn, bool bndchk=true);
00123
00124
00127 ReqTypeGrp GetReqType(void) const { return(ReqType); }
00128
00129
00130
00131
00132
00142 int SetSrcCoordSys(const CoordSysGrp SrcCoordSysIn, bool bndchk=true);
00143
00144
00147 CoordSysGrp GetSrcCoordSys(void) const { return(SrcCoordSys); }
00148
00149
00150
00151
00152
00162 int SetResponseCoordSys(const CoordSysGrp ResponseCoordSysIn, bool bndchk=true);
00163
00164
00167 CoordSysGrp GetResponseCoordSys(void) const { return(ResponseCoordSys); }
00168
00169
00170
00171
00172
00180 int SetAlphaThresh(const Cigi_uint8 AlphaThreshIn, bool bndchk=true)
00181 {
00182 AlphaThresh = AlphaThreshIn;
00183 return(CIGI_SUCCESS);
00184 }
00185
00186
00189 Cigi_uint8 GetAlphaThresh(void) const { return(AlphaThresh); }
00190
00191
00192
00193
00194
00201 int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
00202 {
00203 EntityID = EntityIDIn;
00204 return(CIGI_SUCCESS);
00205 }
00206
00207
00210 Cigi_uint16 GetEntityID(void) const { return(EntityID); }
00211
00212
00213
00214
00215
00222 int SetVectAz(const float VectAzIn, bool bndchk=true);
00223
00224
00227 float GetVectAz(void)
00228 {
00229 if(VectAz > 180.0f)
00230 VectAz -= 360.0f;
00231
00232 return(VectAz);
00233 }
00234
00235
00236
00237
00238
00246 int SetMinRange(const float MinRangeIn, bool bndchk=true)
00247 {
00248 MinRange = MinRangeIn;
00249 return(CIGI_SUCCESS);
00250 }
00251
00252
00255 float GetMinRange(void) const { return(MinRange); }
00256
00257
00258
00259
00260
00268 int SetSrcXoff(const double SrcXoffIn, bool bndchk=true)
00269 {
00270 SrcXLat = SrcXoffIn;
00271 return(CIGI_SUCCESS);
00272 }
00273
00274
00277 double GetSrcXoff(void) const { return(SrcXLat); }
00278
00279
00280
00281
00282
00290 int SetSrcYoff(const double SrcYoffIn, bool bndchk=true)
00291 {
00292 SrcYLon = SrcYoffIn;
00293 return(CIGI_SUCCESS);
00294 }
00295
00296
00299 double GetSrcYoff(void) const { return(SrcYLon); }
00300
00301
00302
00303
00304
00312 int SetSrcZoff(const double SrcZoffIn, bool bndchk=true)
00313 {
00314 SrcZAlt = SrcZoffIn;
00315 return(CIGI_SUCCESS);
00316 }
00317
00318
00321 double GetSrcZoff(void) const { return(SrcZAlt); }
00322
00323
00324
00325
00326
00333 int SetMask(const Cigi_uint32 MaskIn, bool bndchk=true)
00334 {
00335 Mask = MaskIn;
00336 return(CIGI_SUCCESS);
00337 }
00338
00339
00342 Cigi_uint32 GetMask(void) const { return(Mask); }
00343
00344
00345
00346 };
00347
00348 #endif // #if !defined(_CIGI_LOS_VECT_REQ_V3_INCLUDED_)