TopCon mmGPS devices: SATS, a generic structure for statistics about tracked satelites and their positions.
Definition at line 63 of file gnss_messages_topcon.h.
#include <mrpt/obs/gnss_messages_topcon.h>
Public Types | |
enum | { msg_type = TOPCON_SATS } |
Public Member Functions | |
Message_TOPCON_SATS () | |
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... | |
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... | |
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). 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 | |
mrpt::vector_byte | USIs |
The list of USI (Universal Sat ID) for the detected sats (See GRIL Manual, pag 4-31). More... | |
mrpt::vector_signed_byte | ELs |
Elevation (in degrees, 0-90) for each satellite in USIs. More... | |
mrpt::vector_signed_word | AZs |
Azimuth (in degrees, 0-360) for each satellite in USIs. More... | |
gnss_message_type_t | message_type |
Type of GNSS message. More... | |
Protected Member Functions | |
void | internal_writeToStream (mrpt::utils::CStream &out) const MRPT_OVERRIDE |
Save to binary stream. Launches an exception upon error. More... | |
void | internal_readFromStream (mrpt::utils::CStream &in) MRPT_OVERRIDE |
Save to binary stream. Launches an exception upon error. More... | |
anonymous enum |
Enumerator | |
---|---|
msg_type |
Definition at line 65 of file gnss_messages_topcon.h.
Message_TOPCON_SATS::Message_TOPCON_SATS | ( | ) |
Definition at line 109 of file gnss_messages_topcon.cpp.
|
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.
Definition at line 114 of file gnss_messages_topcon.cpp.
References ASSERT_, AZs, ELs, mrpt::utils::CStream::printf(), and USIs.
|
staticinherited |
Creates message.
Definition at line 47 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 58 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 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_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 42 of file gnss_messages_common.h.
|
inherited |
Returns "NMEA_GGA", etc.
Definition at line 70 of file gnss_messages_common.cpp.
References LIST_ALL_MSGS.
Referenced by mrpt::hwdrivers::CGPSInterface::implement_parser_NOVATEL_OEM6().
|
protectedvirtual |
Save to binary stream. Launches an exception upon error.
Implements mrpt::obs::gnss::gnss_message.
Definition at line 129 of file gnss_messages_topcon.cpp.
|
protectedvirtual |
Save to binary stream. Launches an exception upon error.
Implements mrpt::obs::gnss::gnss_message.
Definition at line 124 of file gnss_messages_topcon.cpp.
|
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.
Definition at line 104 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 95 of file gnss_messages_common.cpp.
References ASSERT_EQUAL_.
|
inherited |
Save to binary stream. Launches an exception upon error.
Definition at line 87 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=().
mrpt::vector_signed_word mrpt::obs::gnss::Message_TOPCON_SATS::AZs |
Azimuth (in degrees, 0-360) for each satellite in USIs.
Definition at line 71 of file gnss_messages_topcon.h.
Referenced by dumpToStream(), internal_readFromStream(), internal_writeToStream(), and mrpt::obs::CObservationGPS::readFromStream().
mrpt::vector_signed_byte mrpt::obs::gnss::Message_TOPCON_SATS::ELs |
Elevation (in degrees, 0-90) for each satellite in USIs.
Definition at line 70 of file gnss_messages_topcon.h.
Referenced by dumpToStream(), internal_readFromStream(), internal_writeToStream(), and mrpt::obs::CObservationGPS::readFromStream().
|
inherited |
Type of GNSS message.
Definition at line 25 of file gnss_messages_common.h.
Referenced by mrpt::hwdrivers::CGPSInterface::implement_parser_NOVATEL_OEM6(), and mrpt::obs::CObservationGPS::readFromStream().
mrpt::vector_byte mrpt::obs::gnss::Message_TOPCON_SATS::USIs |
The list of USI (Universal Sat ID) for the detected sats (See GRIL Manual, pag 4-31).
Definition at line 69 of file gnss_messages_topcon.h.
Referenced by dumpToStream(), internal_readFromStream(), internal_writeToStream(), and mrpt::obs::CObservationGPS::readFromStream().
Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019 |