CigiSensorXRespV3.h

Go to the documentation of this file.
00001 
00050 #if !defined(_CIGI_SENSOR_XRESP_V3_INCLUDED_)
00051 #define _CIGI_SENSOR_XRESP_V3_INCLUDED_
00052 
00053 #include "CigiBaseSensorResp.h"
00054 
00055 
00056 
00057 class CIGI_SPEC CigiSensorXRespV3 : public CigiBaseSensorResp
00058 {
00059 
00060 public:
00061 
00062    //==> Management
00063 
00064    //=========================================================
00067    CigiSensorXRespV3();
00068 
00069    //=========================================================
00072    virtual ~CigiSensorXRespV3();
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    //=========================================================
00114         virtual int GetCnvt(CigiVersionID &CnvtVersion,
00115                        CigiCnvtInfoType::Type &CnvtInfo);
00116 
00117 
00118 
00119    //==> Accessing Member Variable Values functions
00120 
00121    //+> ViewID
00122 
00123    //=========================================================
00130    int SetViewID(const Cigi_uint16 ViewIDIn, bool bndchk=true)
00131    {
00132       ViewID = ViewIDIn;
00133       return(CIGI_SUCCESS);
00134    }
00135 
00136    //=========================================================
00139    Cigi_uint16 GetViewID(void) const { return(ViewID); }
00140 
00141 
00142    //+> EntityTgt
00143 
00144    //=========================================================
00151    int SetEntityTgt(const bool EntityTgtIn, bool bndchk=true)
00152    {
00153       EntityTgt = EntityTgtIn;
00154       return(CIGI_SUCCESS);
00155    }
00156 
00157    //=========================================================
00160    bool GetEntityTgt(void) const { return(EntityTgt); }
00161 
00162 
00163    //+> EntityID
00164 
00165    //=========================================================
00172    int SetEntityID(const Cigi_uint16 EntityIDIn, bool bndchk=true)
00173    {
00174       EntityID = EntityIDIn;
00175       return(CIGI_SUCCESS);
00176    }
00177 
00178    //=========================================================
00181    Cigi_uint16 GetEntityID(void) const { return(EntityID); }
00182 
00183 
00184    //+> FrameCntr
00185 
00186    //=========================================================
00193    int SetFrameCntr(const Cigi_uint32 FrameCntrIn, bool bndchk=true)
00194    {
00195       FrameCntr = FrameCntrIn;
00196       return(CIGI_SUCCESS);
00197    }
00198 
00199    //=========================================================
00202    Cigi_uint32 GetFrameCntr(void) const { return(FrameCntr); }
00203 
00204 
00205    //+> TrackPntLat
00206 
00207    //=========================================================
00214    int SetTrackPntLat(const double TrackPntLatIn, bool bndchk=true);
00215 
00216    //=========================================================
00219    double GetTrackPntLat(void) const { return(TrackPntLat); }
00220 
00221 
00222    //+> TrackPntLon
00223 
00224    //=========================================================
00231    int SetTrackPntLon(const double TrackPntLonIn, bool bndchk=true);
00232 
00233    //=========================================================
00236    double GetTrackPntLon(void) const { return(TrackPntLon); }
00237 
00238 
00239    //+> TrackPntAlt
00240 
00241    //=========================================================
00248    int SetTrackPntAlt(const double TrackPntAltIn, bool bndchk=true)
00249    {
00250       TrackPntAlt = TrackPntAltIn;
00251       return(CIGI_SUCCESS);
00252    }
00253 
00254    //=========================================================
00257    double GetTrackPntAlt(void) const { return(TrackPntAlt); }
00258 
00259 
00260 
00261 };
00262 
00263 #endif // #if !defined(_CIGI_SENSOR_XRESP_V3_INCLUDED_)

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