Qt Virtual Chart Table (QVCT)
CVesselPointDevice Class Reference

[UI] Vessel device More...

#include <overlays/vessel/device/CVesselPointDevice.hpp>

Inheritance diagram for CVesselPointDevice:
COverlayItem CDeviceDataFix COverlayObject CDeviceDataSource CDataTime CDataPosition CDataCourse CDeviceDataDop

Signals

void signalRefreshContent ()
 Signal emitted when views should refresh this object's corresponding content. More...
 

Public Member Functions

 CVesselPointDevice (const QString &_rqsName, const QString &_rqsSourceName, bool _bDynamic=false)
 
virtual ~CVesselPointDevice ()
 
virtual void serialize (QDataStream &_rqDataStream) const
 Serializes (store) this object's data to binary format. More...
 
virtual void unserialize (QDataStream &_rqDataStream)
 Unserializes (restore) this object's data from binary format. More...
 
virtual COverlayuseOverlay ()
 Returns this object's (base) overlay. More...
 
virtual void draw (const CChart *_poChart, QPainter *_pqPainter)
 Draws this object (itself or its content) More...
 
virtual void showDetail ()
 Displays this object's details (in the appropriate widget/view) More...
 
virtual void showEdit ()
 Displays this object's edit widget/view. More...
 
void setSynchronized (bool _bSynchronizePosition, bool _bSynchronizeElevation, bool _bSynchronizeTime, bool _bSynchronizeGroundBearing, bool _bSynchronizeGroundSpeed, bool _bSynchronizeGroundSpeedVertical, bool _bSynchronizeApparentBearing, bool _bSynchronizeApparentSpeed, bool _bSynchronizeApparentSpeedVertical, bool _bSynchronizeText)
 Sets the synchronizazion flags. More...
 
bool isDynamic ()
 Returns whether the device is dynamically generated. More...
 
bool isDeviceConnected () const
 Returns whether the actual device is connected. More...
 
bool isSynchronizedPosition ()
 Returns whether this device/source is used to synchronize the vessel's position. More...
 
bool isSynchronizedElevation ()
 Returns whether this device/source is used to synchronize the vessel's elevation. More...
 
bool isSynchronizedTime ()
 Returns whether this device/source is used to synchronize the vessel's time. More...
 
bool isSynchronizedGroundBearing ()
 Returns whether this device/source is used to synchronize the vessel's ground bearing. More...
 
bool isSynchronizedGroundSpeed ()
 Returns whether this device/source is used to synchronize the vessel's ground horizontal speed. More...
 
bool isSynchronizedGroundSpeedVertical ()
 Returns whether this device/source is used to synchronize the vessel's ground vertical speed. More...
 
bool isSynchronizedApparentBearing ()
 Returns whether this device/source is used to synchronize the vessel's apparent bearing. More...
 
bool isSynchronizedApparentSpeed ()
 Returns whether this device/source is used to synchronize the vessel's apparent horizontal speed. More...
 
bool isSynchronizedApparentSpeedVertical ()
 Returns whether this device/source is used to synchronize the vessel's apparent vertical speed. More...
 
bool isSynchronizedText ()
 Returns whether this device/source is used to synchronize the vessel's additional textual data string. More...
 
bool connectDevice ()
 Connects to the actual device. More...
 
void disconnectDevice ()
 Disconnects from the actual device. More...
 
void syncDataFix (const CDeviceDataFix &_roDeviceDataFix)
 Synchronizes fix data (sent by device) More...
 
void parseQVCT (const QDomElement &_rqDomElement)
 Retrieves this object's content from the given QVCT source (file) More...
 
void dumpQVCT (QXmlStreamWriter &_rqXmlStreamWriter) const
 Stores this object's content to the given QVCT destination (file) More...
 
- Public Member Functions inherited from COverlayItem
void setMultiSelected (bool _bMultiSelected)
 Sets this item's selection status. More...
 
bool isMultiSelected () const
 Returns this item's selection status. More...
 
- Public Member Functions inherited from COverlayObject
void setName (const QString &_rqsName)
 Sets this object's name. More...
 
QString getName () const
 Returns this object's name. More...
 
QString newChildName (const QString &_rqsName, int _iZeroPrefix=0, bool _bForceSuffix=false) const
 Returns a valid (non-duplicate) name for a new sibling of this object. More...
 
QString newChildName (const QString &_rqsName, int _iZeroPrefix, int _iSuffix) const
 Returns a suffixed (potentially duplicate) name for a new sibling of this object. More...
 
- Public Member Functions inherited from CDeviceDataFix
 CDeviceDataFix (const QString &_rqsSourceName, int _eType=FIX_UNDEFINED, double _fdTime=CDataValidity::UNDEFINED_VALUE)
 
virtual ~CDeviceDataFix ()
 
void setFix (const CDeviceDataFix &_roDeviceDataFix, bool _bCopyTime=true, bool _bCopyPosition=true, bool _bCopyCourse=true, bool _bCopyDop=true)
 Sets (copy) the fix data from another instance. More...
 
void setType (int _eType)
 Sets the fix type. More...
 
void setSources (int _iSourcesSeen, int _iSourcesUsed)
 Sets the sources count (most likely satellites) More...
 
void setErrorTime (double _fdErrorTime)
 Sets the time error, in seconds. More...
 
void setErrorPosition (double _fdErrorHorizontal, double _fdErrorVertical=CDataValidity::UNDEFINED_VALUE)
 Sets the (horizontal and vertical) position error, in meters. More...
 
void setErrorBearing (double _fdErrorBearing)
 Sets the bearing error, in degrees. More...
 
void setErrorSpeed (double _fdErrorSpeed, double _fdErrorSpeedVertical=CDataValidity::UNDEFINED_VALUE)
 Sets the (horizontal and vertical) speed error, in meters per second. More...
 
void setText (const QString &_rqsText)
 Sets the additional textual data string. More...
 
void setCourseFromPosition (bool _bCourseFromPosition)
 Sets whether to use position to compute course. More...
 
int getType () const
 Returns the fix type. More...
 
QString getTypeString () const
 Returns the fix type as a human-friendly string. More...
 
int getSourcesSeen () const
 Returns the seen sources count (most likely satellites) More...
 
int getSourcesUsed () const
 Returns the used sources count (most likely satellites) More...
 
double getErrorTime () const
 Returns the time error, in seconds. More...
 
double getErrorHorizontal () const
 Returns the horizontal position error, in meters. More...
 
double getErrorVertical () const
 Returns the vertical position error, in meters. More...
 
double getErrorBearing () const
 Returns the bearing error, in degrees. More...
 
double getErrorSpeed () const
 Returns the horizontal speed error, in meters per second. More...
 
double getErrorSpeedVertical () const
 Returns the vertical speed error, in meters per second. More...
 
QString getText () const
 Returns the additional textual data string. More...
 
bool isCourseFromPosition () const
 Returns whether position is used to compute course. More...
 
- Public Member Functions inherited from CDeviceDataSource
void setSourceType (EType _eType)
 Sets the source type. More...
 
QString getSourceName () const
 Returns the source name. More...
 
EType getSourceType () const
 Returns the source type. More...
 
- Public Member Functions inherited from CDataTime
 CDataTime (double _fdTime=UNDEFINED_TIME)
 
 CDataTime (const CDataTime &_roDataTime)
 
virtual ~CDataTime ()
 
void setTime (double _fdTime)
 Sets the time, in seconds from Unix epoch. More...
 
void setTime (time_t _tSeconds, long _lNanoSeconds)
 Sets the time, in seconds from Unix epoch, using timespec stanza. More...
 
void setTime (const CDataTime &_roDataTime)
 Copy time from another time object. More...
 
void resetTime ()
 Resets the time (to an undefined Time) More...
 
double getTime () const
 Returns this time's time, in seconds from Unix epoch. More...
 
void serialize (QDataStream &_rqDataStream) const
 Serializes (store) this object's data to binary format. More...
 
void unserialize (QDataStream &_rqDataStream)
 Unserializes (restore) this object's data from binary format. More...
 
bool operator== (const CDataTime &_roTime) const
 Equality operator. More...
 
bool operator!= (const CDataTime &_roTime) const
 Inequality operator. More...
 
- Public Member Functions inherited from CDataPosition
 CDataPosition ()
 
 CDataPosition (double _fdLongitude, double _fdLatitude, double _fdElevation=UNDEFINED_ELEVATION)
 
 CDataPosition (const CDataPosition &_roDataPosition)
 
virtual ~CDataPosition ()
 
void setPosition (double _fdLongitude, double _fdLatitude, double _fdElevation=UNDEFINED_ELEVATION)
 Sets new coordinates. More...
 
void setPosition (const CDataPosition &_roDataPosition)
 Copy coordinates from another position. More...
 
void resetPosition ()
 Resets all coordinates (to an undefined position) More...
 
void setElevation (double _fdElevation)
 Sets the elevation, in meters. More...
 
void resetElevation ()
 Resets the elevation (to an undefined elevation) More...
 
double getLongitude () const
 Returns this position's longitude, in degrees. More...
 
double getLatitude () const
 Returns this position's latitude, in degrees. More...
 
double getElevation () const
 Returns this position's elevation, in meters. More...
 
void serialize (QDataStream &_rqDataStream) const
 Serializes (store) this object's data to binary format. More...
 
void unserialize (QDataStream &_rqDataStream)
 Unserializes (restore) this object's data from binary format. More...
 
bool operator== (const CDataPosition &_roPosition) const
 Equality operator. More...
 
bool operator!= (const CDataPosition &_roPosition) const
 Inequality operator. More...
 
- Public Member Functions inherited from CDataCourse
 CDataCourse ()
 
 CDataCourse (double _fdBearing, double _fdSpeed, double _fdSpeedVertical=UNDEFINED_SPEED)
 
 CDataCourse (const CDataCourse &_roDataCourse)
 
virtual ~CDataCourse ()
 
void setCourse (double _fdBearing, double _fdSpeed, double _fdSpeedVertical=UNDEFINED_SPEED)
 Sets course values. More...
 
void setCourse (const CDataCourse &_roDataCourse)
 Copy values from another course. More...
 
void resetCourse ()
 Resets all values (to an undefined course) More...
 
void setBearing (double _fdBearing)
 Sets this course's bearing, in degrees. More...
 
void resetBearing ()
 Resets this course's bearing. More...
 
void setSpeed (double _fdSpeed, double _fdSpeedVertical=UNDEFINED_SPEED)
 Sets this course's horizontal speed, in meters per second. More...
 
void resetSpeed ()
 Resets this course's horizontal speed. More...
 
void setSpeedVertical (double _fdSpeedVertical)
 Sets this course's vertical speed, in meters per second. More...
 
void resetSpeedVertical ()
 Resets this course's vertical speed. More...
 
double getBearing () const
 Returns this course's bearing, in degrees. More...
 
double getSpeed () const
 Returns this course's horizontal speed, in meters per second. More...
 
double getSpeedVertical () const
 Returns this course's vertical speed, in meters per second. More...
 
void serialize (QDataStream &_rqDataStream) const
 Serializes (store) this object's data to binary format. More...
 
void unserialize (QDataStream &_rqDataStream)
 Unserializes (restore) this object's data from binary format. More...
 
bool operator== (const CDataCourse &_roCourse) const
 Equality operator. More...
 
bool operator!= (const CDataCourse &_roCourse) const
 Inequality operator. More...
 
- Public Member Functions inherited from CDeviceDataDop
 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...
 

Private Slots

void slotDestroyed (QObject *_pqObject)
 Slot to handle object destruction. More...
 
void slotDataFix (const CDeviceDataFix &_roDeviceDataFix)
 Slot to handle fix data (sent by device) More...
 
void slotDataSkyView (const CDeviceDataSkyView &_roDeviceDataSkyView)
 Slot to handle sky view data (sent by device) More...
 

Private Attributes

bool bDynamic
 Dynamic flag (vessel device automatically generated by a dynamic flotilla) More...
 
CDevicepoDevice
 Corresponding device's pointer. More...
 
bool bSynchronizePosition
 [Flag] Use this device/source to synchronize the vessel's position More...
 
bool bSynchronizeElevation
 [Flag] Use this device/source to synchronize the vessel's elevation More...
 
bool bSynchronizeTime
 [Flag] Use this device/source to synchronize the vessel's time More...
 
bool bSynchronizeGroundBearing
 [Flag] Use this device/source to synchronize the vessel's ground bearing More...
 
bool bSynchronizeGroundSpeed
 [Flag] Use this device/source to synchronize the vessel's ground horizontal speed More...
 
bool bSynchronizeGroundSpeedVertical
 [Flag] Use this device/source to synchronize the vessel's ground vertical speed More...
 
bool bSynchronizeApparentBearing
 [Flag] Use this device/source to synchronize the vessel's apparent bearing More...
 
bool bSynchronizeApparentSpeed
 [Flag] Use this device/source to synchronize the vessel's apparent horizontal speed More...
 
bool bSynchronizeApparentSpeedVertical
 [Flag] Use this device/source to synchronize the vessel's apparent vertical speed More...
 
bool bSynchronizeText
 [Flag] Use this device/source to synchronize the vessel's additional textual data string More...
 

Additional Inherited Members

- Public Types inherited from COverlayObject
enum  EType {
  OVERLAY = 1001 , CONTAINER = 1010 , SUBCONTAINER = 1011 , ITEM = 1100 ,
  SUBITEM1 = 1101 , SUBITEM2 = 1102
}
 Overlay object type. More...
 
- Public Types inherited from CDeviceDataFix
enum  EType {
  FIX_NONE = 0 , FIX_2D = 1 , FIX_3D = 2 , FIX_DGPS = 4 ,
  FIX_UNDEFINED = 128
}
 Fix type (2D, 3D, no fix) More...
 
- Public Types inherited from CDeviceDataSource
enum  EType { UNDEFINED , GPS , AIS , SBS }
 Data source type. More...
 
- Static Public Member Functions inherited from CDeviceDataFix
static QString getTypeString (int _eType)
 
- Static Public Member Functions inherited from CDataTime
static bool compareTimeAscending (const CDataTime &_roTime1, const CDataTime &_roTime2)
 Time (ascending sort) comparison operator. More...
 
static bool compareTimeDescending (const CDataTime &_roTime1, const CDataTime &_roTime2)
 Time (descending sort) comparison operator. More...
 
- Static Public Member Functions inherited from CDataPosition
static double distanceGC (const CDataPosition &_roPosition1, const CDataPosition &_roPosition2)
 Returns the WGS84-corrected great-circle distance between two points, in meters. More...
 
static double bearingGC (const CDataPosition &_roPosition1, const CDataPosition &_roPosition2)
 Returns the great-circle (initial) bearing between two points, in degrees. More...
 
static double distanceRL (const CDataPosition &_roPosition1, const CDataPosition &_roPosition2)
 Returns the rhumb-line distance between two points, in meters. More...
 
static double bearingRL (const CDataPosition &_roPosition1, const CDataPosition &_roPosition2)
 Returns the rhumb-line (constant) bearing between two points, in degrees. More...
 
static double length (const CDataPosition &_roPosition1, const CDataPosition &_roPosition2)
 Returns the length (rhumb-line distance and elevation delta) between two points, in meters. More...
 
static bool compareLongitudeAscending (const CDataPosition &_roPosition1, const CDataPosition &_roPosition2)
 Longitude (ascending sort) comparison operator. More...
 
static bool compareLongitudeDescending (const CDataPosition &_roPosition1, const CDataPosition &_roPosition2)
 Longitude (descending sort) comparison operator. More...
 
static bool compareLatitudeAscending (const CDataPosition &_roPosition1, const CDataPosition &_roPosition2)
 Latitude (ascending sort) comparison operator. More...
 
static bool compareLatitudeDescending (const CDataPosition &_roPosition1, const CDataPosition &_roPosition2)
 Latitude (descending sort) comparison operator. More...
 
static bool compareElevationAscending (const CDataPosition &_roPosition1, const CDataPosition &_roPosition2)
 Elevation (ascending sort) comparison operator. More...
 
static bool compareElevationDescending (const CDataPosition &_roPosition1, const CDataPosition &_roPosition2)
 Elevation (descending sort) comparison operator. More...
 
- Static Public Member Functions inherited from CDataCourse
static bool compareBearingAscending (const CDataCourse &_roCourse1, const CDataCourse &_roCourse2)
 Bearing (ascending sort) comparison operator. More...
 
static bool compareBearingDescending (const CDataCourse &_roCourse1, const CDataCourse &_roCourse2)
 Bearing (descending sort) comparison operator. More...
 
static bool compareSpeedAscending (const CDataCourse &_roCourse1, const CDataCourse &_roCourse2)
 Horizontal speed (ascending sort) comparison operator. More...
 
static bool compareSpeedDescending (const CDataCourse &_roCourse1, const CDataCourse &_roCourse2)
 Horizontal speed (descending sort) comparison operator. More...
 
static bool compareSpeedVerticalAscending (const CDataCourse &_roCourse1, const CDataCourse &_roCourse2)
 Vertical speed (ascending sort) comparison operator. More...
 
static bool compareSpeedVerticalDescending (const CDataCourse &_roCourse1, const CDataCourse &_roCourse2)
 Vertical speed (descending sort) comparison operator. More...
 
- Static Public Attributes inherited from CDataTime
static constexpr double UNDEFINED_TIME = -9999999
 Specific value for an undefined time. More...
 
static const CDataTime UNDEFINED
 Specific value for an undefined time object. More...
 
- Static Public Attributes inherited from CDataPosition
static constexpr double UNDEFINED_LONGITUDE = -999
 Specific value for an undefined longitude. More...
 
static constexpr double UNDEFINED_LATITUDE = -99
 Specific value for an undefined latitude. More...
 
static constexpr double UNDEFINED_ELEVATION = -9999999
 Specific value for an undefined elevation. More...
 
static const CDataPosition UNDEFINED
 Specific value for an undefined position. More...
 
- Static Public Attributes inherited from CDataCourse
static constexpr double UNDEFINED_BEARING = -999
 Specific value for an undefined bearing. More...
 
static constexpr double UNDEFINED_SPEED = -9999999
 Specific value for an undefined speed. More...
 
static const CDataCourse UNDEFINED
 Specific value for an undefined course. More...
 
- Static Public Attributes inherited from CDeviceDataDop
static const double UNDEFINED_VALUE = -9999999
 Specific value for an undefined component. More...
 
static const CDeviceDataDop UNDEFINED
 Specific value for undefined DOP data. More...
 
- Protected Member Functions inherited from COverlayItem
 COverlayItem (COverlayObject::EType _eType, const QString &_rqsName)
 
virtual ~COverlayItem ()
 
- Protected Member Functions inherited from COverlayObject
 COverlayObject (EType _eType, const QString &_rqsName)
 
virtual ~COverlayObject ()
 
- Protected Member Functions inherited from CDeviceDataSource
 CDeviceDataSource (const QString &_rqsName)
 
virtual ~CDeviceDataSource ()
 
- Protected Attributes inherited from COverlayItem
bool bMultiSelected
 Item's selection status. More...
 
- Protected Attributes inherited from COverlayObject
QString qsName
 Object name. More...
 

Detailed Description

[UI] Vessel device

This class implements the link between a vessel and a device (source), used to update the vessel's geographical position and (ground/apparent) course.

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

Definition at line 43 of file CVesselPointDevice.hpp.

Constructor & Destructor Documentation

◆ CVesselPointDevice()

CVesselPointDevice::CVesselPointDevice ( const QString &  _rqsName,
const QString &  _rqsSourceName,
bool  _bDynamic = false 
)

Definition at line 40 of file CVesselPointDevice.cpp.

◆ ~CVesselPointDevice()

virtual CVesselPointDevice::~CVesselPointDevice ( )
inlinevirtual

Definition at line 85 of file CVesselPointDevice.hpp.

Member Function Documentation

◆ serialize()

virtual void CVesselPointDevice::serialize ( QDataStream &  _rqDataStream) const
inlinevirtual

Serializes (store) this object's data to binary format.

Reimplemented from COverlayObject.

Definition at line 93 of file CVesselPointDevice.hpp.

◆ unserialize()

virtual void CVesselPointDevice::unserialize ( QDataStream &  _rqDataStream)
inlinevirtual

Unserializes (restore) this object's data from binary format.

Reimplemented from COverlayObject.

Definition at line 94 of file CVesselPointDevice.hpp.

◆ useOverlay()

virtual COverlay* CVesselPointDevice::useOverlay ( )
inlinevirtual

Returns this object's (base) overlay.

Implements COverlayObject.

Definition at line 97 of file CVesselPointDevice.hpp.

◆ draw()

virtual void CVesselPointDevice::draw ( const CChart _poChart,
QPainter *  _pqPainter 
)
inlinevirtual

Draws this object (itself or its content)

Implements COverlayObject.

Definition at line 100 of file CVesselPointDevice.hpp.

◆ showDetail()

void CVesselPointDevice::showDetail ( )
virtual

Displays this object's details (in the appropriate widget/view)

Implements COverlayObject.

Definition at line 65 of file CVesselPointDevice.cpp.

◆ showEdit()

void CVesselPointDevice::showEdit ( )
virtual

Displays this object's edit widget/view.

Implements COverlayObject.

Definition at line 73 of file CVesselPointDevice.cpp.

◆ signalRefreshContent

void CVesselPointDevice::signalRefreshContent ( )
signal

Signal emitted when views should refresh this object's corresponding content.

◆ slotDestroyed

void CVesselPointDevice::slotDestroyed ( QObject *  _pqObject)
privateslot

Slot to handle object destruction.

Definition at line 89 of file CVesselPointDevice.cpp.

◆ slotDataFix

void CVesselPointDevice::slotDataFix ( const CDeviceDataFix _roDeviceDataFix)
privateslot

Slot to handle fix data (sent by device)

Definition at line 95 of file CVesselPointDevice.cpp.

◆ slotDataSkyView

void CVesselPointDevice::slotDataSkyView ( const CDeviceDataSkyView _roDeviceDataSkyView)
privateslot

Slot to handle sky view data (sent by device)

Definition at line 100 of file CVesselPointDevice.cpp.

◆ setSynchronized()

void CVesselPointDevice::setSynchronized ( bool  _bSynchronizePosition,
bool  _bSynchronizeElevation,
bool  _bSynchronizeTime,
bool  _bSynchronizeGroundBearing,
bool  _bSynchronizeGroundSpeed,
bool  _bSynchronizeGroundSpeedVertical,
bool  _bSynchronizeApparentBearing,
bool  _bSynchronizeApparentSpeed,
bool  _bSynchronizeApparentSpeedVertical,
bool  _bSynchronizeText 
)

Sets the synchronizazion flags.

Definition at line 113 of file CVesselPointDevice.cpp.

◆ isDynamic()

bool CVesselPointDevice::isDynamic ( )
inline

Returns whether the device is dynamically generated.

Definition at line 136 of file CVesselPointDevice.hpp.

◆ isDeviceConnected()

bool CVesselPointDevice::isDeviceConnected ( ) const
inline

Returns whether the actual device is connected.

Definition at line 138 of file CVesselPointDevice.hpp.

◆ isSynchronizedPosition()

bool CVesselPointDevice::isSynchronizedPosition ( )
inline

Returns whether this device/source is used to synchronize the vessel's position.

Definition at line 141 of file CVesselPointDevice.hpp.

◆ isSynchronizedElevation()

bool CVesselPointDevice::isSynchronizedElevation ( )
inline

Returns whether this device/source is used to synchronize the vessel's elevation.

Definition at line 143 of file CVesselPointDevice.hpp.

◆ isSynchronizedTime()

bool CVesselPointDevice::isSynchronizedTime ( )
inline

Returns whether this device/source is used to synchronize the vessel's time.

Definition at line 145 of file CVesselPointDevice.hpp.

◆ isSynchronizedGroundBearing()

bool CVesselPointDevice::isSynchronizedGroundBearing ( )
inline

Returns whether this device/source is used to synchronize the vessel's ground bearing.

Definition at line 147 of file CVesselPointDevice.hpp.

◆ isSynchronizedGroundSpeed()

bool CVesselPointDevice::isSynchronizedGroundSpeed ( )
inline

Returns whether this device/source is used to synchronize the vessel's ground horizontal speed.

Definition at line 149 of file CVesselPointDevice.hpp.

◆ isSynchronizedGroundSpeedVertical()

bool CVesselPointDevice::isSynchronizedGroundSpeedVertical ( )
inline

Returns whether this device/source is used to synchronize the vessel's ground vertical speed.

Definition at line 151 of file CVesselPointDevice.hpp.

◆ isSynchronizedApparentBearing()

bool CVesselPointDevice::isSynchronizedApparentBearing ( )
inline

Returns whether this device/source is used to synchronize the vessel's apparent bearing.

Definition at line 153 of file CVesselPointDevice.hpp.

◆ isSynchronizedApparentSpeed()

bool CVesselPointDevice::isSynchronizedApparentSpeed ( )
inline

Returns whether this device/source is used to synchronize the vessel's apparent horizontal speed.

Definition at line 155 of file CVesselPointDevice.hpp.

◆ isSynchronizedApparentSpeedVertical()

bool CVesselPointDevice::isSynchronizedApparentSpeedVertical ( )
inline

Returns whether this device/source is used to synchronize the vessel's apparent vertical speed.

Definition at line 157 of file CVesselPointDevice.hpp.

◆ isSynchronizedText()

bool CVesselPointDevice::isSynchronizedText ( )
inline

Returns whether this device/source is used to synchronize the vessel's additional textual data string.

Definition at line 159 of file CVesselPointDevice.hpp.

◆ connectDevice()

bool CVesselPointDevice::connectDevice ( )

Connects to the actual device.

Definition at line 134 of file CVesselPointDevice.cpp.

◆ disconnectDevice()

void CVesselPointDevice::disconnectDevice ( )

Disconnects from the actual device.

Definition at line 147 of file CVesselPointDevice.cpp.

◆ syncDataFix()

void CVesselPointDevice::syncDataFix ( const CDeviceDataFix _roDeviceDataFix)

Synchronizes fix data (sent by device)

Definition at line 154 of file CVesselPointDevice.cpp.

◆ parseQVCT()

void CVesselPointDevice::parseQVCT ( const QDomElement &  _rqDomElement)

Retrieves this object's content from the given QVCT source (file)

Definition at line 405 of file CVesselPointDevice.cpp.

◆ dumpQVCT()

void CVesselPointDevice::dumpQVCT ( QXmlStreamWriter &  _rqXmlStreamWriter) const

Stores this object's content to the given QVCT destination (file)

Definition at line 418 of file CVesselPointDevice.cpp.

Member Data Documentation

◆ bDynamic

bool CVesselPointDevice::bDynamic
private

Dynamic flag (vessel device automatically generated by a dynamic flotilla)

Definition at line 53 of file CVesselPointDevice.hpp.

◆ poDevice

CDevice* CVesselPointDevice::poDevice
private

Corresponding device's pointer.

Definition at line 56 of file CVesselPointDevice.hpp.

◆ bSynchronizePosition

bool CVesselPointDevice::bSynchronizePosition
private

[Flag] Use this device/source to synchronize the vessel's position

Definition at line 58 of file CVesselPointDevice.hpp.

◆ bSynchronizeElevation

bool CVesselPointDevice::bSynchronizeElevation
private

[Flag] Use this device/source to synchronize the vessel's elevation

Definition at line 60 of file CVesselPointDevice.hpp.

◆ bSynchronizeTime

bool CVesselPointDevice::bSynchronizeTime
private

[Flag] Use this device/source to synchronize the vessel's time

Definition at line 62 of file CVesselPointDevice.hpp.

◆ bSynchronizeGroundBearing

bool CVesselPointDevice::bSynchronizeGroundBearing
private

[Flag] Use this device/source to synchronize the vessel's ground bearing

Definition at line 64 of file CVesselPointDevice.hpp.

◆ bSynchronizeGroundSpeed

bool CVesselPointDevice::bSynchronizeGroundSpeed
private

[Flag] Use this device/source to synchronize the vessel's ground horizontal speed

Definition at line 66 of file CVesselPointDevice.hpp.

◆ bSynchronizeGroundSpeedVertical

bool CVesselPointDevice::bSynchronizeGroundSpeedVertical
private

[Flag] Use this device/source to synchronize the vessel's ground vertical speed

Definition at line 68 of file CVesselPointDevice.hpp.

◆ bSynchronizeApparentBearing

bool CVesselPointDevice::bSynchronizeApparentBearing
private

[Flag] Use this device/source to synchronize the vessel's apparent bearing

Definition at line 70 of file CVesselPointDevice.hpp.

◆ bSynchronizeApparentSpeed

bool CVesselPointDevice::bSynchronizeApparentSpeed
private

[Flag] Use this device/source to synchronize the vessel's apparent horizontal speed

Definition at line 72 of file CVesselPointDevice.hpp.

◆ bSynchronizeApparentSpeedVertical

bool CVesselPointDevice::bSynchronizeApparentSpeedVertical
private

[Flag] Use this device/source to synchronize the vessel's apparent vertical speed

Definition at line 74 of file CVesselPointDevice.hpp.

◆ bSynchronizeText

bool CVesselPointDevice::bSynchronizeText
private

[Flag] Use this device/source to synchronize the vessel's additional textual data string

Definition at line 76 of file CVesselPointDevice.hpp.


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