|
| | APB (std::string talkerId, char status1, char status2, double crossTrackErrorMagnitude, char directionToSteer, char crossTrackUnits, char arrivalCircleStatus, char perpendicularPassedAtWaypoint, double bearingOriginToDestination, char bearingOriginToDestinationType, std::string destinationWaypointId, double bearingPresentToDestination, char bearingPresentToDestinationType, double headingToSteerToDestinationWaypoint, char headingToSteerToDestinationWaypointType) |
| | Construct an APB message from individual field values.
|
| |
| | APB (const APB &)=default |
| |
| APB & | operator= (const APB &)=default |
| |
| | APB (APB &&) noexcept=default |
| |
| APB & | operator= (APB &&) noexcept=default |
| |
| | ~APB () override=default |
| |
| std::unique_ptr< nmealib::Message > | clone () const override |
| | Create a polymorphic copy of this APB message.
|
| |
| char | getStatus1 () const noexcept |
| | Get primary APB status flag.
|
| |
| char | getStatus2 () const noexcept |
| | Get secondary APB status flag.
|
| |
| double | getCrossTrackErrorMagnitude () const noexcept |
| | Get cross-track error magnitude in nautical miles.
|
| |
| char | getDirectionToSteer () const noexcept |
| | Get steering direction indicator ('L' or 'R').
|
| |
| char | getCrossTrackUnits () const noexcept |
| | Get cross-track units indicator.
|
| |
| char | getArrivalCircleStatus () const noexcept |
| | Get arrival circle status flag.
|
| |
| char | getPerpendicularPassedAtWaypoint () const noexcept |
| | Get perpendicular-passed status flag.
|
| |
| double | getBearingOriginToDestination () const noexcept |
| | Get bearing from origin to destination.
|
| |
| char | getBearingOriginToDestinationType () const noexcept |
| | Get bearing type for origin-to-destination ('M' or 'T').
|
| |
| std::string | getDestinationWaypointId () const noexcept |
| | Get destination waypoint identifier.
|
| |
| double | getBearingPresentToDestination () const noexcept |
| | Get bearing from present position to destination.
|
| |
| char | getBearingPresentToDestinationType () const noexcept |
| | Get bearing type for present-to-destination ('M' or 'T').
|
| |
| double | getHeadingToSteerToDestinationWaypoint () const noexcept |
| | Get heading to steer to destination waypoint.
|
| |
| char | getHeadingToSteerToDestinationWaypointType () const noexcept |
| | Get heading type for heading-to-steer ('M' or 'T').
|
| |
| std::string | getStringContent (bool verbose) const noexcept override |
| | Return a human-readable string representation of this message.
|
| |
| bool | operator== (const APB &other) const noexcept |
| | Compare two APB 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.
|
| |
| 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 APB (Autopilot Sentence "B") sentence.
APB contains cross-track error, steering direction, waypoint arrival flags, and bearings/headings used by autopilot systems.
Sentence format:
$--
APB,A,A,x.x,a,N,A,A,x.x,a,c--c,x.x,a,x.x,a*hh<CR><LF>
Represents a parsed NMEA 0183 APB (Autopilot Sentence "B") sentence.
Definition at line 37 of file apb.h.