00001
00051 #if !defined(_CIGI_LOS_VECT_REQ_V2_INCLUDED_)
00052 #define _CIGI_LOS_VECT_REQ_V2_INCLUDED_
00053
00054 #include "CigiBaseLosVectReq.h"
00055
00056
00057
00058 class CIGI_SPEC CigiLosVectReqV2 : public CigiBaseLosVectReq
00059 {
00060
00061 public:
00062
00063
00064
00065
00068 CigiLosVectReqV2();
00069
00070
00073 virtual ~CigiLosVectReqV2();
00074
00075
00076
00077
00078
00089 virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00090
00091
00101 virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00102
00103
00104
00105
00106
00107
00108
00109
00116 int SetVectAz(const float VectAzIn, bool bndchk=true);
00117
00118
00121 float GetVectAz(void)
00122 {
00123 if(VectAz < 0.0f)
00124 VectAz += 360.0f;
00125
00126 return(VectAz);
00127 }
00128
00129
00130
00131
00132
00140 int SetMinRange(const float MinRangeIn, bool bndchk=true)
00141 {
00142 MinRange = MinRangeIn;
00143 return(CIGI_SUCCESS);
00144 }
00145
00146
00149 float GetMinRange(void) const { return(MinRange); }
00150
00151
00152
00153 };
00154
00155 #endif // #if !defined(_CIGI_LOS_VECT_REQ_V2_INCLUDED_)