|
| | RMB (std::string talkerId, char status, double crossTrackErrorNm, char directionToSteer, std::string originWaypointId, std::string destinationWaypointId, double destinationLatitude, char destinationLatitudeHemisphere, double destinationLongitude, char destinationLongitudeHemisphere, double rangeToDestinationNm, double bearingToDestinationTrue, double destinationClosingVelocityKnots, char arrivalStatus, std::optional< char > faaModeIndicator=std::nullopt) |
| | Construct an RMB message from individual field values.
|
| |
| | RMB (const RMB &)=default |
| |
| RMB & | operator= (const RMB &)=default |
| |
| | RMB (RMB &&) noexcept=default |
| |
| RMB & | operator= (RMB &&) noexcept=default |
| |
| | ~RMB () override=default |
| |
| std::unique_ptr< nmealib::Message > | clone () const override |
| | Create a polymorphic copy of this RMB message.
|
| |
| char | getStatus () const noexcept |
| | Get status indicator ('A' active, 'V' invalid).
|
| |
| double | getCrossTrackErrorNm () const noexcept |
| | Get cross track error in nautical miles.
|
| |
| char | getDirectionToSteer () const noexcept |
| | Get direction to steer ('L' or 'R').
|
| |
| std::string | getOriginWaypointId () const noexcept |
| | Get origin waypoint identifier.
|
| |
| std::string | getDestinationWaypointId () const noexcept |
| | Get destination waypoint identifier.
|
| |
| double | getDestinationLatitude () const noexcept |
| | Get destination waypoint latitude in decimal degrees.
|
| |
| char | getDestinationLatitudeHemisphere () const noexcept |
| | Get destination latitude hemisphere indicator ('N' or 'S').
|
| |
| double | getDestinationLongitude () const noexcept |
| | Get destination waypoint longitude in decimal degrees.
|
| |
| char | getDestinationLongitudeHemisphere () const noexcept |
| | Get destination longitude hemisphere indicator ('E' or 'W').
|
| |
| double | getRangeToDestinationNm () const noexcept |
| | Get range to destination in nautical miles.
|
| |
| double | getBearingToDestinationTrue () const noexcept |
| | Get bearing to destination in true degrees.
|
| |
| double | getDestinationClosingVelocityKnots () const noexcept |
| | Get destination closing velocity in knots.
|
| |
| char | getArrivalStatus () const noexcept |
| | Get arrival status ('A' arrived, 'V' not arrived).
|
| |
| bool | hasFaaModeIndicator () const noexcept |
| | Return whether FAA mode indicator is present.
|
| |
| std::optional< char > | getFaaModeIndicator () const noexcept |
| | Get optional FAA mode indicator (NMEA 2.3+).
|
| |
| std::string | getStringContent (bool verbose) const noexcept override |
| | Return a human-readable string representation of this message.
|
| |
| bool | operator== (const RMB &other) const noexcept |
| | Compare two RMB 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 RMB (Recommended Minimum Navigation Information) sentence.
RMB is emitted when a destination waypoint is active and carries cross-track error, waypoint IDs, destination coordinates, range/bearing, closing velocity, arrival status, and (for NMEA 2.3+) an optional FAA mode indicator.
Sentence formats:
$--
RMB,A,x.x,a,c--c,c--c,llll.ll,a,yyyyy.yy,a,x.x,x.x,x.x,A*hh<CR><LF>
$--
RMB,A,x.x,a,c--c,c--c,llll.ll,a,yyyyy.yy,a,x.x,x.x,x.x,A,m*hh<CR><LF>
Represents a parsed NMEA 0183 RMB (Recommended Minimum Navigation Information) sentence.
Definition at line 41 of file rmb.h.