|
| | XTE (std::string talkerId, char status1, char status2, double crossTrackError, char steerDirection, char crossTrackUnits, std::optional< char > faaModeIndicator=std::nullopt) |
| | Construct an XTE message from individual field values.
|
| |
| | XTE (const XTE &)=default |
| |
| XTE & | operator= (const XTE &)=default |
| |
| | XTE (XTE &&) noexcept=default |
| |
| XTE & | operator= (XTE &&) noexcept=default |
| |
| | ~XTE () override=default |
| |
| std::unique_ptr< nmealib::Message > | clone () const override |
| | Create a polymorphic copy of this XTE message.
|
| |
| char | getStatus1 () const noexcept |
| | Get the first status field.
|
| |
| char | getStatus2 () const noexcept |
| | Get the second status field.
|
| |
| double | getCrossTrackError () const noexcept |
| | Get the cross-track error magnitude in nautical miles.
|
| |
| char | getSteerDirection () const noexcept |
| | Get the steer direction indicator ('L' or 'R').
|
| |
| char | getCrossTrackUnits () const noexcept |
| | Get the cross-track units indicator (typically 'N').
|
| |
| bool | hasFaaModeIndicator () const noexcept |
| | Return whether FAA mode indicator is present.
|
| |
| std::optional< char > | getFaaModeIndicator () const noexcept |
| | Get optional FAA mode indicator.
|
| |
| std::string | getStringContent (bool verbose) const noexcept override |
| | Return a human-readable string representation of this message.
|
| |
| bool | operator== (const XTE &other) const noexcept |
| | Compare two XTE messages for equality.
|
| |
| | 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.
|
| |
| 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 XTE (Cross-Track Error, Measured) sentence.
XTE supports the classic format and the NMEA 2.3+ format that includes an optional FAA mode indicator.
Classic sentence format:
$--
XTE,A,A,x.x,a,N*hh<CR><LF>
Represents a parsed NMEA 0183 XTE (Cross-Track Error, Measured) sentence.
NMEA 2.3+ sentence format:
$--
XTE,A,A,x.x,a,N,m*hh<CR><LF>
Definition at line 44 of file xte.h.