|
| | HDG (std::string talkerId, double magneticHeading, double magneticDeviation, char deviationDirection, double magneticVariation, char variationDirection) |
| | Construct an HDG message from individual field values.
|
| |
| | HDG (const HDG &)=default |
| |
| HDG & | operator= (const HDG &)=default |
| |
| | HDG (HDG &&) noexcept=default |
| |
| HDG & | operator= (HDG &&) noexcept=default |
| |
| | ~HDG () override=default |
| |
| std::unique_ptr< nmealib::Message > | clone () const override |
| | Creates a polymorphic deep copy of this message.
|
| |
| double | getMagneticHeading () const noexcept |
| |
| double | getMagneticDeviation () const noexcept |
| |
| char | getDeviationDirection () const noexcept |
| |
| double | getMagneticVariation () const noexcept |
| |
| char | getVariationDirection () const noexcept |
| |
| std::string | getStringContent (bool verbose) const noexcept override |
| | Returns a human-readable string representation of the message content.
|
| |
| bool | operator== (const HDG &other) const noexcept |
| |
| | Message0183 (const Message0183 &)=default |
| | Copy constructor.
|
| |
| Message0183 & | operator= (const Message0183 &)=default |
| | Copy assignment operator.
|
| |
| | Message0183 (Message0183 &&) noexcept=default |
| | Move constructor.
|
| |
| Message0183 & | operator= (Message0183 &&) noexcept=default |
| | Move assignment operator.
|
| |
| | ~Message0183 () override=default |
| | Destructor.
|
| |
| std::unique_ptr< nmealib::Message > | clone () const override |
| | Creates a polymorphic deep copy of this Message0183.
|
| |
| char | getStartChar () const noexcept |
| | Returns the start character of the NMEA 0183 sentence.
|
| |
| std::string | getTalker () const noexcept |
| | Returns the talker identifier extracted from the sentence.
|
| |
| std::string | getSentenceType () const noexcept |
| | Returns the sentence type identifier extracted from the sentence.
|
| |
| std::string | getPayload () const noexcept |
| | Returns the payload of the NMEA 0183 sentence.
|
| |
| std::string | getChecksumStr () const |
| | Get the checksum string extracted from the raw sentence.
|
| |
| std::string | getCalculatedChecksumStr () const noexcept |
| | Get the calculated checksum string for the sentence payload.
|
| |
| std::string | serialize () const override |
| | Returns the wire-format representation of the NMEA 0183 sentence, that is, the raw information that was passed when the message was created.
|
| |
| bool | operator== (const Message0183 &other) const noexcept |
| | Compares two Message0183 objects for equality based on their content and timestamp.
|
| |
| bool | validate () const noexcept override |
| | Returns whether the message is valid or not.
|
| |
| | Message () |
| |
| | Message (std::string raw, Type type=Type::Unknown, TimePoint ts=std::chrono::system_clock::now()) noexcept |
| |
| virtual | ~Message () |
| |
| | Message (const Message &)=default |
| |
| Message & | operator= (const Message &)=default |
| |
| | Message (Message &&) noexcept=default |
| |
| Message & | operator= (Message &&) noexcept=default |
| |
| Type | getType () const noexcept |
| | Returns the message type.
|
| |
| const std::string & | getRawData () const noexcept |
| | Returns the raw, unmodified data string as received.
|
| |
| TimePoint | getTimestamp () const noexcept |
| | Returns the timestamp associated with this message.
|
| |
| bool | operator== (const Message &other) const noexcept |
| | Compares two Message objects for equality based on their content.
|
| |
Represents a parsed NMEA 0183 HDG (Heading, Deviation & Variation) sentence.
HDG carries magnetic heading from the sensor and optional magnetic deviation and variation with their East/West direction indicators.
Sentence format:
$--
HDG,x.x,x.x,a,x.x,a*hh<CR><LF>
Represents a parsed NMEA 0183 HDG (Heading, Deviation & Variation) sentence.
Definition at line 37 of file hdg.h.