NMEA datum: ZDA.
Definition at line 142 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_ZDA } |
Public Member Functions | |
Message_NMEA_ZDA () | |
mrpt::system::TTimeStamp | getDateTimeAsTimestamp () const |
Build an MRPT UTC timestamp with the year/month/day + hour/minute/sec of this observation. More... | |
mrpt::system::TTimeStamp | getDateAsTimestamp () const |
Build an MRPT timestamp with the year/month/day of this observation. More... | |
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... | |
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 145 of file gnss_messages_ascii_nmea.h.
|
inline |
Definition at line 146 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.
mrpt::system::TTimeStamp mrpt::obs::gnss::Message_NMEA_ZDA::getDateAsTimestamp | ( | ) | const |
Build an MRPT timestamp with the year/month/day of this observation.
mrpt::system::TTimeStamp mrpt::obs::gnss::Message_NMEA_ZDA::getDateTimeAsTimestamp | ( | ) | const |
Build an MRPT UTC timestamp with the year/month/day + hour/minute/sec of this observation.
|
inherited |
Returns "NMEA_GGA", etc.
|
protectedpure virtualinherited |
Save to binary stream. Launches an exception upon error.
Implemented in mrpt::obs::gnss::Message_NV_OEM6_VERSION, mrpt::obs::gnss::Message_NV_OEM6_RANGECMP, mrpt::obs::gnss::Message_NV_OEM6_GENERIC_SHORT_FRAME, mrpt::obs::gnss::Message_NV_OEM6_GENERIC_FRAME, mrpt::obs::gnss::Message_TOPCON_SATS, and mrpt::obs::gnss::Message_TOPCON_PZS.
|
protectedpure virtualinherited |
Save to binary stream. Launches an exception upon error.
Implemented in mrpt::obs::gnss::Message_NV_OEM6_VERSION, mrpt::obs::gnss::Message_NV_OEM6_RANGECMP, mrpt::obs::gnss::Message_NV_OEM6_GENERIC_SHORT_FRAME, mrpt::obs::gnss::Message_NV_OEM6_GENERIC_FRAME, mrpt::obs::gnss::Message_TOPCON_SATS, and mrpt::obs::gnss::Message_TOPCON_PZS.
|
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_ZDA::fields |
Message content, accesible by individual fields.
Definition at line 157 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.8.14 for MRPT 1.4.0 SVN: at Mon Mar 5 22:51:34 UTC 2018 |