|
nmealib 0.0.4
NMEA 0183/NMEA 2000 parsing library
|
#include <nmea2000Factory.h>
Static Public Member Functions | |
| static std::unique_ptr< Message2000 > | create (const std::string &raw, Message::TimePoint ts=std::chrono::system_clock::now()) |
| Create a Message2000 from a raw CAN frame string. | |
Definition at line 11 of file nmea2000Factory.h.
|
static |
Create a Message2000 from a raw CAN frame string.
Supports multiple input formats:
| raw | The raw CAN frame string in any supported format. |
| ts | Optional timestamp; defaults to the current system time. |
NMEALIB_NO_EXCEPTIONS, returns nullptr on failure. Definition at line 8 of file nmea2000Factory.cpp.