1 #ifndef INC_AIRPLANEEVENT_H_
2 #define INC_AIRPLANEEVENT_H_
5 #include "utl/CoordinateSystem.h"
7 #include "utl/UTMPoint.h"
8 #include "utl/TimeStamp.h"
10 #include "atm/ProfileResult.h"
15 namespace RdAirplane {
89 static double _getAltitudeFromPressure(
const atm::ProfileResult& pProfileResult,
double pPressure,
double pLowerHeight,
double pUpperHeight,
double pPressureTreshold,
unsigned int pRecursionDepth,
unsigned int pMaxRecursionDepth);
const utl::UTMPoint & getUTMCoordinatesFromADS_B() const
AltitudeType _altitudeType_
static std::vector< bool > _binaryFromHexString(const std::string &pHexString)
std::vector< bool > _ads_bMessageBinary_
bool ShouldBeFilteredOut() const
Class to hold and convert a point in geodetic coordinates.
bool HasGPSAltitude() const
static const unsigned int ADS_B_DATA_BIT_OFFSET
double _manuallyCorrectedPressureAltitude_
static int _intFromBoolVector(const std::vector< bool > &pVector)
bool operator()(Ads_bEvent *pLHS, Ads_bEvent *pRHS)
Ads_bEvent(const utl::TimeStamp &pCaptureTime, const utl::UTMPoint &pCoordinates, const std::string &pAds_bMessageAsHex, Flight *pFlight)
utl::UTMPoint * _coordinatesGPSAltitude_
utl::UTMPoint * _coordinatesManuallyCorrectedPressureAltitude_
utl::UTMPoint * _coordinatesGDASCorrectedPressureAltitude_
utl::TimeStamp _captureTime_
A TimeStamp holds GPS second and nanosecond for some event.
Class describing the Atmospheric profile.
const utl::UTMPoint & getCoordinates() const
double _GDAScorrectedPressureAltitude_
AltitudeType getAltitudeType() const
DISALLOW_COPY_AND_ASSIGN(Ads_bEvent)
static double _getAltitudeFromPressure(const atm::ProfileResult &pProfileResult, double pPressure, double pLowerHeight, double pUpperHeight, double pPressureTreshold, unsigned int pRecursionDepth, unsigned int pMaxRecursionDepth)
bool _decodeAds_bMessage()
A TimeInterval is used to represent time elapsed between two events.
const utl::TimeStamp & getCaptureTime() const
const Flight & getFlight() const
double getAltitude(AltitudeType pAltitudeType) const
double _pressureAltitude_
static utl::TimeInterval MAX_TIME_SPAN_BETWEEN_ADS_B_EVENT_AND_DETECTOR_TIME
static std::vector< bool > _binaryFromHexChar(const char &pHexChar)
utl::UTMPoint * _coordinatesPressureAltitude_
bool operator<(const Ads_bEvent &pOther) const
utl::UTMPoint _coordinatesFromAds_b_