Novatel frame: NV_OEM6_RANGECMP.
Definition at line 302 of file gnss_messages_novatel.h.
#include <mrpt/obs/gnss_messages_novatel.h>
Classes | |
struct | TCompressedRangeLog |
Public Member Functions | |
Message_NV_OEM6_RANGECMP () | |
void | dumpToStream (mrpt::utils::CStream &out) const override |
Dumps the contents of the observation in a human-readable form to a given output stream. More... | |
void | writeToStream (mrpt::utils::CStream &out) const |
Save to binary stream. More... | |
void | readFromStream (mrpt::utils::CStream &in) |
Load from binary stream into this existing object. More... | |
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) More... | |
virtual bool | getAllFieldDescriptions (std::ostream &o) const |
Dumps a header for getAllFieldValues() More... | |
virtual bool | getAllFieldValues (std::ostream &o) const |
Dumps a line with the sequence of all field values (without a line feed at the end). More... | |
const std::string & | getMessageTypeAsString () const |
Returns "NMEA_GGA", etc. More... | |
Static Public Member Functions | |
static gnss_message * | readAndBuildFromStream (mrpt::utils::CStream &in) |
Load from binary stream and creates object detecting its type (class factory). More... | |
static gnss_message * | Factory (const gnss_message_type_t msg_id) |
Creates message. More... | |
static bool | FactoryKnowsMsgType (const gnss_message_type_t msg_id) |
Returns true if Factory() has a registered constructor for this msg type. More... | |
Public Attributes | |
nv_oem6_header_t | header |
Frame header. More... | |
uint32_t | num_obs |
std::vector< TCompressedRangeLog > | obs_data |
uint32_t | crc |
gnss_message_type_t | message_type |
Type of GNSS message. More... | |
Protected Member Functions | |
void | internal_writeToStream (mrpt::utils::CStream &out) const override |
Save to binary stream. More... | |
void | internal_readFromStream (mrpt::utils::CStream &in) override |
Save to binary stream. More... | |
|
inline |
Definition at line 304 of file gnss_messages_novatel.h.
|
inherited |
Dumps the contents of the observation in a human-readable form to an std::ostream (default=console)
|
overridevirtual |
Dumps the contents of the observation in a human-readable form to a given output stream.
Implements mrpt::obs::gnss::gnss_message.
Definition at line 337 of file gnss_messages_novatel.cpp.
References num_obs, and mrpt::utils::CStream::printf().
|
staticinherited |
Creates message.
Definition at line 46 of file gnss_messages_common.cpp.
References LIST_ALL_MSGS.
|
staticinherited |
Returns true if Factory() has a registered constructor for this msg type.
Definition at line 59 of file gnss_messages_common.cpp.
References LIST_ALL_MSGS.
|
inlinevirtualinherited |
Dumps a header for getAllFieldValues()
Reimplemented in mrpt::obs::gnss::Message_NMEA_ZDA, mrpt::obs::gnss::Message_NMEA_VTG, mrpt::obs::gnss::Message_NMEA_RMC, mrpt::obs::gnss::Message_NMEA_GLL, and mrpt::obs::gnss::Message_NMEA_GGA.
Definition at line 62 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_ZDA, mrpt::obs::gnss::Message_NMEA_VTG, mrpt::obs::gnss::Message_NMEA_RMC, mrpt::obs::gnss::Message_NMEA_GLL, and mrpt::obs::gnss::Message_NMEA_GGA.
Definition at line 69 of file gnss_messages_common.h.
|
inherited |
Returns "NMEA_GGA", etc.
Definition at line 73 of file gnss_messages_common.cpp.
References LIST_ALL_MSGS.
Referenced by mrpt::hwdrivers::CGPSInterface::implement_parser_NOVATEL_OEM6().
|
overrideprotectedvirtual |
Save to binary stream.
Launches an exception upon error
Implements mrpt::obs::gnss::gnss_message.
Definition at line 357 of file gnss_messages_novatel.cpp.
References ASSERT_BELOW_, header, num_obs, and obs_data.
|
overrideprotectedvirtual |
Save to binary stream.
Launches an exception upon error
Implements mrpt::obs::gnss::gnss_message.
Definition at line 345 of file gnss_messages_novatel.cpp.
References ASSERT_EQUAL_, header, mrpt::obs::gnss::nv_oem6_header_t::msg_len, num_obs, obs_data, and mrpt::utils::CStream::WriteBuffer().
|
inlineinherited |
Definition at line 40 of file gnss_messages_common.h.
References mrpt::obs::gnss::gnss_message::isOfType().
|
inherited |
Referenced by mrpt::obs::gnss::gnss_message::isOfClass().
|
staticinherited |
Load from binary stream and creates object detecting its type (class factory).
Launches an exception upon error
Definition at line 107 of file gnss_messages_common.cpp.
References mrpt::obs::gnss::gnss_message::internal_readFromStream(), and THROW_EXCEPTION_FMT.
Referenced by mrpt::obs::gnss::gnss_message_ptr::gnss_message_ptr(), and mrpt::obs::gnss::gnss_message_ptr::operator=().
|
inherited |
Load from binary stream into this existing object.
Launches an exception upon error.
Definition at line 97 of file gnss_messages_common.cpp.
References ASSERT_EQUAL_.
|
inherited |
Save to binary stream.
Launches an exception upon error
Definition at line 89 of file gnss_messages_common.cpp.
Referenced by mrpt::obs::gnss::gnss_message_ptr::gnss_message_ptr(), and mrpt::obs::gnss::gnss_message_ptr::operator=().
uint32_t mrpt::obs::gnss::Message_NV_OEM6_RANGECMP::crc |
Definition at line 317 of file gnss_messages_novatel.h.
nv_oem6_header_t mrpt::obs::gnss::Message_NV_OEM6_RANGECMP::header |
Frame header.
Definition at line 314 of file gnss_messages_novatel.h.
Referenced by internal_readFromStream(), and internal_writeToStream().
|
inherited |
Type of GNSS message.
Definition at line 29 of file gnss_messages_common.h.
Referenced by mrpt::hwdrivers::CGPSInterface::implement_parser_NOVATEL_OEM6(), and mrpt::obs::CObservationGPS::readFromStream().
uint32_t mrpt::obs::gnss::Message_NV_OEM6_RANGECMP::num_obs |
Definition at line 315 of file gnss_messages_novatel.h.
Referenced by dumpToStream(), internal_readFromStream(), and internal_writeToStream().
std::vector<TCompressedRangeLog> mrpt::obs::gnss::Message_NV_OEM6_RANGECMP::obs_data |
Definition at line 316 of file gnss_messages_novatel.h.
Referenced by internal_readFromStream(), and internal_writeToStream().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |