NMEA datum: GGA.
Definition at line 21 of file gnss_messages_ascii_nmea.h.
#include <mrpt/obs/gnss_messages_ascii_nmea.h>
Classes | |
struct | content_t |
Public Types | |
enum | { msg_type = NMEA_GGA } |
Public Member Functions | |
Message_NMEA_GGA () | |
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. More... | |
template<class TGEODETICCOORDS > | |
TGEODETICCOORDS | getOrthoAsStruct () const |
Return the geodetic coords as a mrpt::topography::TGeodeticCoords structure (requires linking against mrpt-topography) Call as: getAsStruct<TGeodeticCoords>();. More... | |
template<class TGEODETICCOORDS > | |
TGEODETICCOORDS | getCorrectedOrthoAsStruct () const |
Return the corrected geodetic coords as a mrpt::topography::TGeodeticCoords structure (requires linking against mrpt-topography) Call as: getAsStruct<TGeodeticCoords>();. More... | |
template<class TGEODETICCOORDS > | |
TGEODETICCOORDS | getAsStruct () const |
Return the geodetic coords as a mrpt::topography::TGeodeticCoords structure (requires linking against mrpt-topography) Call as: getAsStruct<TGeodeticCoords>();. More... | |
bool | getAllFieldDescriptions (std::ostream &o) const MRPT_OVERRIDE |
Dumps a header for getAllFieldValues() More... | |
bool | getAllFieldValues (std::ostream &o) const MRPT_OVERRIDE |
Dumps a line with the sequence of all field values (without a line feed at the end). More... | |
void | writeToStream (mrpt::utils::CStream &out) const |
Save to binary stream. Launches an exception upon error. More... | |
void | readFromStream (mrpt::utils::CStream &in) |
Load from binary stream into this existing object. Launches an exception upon error. 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... | |
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). Launches an exception upon error. 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 | |
content_t | fields |
Message content, accesible by individual fields. More... | |
gnss_message_type_t | message_type |
Type of GNSS message. More... | |
Protected Member Functions | |
virtual void | internal_writeToStream (mrpt::utils::CStream &out) const =0 |
Save to binary stream. Launches an exception upon error. More... | |
virtual void | internal_readFromStream (mrpt::utils::CStream &in)=0 |
Save to binary stream. Launches an exception upon error. More... | |
anonymous enum |
Enumerator | |
---|---|
msg_type |
Definition at line 24 of file gnss_messages_ascii_nmea.h.
|
inline |
Definition at line 25 of file gnss_messages_ascii_nmea.h.
|
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.
|
virtual |
Dumps a header for getAllFieldValues()
Reimplemented from mrpt::obs::gnss::gnss_message.
|
virtual |
Dumps a line with the sequence of all field values (without a line feed at the end).
Reimplemented from mrpt::obs::gnss::gnss_message.
|
inline |
Return the geodetic coords as a mrpt::topography::TGeodeticCoords structure (requires linking against mrpt-topography) Call as: getAsStruct<TGeodeticCoords>();.
Definition at line 63 of file gnss_messages_ascii_nmea.h.
References mrpt::obs::gnss::Message_NMEA_GGA::content_t::altitude_meters, mrpt::obs::gnss::Message_NMEA_GGA::content_t::latitude_degrees, and mrpt::obs::gnss::Message_NMEA_GGA::content_t::longitude_degrees.
|
inline |
Return the corrected geodetic coords as a mrpt::topography::TGeodeticCoords structure (requires linking against mrpt-topography) Call as: getAsStruct<TGeodeticCoords>();.
Definition at line 57 of file gnss_messages_ascii_nmea.h.
References mrpt::obs::gnss::Message_NMEA_GGA::content_t::corrected_orthometric_altitude, mrpt::obs::gnss::Message_NMEA_GGA::content_t::latitude_degrees, and mrpt::obs::gnss::Message_NMEA_GGA::content_t::longitude_degrees.
|
inherited |
Returns "NMEA_GGA", etc.
|
inline |
Return the geodetic coords as a mrpt::topography::TGeodeticCoords structure (requires linking against mrpt-topography) Call as: getAsStruct<TGeodeticCoords>();.
Definition at line 51 of file gnss_messages_ascii_nmea.h.
References mrpt::obs::gnss::Message_NMEA_GGA::content_t::latitude_degrees, mrpt::obs::gnss::Message_NMEA_GGA::content_t::longitude_degrees, and mrpt::obs::gnss::Message_NMEA_GGA::content_t::orthometric_altitude.
|
protectedpure virtualinherited |
Save to binary stream. Launches an exception upon error.
Implemented in mrpt::obs::gnss::Message_TOPCON_SATS, mrpt::obs::gnss::Message_TOPCON_PZS, mrpt::obs::gnss::Message_NV_OEM6_VERSION, mrpt::obs::gnss::Message_NV_OEM6_RANGECMP, mrpt::obs::gnss::Message_NV_OEM6_GENERIC_SHORT_FRAME, and mrpt::obs::gnss::Message_NV_OEM6_GENERIC_FRAME.
|
protectedpure virtualinherited |
Save to binary stream. Launches an exception upon error.
Implemented in mrpt::obs::gnss::Message_TOPCON_SATS, mrpt::obs::gnss::Message_TOPCON_PZS, mrpt::obs::gnss::Message_NV_OEM6_VERSION, mrpt::obs::gnss::Message_NV_OEM6_RANGECMP, mrpt::obs::gnss::Message_NV_OEM6_GENERIC_SHORT_FRAME, and mrpt::obs::gnss::Message_NV_OEM6_GENERIC_FRAME.
|
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.
content_t mrpt::obs::gnss::Message_NMEA_GGA::fields |
Message content, accesible by individual fields.
Definition at line 44 of file gnss_messages_ascii_nmea.h.
|
inherited |
Type of GNSS message.
Definition at line 25 of file gnss_messages_common.h.
Page generated by Doxygen 1.9.1 for MRPT 1.4.0 SVN: at Mon Apr 18 03:56:21 UTC 2022 |