|
| | VWR (std::string talkerId, double windAngle, char windSide, double speedKnots, double speedMps, double speedKph) |
| | Construct a VWR sentence from individual field values.
|
| |
| | VWR (const VWR &)=default |
| |
| VWR & | operator= (const VWR &)=default |
| |
| | VWR (VWR &&) noexcept=default |
| |
| VWR & | operator= (VWR &&) noexcept=default |
| |
| | ~VWR () override=default |
| |
| std::unique_ptr< nmealib::Message > | clone () const override |
| | Creates a polymorphic deep copy of this Message0183.
|
| |
| double | getWindAngle () const noexcept |
| | Returns the wind direction magnitude in degrees (0–180).
|
| |
| char | getWindSide () const noexcept |
| | Returns the wind direction side relative to the vessel.
|
| |
| double | getSpeedKnots () const noexcept |
| | Returns the wind speed in knots.
|
| |
| char | getSpeedKnotsUnit () const noexcept |
| | Returns the knots unit indicator character.
|
| |
| double | getSpeedMps () const noexcept |
| | Returns the wind speed in meters per second.
|
| |
| char | getSpeedMpsUnit () const noexcept |
| | Returns the meters-per-second unit indicator character.
|
| |
| double | getSpeedKph () const noexcept |
| | Returns the wind speed in kilometers per hour.
|
| |
| char | getSpeedKphUnit () const noexcept |
| | Returns the kilometers-per-hour unit indicator character.
|
| |
| std::string | getStringContent (bool verbose) const noexcept override |
| | Returns a human-readable string representation of the message content.
|
| |
| bool | operator== (const VWR &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.
|
| |
| 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 VWR sentence (Relative Wind Speed and Angle).
The VWR sentence reports wind speed and direction relative to the vessel.
Sentence format:
$--
VWR,x.x,a,x.x,N,x.x,M,x.x,K*hh
Represents a parsed NMEA 0183 VWR sentence (Relative Wind Speed and Angle).
Fields:
- Wind direction magnitude in degrees (0–180)
- Wind direction side: L = Left (port), R = Right (starboard)
- Wind speed in knots
- N (knots unit indicator)
- Wind speed in meters per second
- M (m/s unit indicator)
- Wind speed in kilometers per hour
- K (km/h unit indicator)
Definition at line 37 of file vwr.h.