Novatel generic frame (to store frames without a parser at the present time).
Definition at line 141 of file gnss_messages_novatel.h.
#include <mrpt/obs/gnss_messages_novatel.h>
Public Member Functions | |
Message_NV_OEM6_GENERIC_FRAME () | |
void | dumpToStream (mrpt::utils::CStream &out) const MRPT_OVERRIDE |
Dumps the contents of the observation in a human-readable form to a given output stream. | |
void | writeToStream (mrpt::utils::CStream &out) const |
Save to binary stream. Launches an exception upon error. | |
void | readFromStream (mrpt::utils::CStream &in) |
Load from binary stream into this existing object. Launches an exception upon error. | |
bool | isOfType (const gnss_message_type_t type_id) const |
template<class MSG_CLASS > | |
bool | isOfClass () const |
void | dumpToConsole (std::ostream &o=std::cout) const |
Dumps the contents of the observation in a human-readable form to an std::ostream (default=console) | |
virtual bool | getAllFieldDescriptions (std::ostream &o) const |
Dumps a header for getAllFieldValues() | |
virtual bool | getAllFieldValues (std::ostream &o) const |
Dumps a line with the sequence of all field values (without a line feed at the end). | |
const std::string & | getMessageTypeAsString () const |
Returns "NMEA_GGA", etc. | |
Static Public Member Functions | |
static gnss_message * | readAndBuildFromStream (mrpt::utils::CStream &in) |
Load from binary stream and creates object detecting its type (class factory). Launches an exception upon error. | |
static gnss_message * | Factory (const gnss_message_type_t msg_id) |
Creates message. | |
static bool | FactoryKnowsMsgType (const gnss_message_type_t msg_id) |
Returns true if Factory() has a registered constructor for this msg type. | |
Public Attributes | |
nv_oem6_header_t | header |
Frame header. | |
std::vector< uint8_t > | msg_body |
gnss_message_type_t | message_type |
Type of GNSS message. | |
Protected Member Functions | |
void | internal_writeToStream (mrpt::utils::CStream &out) const MRPT_OVERRIDE |
Save to binary stream. Launches an exception upon error. | |
void | internal_readFromStream (mrpt::utils::CStream &in) MRPT_OVERRIDE |
Save to binary stream. Launches an exception upon error. | |
|
inline |
Definition at line 143 of file gnss_messages_novatel.h.
References mrpt::obs::gnss::NV_OEM6_GENERIC_FRAME.
|
inherited |
Dumps the contents of the observation in a human-readable form to an std::ostream (default=console)
|
virtual |
Dumps the contents of the observation in a human-readable form to a given output stream.
Implements mrpt::obs::gnss::gnss_message.
|
staticinherited |
Creates message.
|
staticinherited |
Returns true if Factory() has a registered constructor for this msg type.
|
inlinevirtualinherited |
Dumps a header for getAllFieldValues()
Reimplemented in mrpt::obs::gnss::Message_NMEA_GGA, mrpt::obs::gnss::Message_NMEA_GLL, mrpt::obs::gnss::Message_NMEA_RMC, mrpt::obs::gnss::Message_NMEA_VTG, and mrpt::obs::gnss::Message_NMEA_ZDA.
Definition at line 41 of file gnss_messages_common.h.
|
inlinevirtualinherited |
Dumps a line with the sequence of all field values (without a line feed at the end).
Reimplemented in mrpt::obs::gnss::Message_NMEA_GGA, mrpt::obs::gnss::Message_NMEA_GLL, mrpt::obs::gnss::Message_NMEA_RMC, mrpt::obs::gnss::Message_NMEA_VTG, and mrpt::obs::gnss::Message_NMEA_ZDA.
Definition at line 42 of file gnss_messages_common.h.
|
inherited |
Returns "NMEA_GGA", etc.
|
protectedvirtual |
Save to binary stream. Launches an exception upon error.
Implements mrpt::obs::gnss::gnss_message.
|
protectedvirtual |
Save to binary stream. Launches an exception upon error.
Implements mrpt::obs::gnss::gnss_message.
|
inlineinherited |
Definition at line 33 of file gnss_messages_common.h.
|
inherited |
|
staticinherited |
Load from binary stream and creates object detecting its type (class factory). Launches an exception upon error.
|
inherited |
Load from binary stream into this existing object. Launches an exception upon error.
|
inherited |
Save to binary stream. Launches an exception upon error.
nv_oem6_header_t mrpt::obs::gnss::Message_NV_OEM6_GENERIC_FRAME::header |
Frame header.
Definition at line 145 of file gnss_messages_novatel.h.
|
inherited |
Type of GNSS message.
Definition at line 25 of file gnss_messages_common.h.
std::vector<uint8_t> mrpt::obs::gnss::Message_NV_OEM6_GENERIC_FRAME::msg_body |
Definition at line 146 of file gnss_messages_novatel.h.
Page generated by Doxygen 1.9.7 for MRPT 1.4.0 SVN: at Tue Jun 27 15:23:24 UTC 2023 |