Qt Virtual Chart Table (QVCT)
|
Dilution-of-Precision (DOP) data. More...
#include <devices/data/CDeviceDataDop.hpp>
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... | |
Dilution-of-Precision (DOP) data.
This class gathers the various Dilution-of-Precision (DOP) values that may be associated with other device data.
Definition at line 34 of file CDeviceDataDop.hpp.
CDeviceDataDop::CDeviceDataDop | ( | double | _fdDopHorizontal = UNDEFINED_VALUE , |
double | _fdDopVertical = UNDEFINED_VALUE , |
||
double | _fdDopTime = UNDEFINED_VALUE |
||
) |
Definition at line 40 of file CDeviceDataDop.cpp.
|
inlinevirtual |
Definition at line 72 of file CDeviceDataDop.hpp.
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.
|
inline |
Sets the position Dilution-of-Precision (HDOP, VDOP)
Definition at line 84 of file CDeviceDataDop.hpp.
|
inline |
Sets the time Dilution-of-Precision (TDOP)
Definition at line 86 of file CDeviceDataDop.hpp.
|
inline |
Returns the time Dilution-of-Precision (TDOP)
Definition at line 91 of file CDeviceDataDop.hpp.
|
inline |
Returns the horizontal position Dilution-of-Precision (HDOP)
Definition at line 93 of file CDeviceDataDop.hpp.
|
inline |
Returns the vertical position Dilution-of-Precision (VDOP)
Definition at line 95 of file CDeviceDataDop.hpp.
double CDeviceDataDop::getDopPosition | ( | ) | const |
Returns the position Dilution-of-Precision (PDOP)
Definition at line 58 of file CDeviceDataDop.cpp.
double CDeviceDataDop::getDopGlobal | ( | ) | const |
Returns the global Dilution-of-Precision (GDOP)
Definition at line 65 of file CDeviceDataDop.cpp.
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.
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.
|
static |
Specific value for an undefined component.
Definition at line 43 of file CDeviceDataDop.hpp.
|
static |
Specific value for undefined DOP data.
Definition at line 45 of file CDeviceDataDop.hpp.
|
private |
Horizontal position Dilution-of-Precision (HDOP)
Definition at line 55 of file CDeviceDataDop.hpp.
|
private |
Vertical position Dilution-of-Precision (VDOP)
Definition at line 58 of file CDeviceDataDop.hpp.
|
private |
Time Dilution-of-Precision (TDOP)
Definition at line 61 of file CDeviceDataDop.hpp.