Qt Virtual Chart Table (QVCT)
CVesselPoint Class Reference

[UI] Vessel overlay point (item) / vessel More...

#include <overlays/vessel/CVesselPoint.hpp>

Inheritance diagram for CVesselPoint:
COverlayCourse CDataTimeValidity CDataPositionValidity CDataCourseValidityGA COverlayPoint CDataCourseGA CDataValidity CDataValidity COverlayItem COverlayVisibility CDataTime CDataPosition COverlayObject

Public Member Functions

 CVesselPoint (const QString &_rqsName, bool _bDynamic=false)
 
 CVesselPoint (const QString &_rqsName, const CDataPosition &_roDataPosition)
 
virtual ~CVesselPoint ()
 
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...
 
virtual bool matchScrPosition (const CChart *_poChart, const QPointF &_rqPointFScrPosition) const
 Returns whether this point matches the given screen position. More...
 
virtual void toggleVisibility ()
 
void toggleMultiSelected ()
 Toggles this vessel's selection status. More...
 
void setType (const QString &_rqsType)
 Sets this vessel's type. More...
 
void setDescription (const QString &_rqsDescription)
 Sets this vessel's description. More...
 
void setComment (const QString &_rqsComment)
 Sets this vessel's comment. More...
 
void setSymbol (const QString &_rqsSymbol)
 Sets this vessel's symbol. More...
 
void setUrl (const QString &_rqsUrl)
 Sets this vessel's URL. More...
 
void setFixType (int _eFixType)
 Sets this vessel point's fix type. More...
 
void setSatelliteCount (int _iSatelliteCount)
 Sets this vessel point's satellite count. More...
 
void setDopHorizontal (double _fdDopHorizontal)
 Sets this vessel point's horizontal Dilution-of-Precision (HDOP) More...
 
void setDopVertical (double _fdDopVertical)
 Sets this vessel point's vertical Dilution-of-Precision (VDOP) More...
 
void setTrackRecordRate (int _iTrackRecordRate)
 Sets this vessel's track recording rate, in seconds. More...
 
bool setTrackRecord (bool _bTrackRecord)
 Sets this vessel's track recording status. More...
 
bool isDynamic ()
 Returns whether the vessel is dynamically generated. More...
 
bool isDeviceConnected () const
 Returns whether this vessel's devices are all connected. More...
 
QString getType () const
 Returns this vessel's type. More...
 
QString getDescription () const
 Returns this vessel's description. More...
 
QString getComment () const
 Returns this vessel's comment. More...
 
QString getSymbol () const
 Returns this vessel's symbol. More...
 
QString getUrl () const
 Returns this vessel's URL. More...
 
int getFixType ()
 Sets this vessel point's fix type. More...
 
int getSatelliteCount ()
 Sets this vessel point's satellite count. More...
 
double getDopHorizontal ()
 Sets this vessel point's horizontal Dilution-of-Precision (HDOP) More...
 
double getDopVertical ()
 Sets this vessel point's vertical Dilution-of-Precision (VDOP) More...
 
int getTrackRecordRate ()
 Returns this vessel's track recording rate, in seconds. More...
 
bool isTrackRecording ()
 Returns this vessel's track recording status. More...
 
void connectDevice ()
 Connects all children devices. More...
 
void disconnectDevice ()
 Disconnects all children devices. More...
 
void onDeviceDataFix ()
 Handled changes triggered by child devices. 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 COverlayCourse
virtual void drawMarker (const CChart *_poChart, QPainter *_pqPainter, const CDataPositionValidity *_poDataPositionValidity=0, bool _bSelected=false)
 Draws the point (marker) More...
 
virtual void drawVector (const CChart *_poChart, QPainter *_pqPainter, const CDataCourseValidityGA *_poDataCourseValidityGA=0)
 Draws the course vectors (ground and apparent) More...
 
- Public Member Functions inherited from COverlayPoint
virtual void drawText (const CChart *_poChart, QPainter *_pqPainter, const QString &_rqsText, const QPointF &_rqPointFScrPosition, bool _bItalic=false)
 Draws the given text, at the given screen position. More...
 
virtual void drawLine (const CChart *_poChart, QPainter *_pqPainter, const COverlayPoint *_poOverlayPoint)
 Draws a line (between this and the other specified point), including distance/bearing data. More...
 
virtual void drawSymbol (const CChart *_poChart, QPainter *_pqPainter, const QString &_rqsSymbol)
 Draws the symbol (user-defined) More...
 
virtual void drawTag (const CChart *_poChart, QPainter *_pqPainter, ETagPosition _eTagPosition=TAG_AUTO, const CDataTimeValidity *_poDataTimeValidity=0, const CDataPositionValidity *_poDataPositionValidity=0)
 Draws the tag (name) 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 COverlayVisibility
void setVisible (bool _bVisible)
 Sets the point's (marker) visibility status. More...
 
virtual void setVisibleName (bool _bVisibleName)
 Sets the name's (tag) visibility status. More...
 
virtual void setVisiblePosition (bool _bVisiblePosition)
 Sets the position's visibility status. More...
 
virtual void setVisibleCourse (bool _bVisibleCourse)
 Sets the course's visibility status. More...
 
virtual void setVisibleRouting (bool _bVisibleRouting)
 Sets the routing's (data) visibility status. More...
 
void setVisibility (int _iVisibilityCode)
 Sets the global (coded) visibility status. More...
 
bool isVisible () const
 Returns the point's (marker) visibility status. More...
 
bool isVisibleName () const
 Returns the tag's (name) visibility status. More...
 
bool isVisiblePosition () const
 Returns the position's visibility status. More...
 
bool isVisibleCourse () const
 Returns the course's visibility status. More...
 
bool isVisibleRouting () const
 Returns the routing's (data) visibility status. More...
 
int getVisibility () const
 Returns the global (coded) visibility status. 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 (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 CDataCourseGA
 CDataCourseGA ()
 
 CDataCourseGA (const CDataCourse &_roDataCourseGround, const CDataCourse &_roDataCourseApparent)
 
virtual ~CDataCourseGA ()
 
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...
 
- Public Member Functions inherited from CDataTimeValidity
 CDataTimeValidity ()
 
virtual ~CDataTimeValidity ()
 
void setValidityTime (double _fdTimeLastTime, double _fdErrorTime, bool _bInvalidTime=false)
 Sets the time's validity parameters. More...
 
double getTimeLastTime () const
 Returns the time's last-set time, in seconds from Unix epoch. More...
 
double getErrorTime () const
 Returns the time's error, in seconds. More...
 
bool isInvalidTime () const
 Returns the time's (forced) invalidity status. More...
 
bool isValidTime () const
 Returns the time's (global) validity status. More...
 
- Public Member Functions inherited from CDataPositionValidity
 CDataPositionValidity ()
 
virtual ~CDataPositionValidity ()
 
void setValidityPosition (double _fdTimeLastPosition, double _fdErrorPosition, bool _bInvalidPosition=false)
 Sets the position's validity parameters. More...
 
void setValidityElevation (double _fdTimeLastElevation, double _fdErrorElevation, bool _bInvalidElevation=false)
 Sets the elevation's validity parameters. More...
 
double getTimeLastPosition () const
 Returns the position's last-set time, in seconds from Unix epoch. More...
 
double getErrorPosition () const
 Returns the position's error, in seconds. More...
 
bool isInvalidPosition () const
 Returns the position's (forced) invalidity status. More...
 
bool isValidPosition () const
 Returns the position's (global) validity status. More...
 
double getTimeLastElevation () const
 Returns the elevation's last-set time, in seconds from Unix epoch. More...
 
double getErrorElevation () const
 Returns the elevation's error, in seconds. More...
 
bool isInvalidElevation () const
 Returns the elevation's (forced) invalidity status. More...
 
bool isValidElevation () const
 Returns the elevation's (global) validity status. More...
 
- Public Member Functions inherited from CDataCourseValidityGA
 CDataCourseValidityGA ()
 
 CDataCourseValidityGA (const CDataCourseValidity &_roGroundGeoCourseValidity, const CDataCourseValidity &_roApparentGeoCourseValidity)
 
virtual ~CDataCourseValidityGA ()
 

Private Attributes

bool bDynamic
 Dynamic flag (vessel automatically generated by a dynamic flotilla) More...
 
QString qsType
 Vessel's type. More...
 
QString qsDescription
 Vessel's description. More...
 
QString qsComment
 Vessel's comment. More...
 
QString qsSymbol
 Vessel's symbol. More...
 
QString qsUrl
 Vessel's URL. More...
 
int eFixType
 Vessel point's fix type. More...
 
int iSatelliteCount
 Vessel point's satellites count. More...
 
double fdDopHorizontal
 Vessel point's horizontal Dilution-of-Precision (HDOP) More...
 
double fdDopVertical
 Vessel point's vertical Dilution-of-Precision (VDOP) More...
 
int iTrackRecordRate
 Vessel's track recording rate, in seconds. More...
 
bool bTrackRecord
 Vessel's track recording status. More...
 
double fdTrackRecordTimeLast
 Vessel's track last recording time. More...
 
double fdTrackRecordBearingLast
 Vessel's track last recorded bearing. More...
 

Additional Inherited Members

- Public Types inherited from COverlayPoint
enum  ETagPosition { TAG_AUTO, TAG_LEFT, TAG_RIGHT }
 
- Public Types inherited from COverlayObject
enum  EType {
  OVERLAY = 1001, CONTAINER = 1010, SUBCONTAINER = 1011, ITEM = 1100,
  SUBITEM1 = 1101, SUBITEM2 = 1102
}
 Overlay object type. More...
 
- Static Public Member Functions inherited from COverlayPoint
static int getPositionBox (const QTreeWidgetItem *_pqTreeWidgetItem, CDataPosition *_poDataPositionLower, CDataPosition *_poDataPositionUpper, int _iIndexMin=0, int _iIndexMax=-1)
 Returns the minimal geographical positions box containing the points in the given overlay/container. More...
 
- 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...
 
- Public Attributes inherited from CDataCourseGA
CDataCourse GroundCourse
 Ground course. More...
 
CDataCourse ApparentCourse
 Apparent course. More...
 
- Public Attributes inherited from CDataCourseValidityGA
CDataCourseValidity GroundCourseValidity
 Ground course validity. More...
 
CDataCourseValidity ApparentCourseValidity
 Apparent course validity. More...
 
- Static Public Attributes inherited from CDataTime
static GNUC_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 GNUC_CONSTEXPR double UNDEFINED_LONGITUDE = -999
 Specific value for an undefined longitude. More...
 
static GNUC_CONSTEXPR double UNDEFINED_LATITUDE = -99
 Specific value for an undefined latitude. More...
 
static GNUC_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 CDataValidity
static GNUC_CONSTEXPR double UNDEFINED_VALUE = -9999999
 
- Protected Member Functions inherited from COverlayCourse
 COverlayCourse (const QString &_rqsName)
 
 COverlayCourse (const QString &_rqsName, const CDataPosition &_roDataPosition)
 
 COverlayCourse (const QString &_rqsName, const CDataPosition &_roDataPosition, const CDataCourse &_roGroundGeoCourse, const CDataCourse &_roApparentGeoCourse)
 
virtual ~COverlayCourse ()
 
- Protected Member Functions inherited from COverlayPoint
 COverlayPoint (const QString &_rqsName)
 
 COverlayPoint (const QString &_rqsName, const CDataPosition &_roDataPosition)
 
virtual ~COverlayPoint ()
 
- 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 COverlayVisibility
 COverlayVisibility ()
 
virtual ~COverlayVisibility ()
 
virtual void toggleVisibility (bool _bIncludeCourse, bool _bIncludeRouting)
 Toggle the visibility status. More...
 
- Protected Member Functions inherited from CDataValidity
 CDataValidity ()
 
virtual ~CDataValidity ()
 
- Protected Attributes inherited from COverlayItem
bool bMultiSelected
 Item's selection status. More...
 
- Protected Attributes inherited from COverlayObject
QString qsName
 Object name. More...
 
- Protected Attributes inherited from COverlayVisibility
bool bVisible
 Global (marker) visibility status. More...
 
bool bVisibleName
 Name's (tag) visibility status. More...
 
bool bVisiblePosition
 Position's visibility status. More...
 
bool bVisibleCourse
 Course's visibility status. More...
 
bool bVisibleRouting
 Routing's (data) visibility status. More...
 

Detailed Description

[UI] Vessel overlay point (item) / vessel

This class implements the overlay point (item) for the vessel overlay.

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

Definition at line 42 of file CVesselPoint.hpp.

Constructor & Destructor Documentation

◆ CVesselPoint() [1/2]

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

Definition at line 46 of file CVesselPoint.cpp.

◆ CVesselPoint() [2/2]

CVesselPoint::CVesselPoint ( const QString &  _rqsName,
const CDataPosition _roDataPosition 
)

Definition at line 71 of file CVesselPoint.cpp.

◆ ~CVesselPoint()

CVesselPoint::~CVesselPoint ( )
virtual

Definition at line 88 of file CVesselPoint.cpp.

Member Function Documentation

◆ serialize()

void CVesselPoint::serialize ( QDataStream &  _rqDataStream) const
virtual

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

Reimplemented from COverlayCourse.

Definition at line 102 of file CVesselPoint.cpp.

◆ unserialize()

void CVesselPoint::unserialize ( QDataStream &  _rqDataStream)
virtual

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

Reimplemented from COverlayCourse.

Definition at line 108 of file CVesselPoint.cpp.

◆ useOverlay()

virtual COverlay* CVesselPoint::useOverlay ( )
inlinevirtual

Returns this object's (base) overlay.

Implements COverlayObject.

Definition at line 103 of file CVesselPoint.hpp.

◆ draw()

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

Draws this object (itself or its content)

Implements COverlayObject.

Definition at line 115 of file CVesselPoint.cpp.

◆ showDetail()

void CVesselPoint::showDetail ( )
virtual

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

Implements COverlayObject.

Definition at line 141 of file CVesselPoint.cpp.

◆ showEdit()

void CVesselPoint::showEdit ( )
virtual

Displays this object's edit widget/view.

Implements COverlayObject.

Definition at line 150 of file CVesselPoint.cpp.

◆ matchScrPosition()

bool CVesselPoint::matchScrPosition ( const CChart _poChart,
const QPointF &  _rqPointFScrPosition 
) const
virtual

Returns whether this point matches the given screen position.

Reimplemented from COverlayPoint.

Definition at line 167 of file CVesselPoint.cpp.

◆ toggleVisibility()

void CVesselPoint::toggleVisibility ( )
virtual

Definition at line 179 of file CVesselPoint.cpp.

◆ toggleMultiSelected()

void CVesselPoint::toggleMultiSelected ( )

Toggles this vessel's selection status.

Definition at line 210 of file CVesselPoint.cpp.

◆ setType()

void CVesselPoint::setType ( const QString &  _rqsType)
inline

Sets this vessel's type.

Definition at line 136 of file CVesselPoint.hpp.

◆ setDescription()

void CVesselPoint::setDescription ( const QString &  _rqsDescription)
inline

Sets this vessel's description.

Definition at line 138 of file CVesselPoint.hpp.

◆ setComment()

void CVesselPoint::setComment ( const QString &  _rqsComment)
inline

Sets this vessel's comment.

Definition at line 140 of file CVesselPoint.hpp.

◆ setSymbol()

void CVesselPoint::setSymbol ( const QString &  _rqsSymbol)
inline

Sets this vessel's symbol.

Definition at line 142 of file CVesselPoint.hpp.

◆ setUrl()

void CVesselPoint::setUrl ( const QString &  _rqsUrl)
inline

Sets this vessel's URL.

Definition at line 144 of file CVesselPoint.hpp.

◆ setFixType()

void CVesselPoint::setFixType ( int  _eFixType)
inline

Sets this vessel point's fix type.

Definition at line 148 of file CVesselPoint.hpp.

◆ setSatelliteCount()

void CVesselPoint::setSatelliteCount ( int  _iSatelliteCount)
inline

Sets this vessel point's satellite count.

Definition at line 150 of file CVesselPoint.hpp.

◆ setDopHorizontal()

void CVesselPoint::setDopHorizontal ( double  _fdDopHorizontal)
inline

Sets this vessel point's horizontal Dilution-of-Precision (HDOP)

Definition at line 152 of file CVesselPoint.hpp.

◆ setDopVertical()

void CVesselPoint::setDopVertical ( double  _fdDopVertical)
inline

Sets this vessel point's vertical Dilution-of-Precision (VDOP)

Definition at line 154 of file CVesselPoint.hpp.

◆ setTrackRecordRate()

void CVesselPoint::setTrackRecordRate ( int  _iTrackRecordRate)
inline

Sets this vessel's track recording rate, in seconds.

Definition at line 158 of file CVesselPoint.hpp.

◆ setTrackRecord()

bool CVesselPoint::setTrackRecord ( bool  _bTrackRecord)

Sets this vessel's track recording status.

Definition at line 215 of file CVesselPoint.cpp.

◆ isDynamic()

bool CVesselPoint::isDynamic ( )
inline

Returns whether the vessel is dynamically generated.

Definition at line 165 of file CVesselPoint.hpp.

◆ isDeviceConnected()

bool CVesselPoint::isDeviceConnected ( ) const

Returns whether this vessel's devices are all connected.

Definition at line 197 of file CVesselPoint.cpp.

◆ getType()

QString CVesselPoint::getType ( ) const
inline

Returns this vessel's type.

Definition at line 170 of file CVesselPoint.hpp.

◆ getDescription()

QString CVesselPoint::getDescription ( ) const
inline

Returns this vessel's description.

Definition at line 172 of file CVesselPoint.hpp.

◆ getComment()

QString CVesselPoint::getComment ( ) const
inline

Returns this vessel's comment.

Definition at line 174 of file CVesselPoint.hpp.

◆ getSymbol()

QString CVesselPoint::getSymbol ( ) const
inline

Returns this vessel's symbol.

Definition at line 176 of file CVesselPoint.hpp.

◆ getUrl()

QString CVesselPoint::getUrl ( ) const
inline

Returns this vessel's URL.

Definition at line 178 of file CVesselPoint.hpp.

◆ getFixType()

int CVesselPoint::getFixType ( )
inline

Sets this vessel point's fix type.

Definition at line 182 of file CVesselPoint.hpp.

◆ getSatelliteCount()

int CVesselPoint::getSatelliteCount ( )
inline

Sets this vessel point's satellite count.

Definition at line 184 of file CVesselPoint.hpp.

◆ getDopHorizontal()

double CVesselPoint::getDopHorizontal ( )
inline

Sets this vessel point's horizontal Dilution-of-Precision (HDOP)

Definition at line 186 of file CVesselPoint.hpp.

◆ getDopVertical()

double CVesselPoint::getDopVertical ( )
inline

Sets this vessel point's vertical Dilution-of-Precision (VDOP)

Definition at line 188 of file CVesselPoint.hpp.

◆ getTrackRecordRate()

int CVesselPoint::getTrackRecordRate ( )
inline

Returns this vessel's track recording rate, in seconds.

Definition at line 192 of file CVesselPoint.hpp.

◆ isTrackRecording()

bool CVesselPoint::isTrackRecording ( )
inline

Returns this vessel's track recording status.

Definition at line 194 of file CVesselPoint.hpp.

◆ connectDevice()

void CVesselPoint::connectDevice ( )

Connects all children devices.

Definition at line 242 of file CVesselPoint.cpp.

◆ disconnectDevice()

void CVesselPoint::disconnectDevice ( )

Disconnects all children devices.

Definition at line 250 of file CVesselPoint.cpp.

◆ onDeviceDataFix()

void CVesselPoint::onDeviceDataFix ( )

Handled changes triggered by child devices.

Definition at line 257 of file CVesselPoint.cpp.

◆ parseQVCT()

void CVesselPoint::parseQVCT ( const QDomElement &  _rqDomElement)

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

Definition at line 331 of file CVesselPoint.cpp.

◆ dumpQVCT()

void CVesselPoint::dumpQVCT ( QXmlStreamWriter &  _rqXmlStreamWriter) const

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

Definition at line 401 of file CVesselPoint.cpp.

Member Data Documentation

◆ bDynamic

bool CVesselPoint::bDynamic
private

Dynamic flag (vessel automatically generated by a dynamic flotilla)

Definition at line 51 of file CVesselPoint.hpp.

◆ qsType

QString CVesselPoint::qsType
private

Vessel's type.

Definition at line 54 of file CVesselPoint.hpp.

◆ qsDescription

QString CVesselPoint::qsDescription
private

Vessel's description.

Definition at line 56 of file CVesselPoint.hpp.

◆ qsComment

QString CVesselPoint::qsComment
private

Vessel's comment.

Definition at line 58 of file CVesselPoint.hpp.

◆ qsSymbol

QString CVesselPoint::qsSymbol
private

Vessel's symbol.

See also
CMainWindow::symbolExists(), CMainWindow::symbolPixmap()

Definition at line 61 of file CVesselPoint.hpp.

◆ qsUrl

QString CVesselPoint::qsUrl
private

Vessel's URL.

Definition at line 63 of file CVesselPoint.hpp.

◆ eFixType

int CVesselPoint::eFixType
private

Vessel point's fix type.

Definition at line 66 of file CVesselPoint.hpp.

◆ iSatelliteCount

int CVesselPoint::iSatelliteCount
private

Vessel point's satellites count.

Definition at line 68 of file CVesselPoint.hpp.

◆ fdDopHorizontal

double CVesselPoint::fdDopHorizontal
private

Vessel point's horizontal Dilution-of-Precision (HDOP)

Definition at line 70 of file CVesselPoint.hpp.

◆ fdDopVertical

double CVesselPoint::fdDopVertical
private

Vessel point's vertical Dilution-of-Precision (VDOP)

Definition at line 72 of file CVesselPoint.hpp.

◆ iTrackRecordRate

int CVesselPoint::iTrackRecordRate
private

Vessel's track recording rate, in seconds.

Definition at line 75 of file CVesselPoint.hpp.

◆ bTrackRecord

bool CVesselPoint::bTrackRecord
private

Vessel's track recording status.

Definition at line 77 of file CVesselPoint.hpp.

◆ fdTrackRecordTimeLast

double CVesselPoint::fdTrackRecordTimeLast
private

Vessel's track last recording time.

Definition at line 79 of file CVesselPoint.hpp.

◆ fdTrackRecordBearingLast

double CVesselPoint::fdTrackRecordBearingLast
private

Vessel's track last recorded bearing.

Definition at line 81 of file CVesselPoint.hpp.


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