19 #ifndef QVCT_CVESSELPOINT_HPP
20 #define QVCT_CVESSELPOINT_HPP
23 #include <QDataStream>
24 #include <QDomElement>
27 #include <QTreeWidgetItem>
28 #include <QXmlStreamWriter>
89 CVesselPoint(
const QString& _rqsName,
bool _bDynamic =
false );
99 virtual void serialize( QDataStream& _rqDataStream )
const;
100 virtual void unserialize( QDataStream& _rqDataStream );
106 virtual void draw(
const CChart* _poChart, QPainter* _pqPainter );
210 void parseQVCT(
const QDomElement& _rqDomElement );
212 void dumpQVCT( QXmlStreamWriter & _rqXmlStreamWriter )
const;
Ground and apparent geographical courses validity container.
(Geographical) Position data [long,lat,elev]
virtual void toggleVisibility(bool _bIncludeCourse, bool _bIncludeRouting)
Toggle the visibility status.
[UI] Vessel overlay point (item) / vessel
double getDopVertical()
Sets this vessel point's vertical Dilution-of-Precision (VDOP)
int eFixType
Vessel point's fix type.
void toggleMultiSelected()
Toggles this vessel's selection status.
void disconnectDevice()
Disconnects all children devices.
double fdTrackRecordBearingLast
Vessel's track last recorded bearing.
bool isDynamic()
Returns whether the vessel is dynamically generated.
void setType(const QString &_rqsType)
Sets this vessel's type.
QString getSymbol() const
Returns this vessel's symbol.
bool isDeviceConnected() const
Returns whether this vessel's devices are all connected.
void onDeviceDataFix()
Handled changes triggered by child devices.
double fdTrackRecordTimeLast
Vessel's track last recording time.
double fdDopHorizontal
Vessel point's horizontal Dilution-of-Precision (HDOP)
virtual void unserialize(QDataStream &_rqDataStream)
Unserializes (restore) this object's data from binary format.
void setDescription(const QString &_rqsDescription)
Sets this vessel's description.
virtual bool matchScrPosition(const CChart *_poChart, const QPointF &_rqPointFScrPosition) const
Returns whether this point matches the given screen position.
QString getComment() const
Returns this vessel's comment.
bool bTrackRecord
Vessel's track recording status.
double fdDopVertical
Vessel point's vertical Dilution-of-Precision (VDOP)
void dumpQVCT(QXmlStreamWriter &_rqXmlStreamWriter) const
Stores this object's content to the given QVCT destination (file)
int iTrackRecordRate
Vessel's track recording rate, in seconds.
virtual void toggleVisibility()
int iSatelliteCount
Vessel point's satellites count.
QString getUrl() const
Returns this vessel's URL.
void setDopHorizontal(double _fdDopHorizontal)
Sets this vessel point's horizontal Dilution-of-Precision (HDOP)
int getTrackRecordRate()
Returns this vessel's track recording rate, in seconds.
virtual void showEdit()
Displays this object's edit widget/view.
bool isTrackRecording()
Returns this vessel's track recording status.
QString qsUrl
Vessel's URL.
virtual void showDetail()
Displays this object's details (in the appropriate widget/view)
void setComment(const QString &_rqsComment)
Sets this vessel's comment.
virtual COverlay * useOverlay()
Returns this object's (base) overlay.
QString qsComment
Vessel's comment.
void setUrl(const QString &_rqsUrl)
Sets this vessel's URL.
int getFixType()
Sets this vessel point's fix type.
QString qsType
Vessel's type.
void connectDevice()
Connects all children devices.
bool bDynamic
Dynamic flag (vessel automatically generated by a dynamic flotilla)
void setTrackRecordRate(int _iTrackRecordRate)
Sets this vessel's track recording rate, in seconds.
virtual void serialize(QDataStream &_rqDataStream) const
Serializes (store) this object's data to binary format.
void setDopVertical(double _fdDopVertical)
Sets this vessel point's vertical Dilution-of-Precision (VDOP)
QString getDescription() const
Returns this vessel's description.
QString getType() const
Returns this vessel's type.
void setFixType(int _eFixType)
Sets this vessel point's fix type.
int getSatelliteCount()
Sets this vessel point's satellite count.
double getDopHorizontal()
Sets this vessel point's horizontal Dilution-of-Precision (HDOP)
void setSymbol(const QString &_rqsSymbol)
Sets this vessel's symbol.
bool setTrackRecord(bool _bTrackRecord)
Sets this vessel's track recording status.
CVesselPoint(const QString &_rqsName, bool _bDynamic=false)
QString qsDescription
Vessel's description.
virtual void draw(const CChart *_poChart, QPainter *_pqPainter)
Draws this object (itself or its content)
QString qsSymbol
Vessel's symbol.
void parseQVCT(const QDomElement &_rqDomElement)
Retrieves this object's content from the given QVCT source (file)
void setSatelliteCount(int _iSatelliteCount)
Sets this vessel point's satellite count.