Qt Virtual Chart Table (QVCT)
CDeviceDataDop Class Reference

Dilution-of-Precision (DOP) data. More...

#include <devices/data/CDeviceDataDop.hpp>

Inheritance diagram for CDeviceDataDop:
CDeviceDataFix CDeviceDataSkyView CVesselPointDevice

Public Member Functions

 CDeviceDataDop (double _fdDopHorizontal=UNDEFINED_VALUE, double _fdDopVertical=UNDEFINED_VALUE, double _fdDopTime=UNDEFINED_VALUE)
 
virtual ~CDeviceDataDop ()
 
void setDop (const CDeviceDataDop &_roDeviceDataDop)
 Sets (copy) the Dilution-of-Precision (HDOP, VDOP, TDOP) values from other DOP data. More...
 
void setDopPosition (double _fdDopHorizontal, double _fdDopVertical=UNDEFINED_VALUE)
 Sets the position Dilution-of-Precision (HDOP, VDOP) More...
 
void setDopTime (double _fdDopTime)
 Sets the time Dilution-of-Precision (TDOP) More...
 
double getDopTime () const
 Returns the time Dilution-of-Precision (TDOP) More...
 
double getDopHorizontal () const
 Returns the horizontal position Dilution-of-Precision (HDOP) More...
 
double getDopVertical () const
 Returns the vertical position Dilution-of-Precision (VDOP) More...
 
double getDopPosition () const
 Returns the position Dilution-of-Precision (PDOP) More...
 
double getDopGlobal () const
 Returns the global Dilution-of-Precision (GDOP) More...
 
bool operator== (const CDeviceDataDop &_roDeviceDataDop) const
 Equality operator. More...
 
bool operator!= (const CDeviceDataDop &_roDeviceDataDop) const
 Inequality operator. More...
 

Static Public Attributes

static const double UNDEFINED_VALUE = -9999999
 Specific value for an undefined component. More...
 
static const CDeviceDataDop UNDEFINED
 Specific value for undefined DOP data. More...
 

Private Attributes

double fdDopHorizontal
 Horizontal position Dilution-of-Precision (HDOP) More...
 
double fdDopVertical
 Vertical position Dilution-of-Precision (VDOP) More...
 
double fdDopTime
 Time Dilution-of-Precision (TDOP) More...
 

Detailed Description

Dilution-of-Precision (DOP) data.

This class gathers the various Dilution-of-Precision (DOP) values that may be associated with other device data.

Author
Cedric Dufour http://cedric.dufour.name

Definition at line 34 of file CDeviceDataDop.hpp.

Constructor & Destructor Documentation

◆ CDeviceDataDop()

CDeviceDataDop::CDeviceDataDop ( double  _fdDopHorizontal = UNDEFINED_VALUE,
double  _fdDopVertical = UNDEFINED_VALUE,
double  _fdDopTime = UNDEFINED_VALUE 
)

Definition at line 40 of file CDeviceDataDop.cpp.

◆ ~CDeviceDataDop()

virtual CDeviceDataDop::~CDeviceDataDop ( )
inlinevirtual

Definition at line 72 of file CDeviceDataDop.hpp.

Member Function Documentation

◆ setDop()

void CDeviceDataDop::setDop ( const CDeviceDataDop _roDeviceDataDop)

Sets (copy) the Dilution-of-Precision (HDOP, VDOP, TDOP) values from other DOP data.

Definition at line 51 of file CDeviceDataDop.cpp.

◆ setDopPosition()

void CDeviceDataDop::setDopPosition ( double  _fdDopHorizontal,
double  _fdDopVertical = UNDEFINED_VALUE 
)
inline

Sets the position Dilution-of-Precision (HDOP, VDOP)

Definition at line 84 of file CDeviceDataDop.hpp.

◆ setDopTime()

void CDeviceDataDop::setDopTime ( double  _fdDopTime)
inline

Sets the time Dilution-of-Precision (TDOP)

Definition at line 86 of file CDeviceDataDop.hpp.

◆ getDopTime()

double CDeviceDataDop::getDopTime ( ) const
inline

Returns the time Dilution-of-Precision (TDOP)

Definition at line 91 of file CDeviceDataDop.hpp.

◆ getDopHorizontal()

double CDeviceDataDop::getDopHorizontal ( ) const
inline

Returns the horizontal position Dilution-of-Precision (HDOP)

Definition at line 93 of file CDeviceDataDop.hpp.

◆ getDopVertical()

double CDeviceDataDop::getDopVertical ( ) const
inline

Returns the vertical position Dilution-of-Precision (VDOP)

Definition at line 95 of file CDeviceDataDop.hpp.

◆ getDopPosition()

double CDeviceDataDop::getDopPosition ( ) const

Returns the position Dilution-of-Precision (PDOP)

Definition at line 58 of file CDeviceDataDop.cpp.

◆ getDopGlobal()

double CDeviceDataDop::getDopGlobal ( ) const

Returns the global Dilution-of-Precision (GDOP)

Definition at line 65 of file CDeviceDataDop.cpp.

◆ operator==()

bool CDeviceDataDop::operator== ( const CDeviceDataDop _roDeviceDataDop) const

Equality operator.

This operator returns true if all components match

Definition at line 76 of file CDeviceDataDop.cpp.

◆ operator!=()

bool CDeviceDataDop::operator!= ( const CDeviceDataDop _roDeviceDataDop) const

Inequality operator.

This operator returns true if any components mismatch

Definition at line 83 of file CDeviceDataDop.cpp.

Member Data Documentation

◆ UNDEFINED_VALUE

const double CDeviceDataDop::UNDEFINED_VALUE = -9999999
static

Specific value for an undefined component.

Definition at line 43 of file CDeviceDataDop.hpp.

◆ UNDEFINED

const CDeviceDataDop CDeviceDataDop::UNDEFINED
static

Specific value for undefined DOP data.

Definition at line 45 of file CDeviceDataDop.hpp.

◆ fdDopHorizontal

double CDeviceDataDop::fdDopHorizontal
private

Horizontal position Dilution-of-Precision (HDOP)

See also
setDopPosition(), getDopHorizontal()

Definition at line 55 of file CDeviceDataDop.hpp.

◆ fdDopVertical

double CDeviceDataDop::fdDopVertical
private

Vertical position Dilution-of-Precision (VDOP)

See also
setDopPosition(), getDopVertical()

Definition at line 58 of file CDeviceDataDop.hpp.

◆ fdDopTime

double CDeviceDataDop::fdDopTime
private

Time Dilution-of-Precision (TDOP)

See also
setDopTime(), getDopTime()

Definition at line 61 of file CDeviceDataDop.hpp.


The documentation for this class was generated from the following files: