CigiLosVectReqV1.h

Go to the documentation of this file.
00001 
00051 #if !defined(_CIGI_LOS_VECT_REQ_V1_INCLUDED_)
00052 #define _CIGI_LOS_VECT_REQ_V1_INCLUDED_
00053 
00054 #include "CigiBaseLosVectReq.h"
00055 
00056 
00057 class CIGI_SPEC CigiLosVectReqV1 : public CigiBaseLosVectReq
00058 {
00059 
00060 public:
00061 
00062    //==> Management
00063 
00064    //=========================================================
00067    CigiLosVectReqV1();
00068 
00069    //=========================================================
00072    virtual ~CigiLosVectReqV1();
00073 
00074 
00075    //==> Buffer Packing/Unpacking
00076 
00077    //=========================================================
00088    virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
00089 
00090    //=========================================================
00100    virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
00101 
00102 
00103 
00104    //==> Accessing Member Variable Values functions
00105 
00106    //+> VectAz
00107 
00108    //=========================================================
00115    int SetVectAz(const float VectAzIn, bool bndchk=true);
00116 
00117    //=========================================================
00120    float GetVectAz(void)
00121    {
00122       if(VectAz < 0.0f)
00123          VectAz += 360.0f;
00124 
00125       return(VectAz);
00126    }
00127 
00128 
00129 
00130 };
00131 
00132 #endif // #if !defined(_CIGI_LOS_VECT_REQ_V1_INCLUDED_)

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