Main MRPT website > C++ reference for MRPT 1.4.0
List of all members | Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions
mrpt::obs::gnss::Message_NV_OEM6_RANGECMP Struct Reference

Detailed Description

Novatel frame: NV_OEM6_RANGECMP.

See also
mrpt::obs::CObservationGPS

Definition at line 234 of file gnss_messages_novatel.h.

#include <mrpt/obs/gnss_messages_novatel.h>

Inheritance diagram for mrpt::obs::gnss::Message_NV_OEM6_RANGECMP:
Inheritance graph

Classes

struct  TCompressedRangeLog
 

Public Member Functions

 Message_NV_OEM6_RANGECMP ()
 
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_messagereadAndBuildFromStream (mrpt::utils::CStream &in)
 Load from binary stream and creates object detecting its type (class factory). Launches an exception upon error.
 
static gnss_messageFactory (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.
 
uint32_t num_obs
 
std::vector< TCompressedRangeLogobs_data
 
uint32_t crc
 
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.
 

Constructor & Destructor Documentation

◆ Message_NV_OEM6_RANGECMP()

mrpt::obs::gnss::Message_NV_OEM6_RANGECMP::Message_NV_OEM6_RANGECMP ( )
inline

Definition at line 236 of file gnss_messages_novatel.h.

References mrpt::obs::gnss::NV_OEM6_RANGECMP.

Member Function Documentation

◆ dumpToConsole()

void mrpt::obs::gnss::gnss_message::dumpToConsole ( std::ostream &  o = std::cout) const
inherited

Dumps the contents of the observation in a human-readable form to an std::ostream (default=console)

◆ dumpToStream()

void mrpt::obs::gnss::Message_NV_OEM6_RANGECMP::dumpToStream ( mrpt::utils::CStream out) const
virtual

Dumps the contents of the observation in a human-readable form to a given output stream.

See also
dumpToConsole()

Implements mrpt::obs::gnss::gnss_message.

◆ Factory()

static gnss_message * mrpt::obs::gnss::gnss_message::Factory ( const gnss_message_type_t  msg_id)
staticinherited

Creates message.

Returns
NULL on unknown msg type

◆ FactoryKnowsMsgType()

static bool mrpt::obs::gnss::gnss_message::FactoryKnowsMsgType ( const gnss_message_type_t  msg_id)
staticinherited

Returns true if Factory() has a registered constructor for this msg type.

◆ getAllFieldDescriptions()

virtual bool mrpt::obs::gnss::gnss_message::getAllFieldDescriptions ( std::ostream &  o) const
inlinevirtualinherited

◆ getAllFieldValues()

virtual bool mrpt::obs::gnss::gnss_message::getAllFieldValues ( std::ostream &  o) const
inlinevirtualinherited

Dumps a line with the sequence of all field values (without a line feed at the end).

See also
getAllFieldDescriptions()
Returns
false if not implemented for this message type

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.

◆ getMessageTypeAsString()

const std::string & mrpt::obs::gnss::gnss_message::getMessageTypeAsString ( ) const
inherited

Returns "NMEA_GGA", etc.

◆ internal_readFromStream()

void mrpt::obs::gnss::Message_NV_OEM6_RANGECMP::internal_readFromStream ( mrpt::utils::CStream in)
protectedvirtual

Save to binary stream. Launches an exception upon error.

Implements mrpt::obs::gnss::gnss_message.

◆ internal_writeToStream()

void mrpt::obs::gnss::Message_NV_OEM6_RANGECMP::internal_writeToStream ( mrpt::utils::CStream out) const
protectedvirtual

Save to binary stream. Launches an exception upon error.

Implements mrpt::obs::gnss::gnss_message.

◆ isOfClass()

template<class MSG_CLASS >
bool mrpt::obs::gnss::gnss_message::isOfClass ( ) const
inlineinherited

Definition at line 33 of file gnss_messages_common.h.

◆ isOfType()

bool mrpt::obs::gnss::gnss_message::isOfType ( const gnss_message_type_t  type_id) const
inherited

◆ readAndBuildFromStream()

static gnss_message * mrpt::obs::gnss::gnss_message::readAndBuildFromStream ( mrpt::utils::CStream in)
staticinherited

Load from binary stream and creates object detecting its type (class factory). Launches an exception upon error.

◆ readFromStream()

void mrpt::obs::gnss::gnss_message::readFromStream ( mrpt::utils::CStream in)
inherited

Load from binary stream into this existing object. Launches an exception upon error.

◆ writeToStream()

void mrpt::obs::gnss::gnss_message::writeToStream ( mrpt::utils::CStream out) const
inherited

Save to binary stream. Launches an exception upon error.

Member Data Documentation

◆ crc

uint32_t mrpt::obs::gnss::Message_NV_OEM6_RANGECMP::crc

Definition at line 245 of file gnss_messages_novatel.h.

◆ header

nv_oem6_header_t mrpt::obs::gnss::Message_NV_OEM6_RANGECMP::header

Frame header.

Definition at line 242 of file gnss_messages_novatel.h.

◆ message_type

gnss_message_type_t mrpt::obs::gnss::gnss_message::message_type
inherited

Type of GNSS message.

Definition at line 25 of file gnss_messages_common.h.

◆ num_obs

uint32_t mrpt::obs::gnss::Message_NV_OEM6_RANGECMP::num_obs

Definition at line 243 of file gnss_messages_novatel.h.

◆ obs_data

std::vector<TCompressedRangeLog> mrpt::obs::gnss::Message_NV_OEM6_RANGECMP::obs_data

Definition at line 244 of file gnss_messages_novatel.h.




Page generated by Doxygen 1.9.6 for MRPT 1.4.0 SVN: at Wed Mar 22 04:35:51 UTC 2023