GNSS receiver tools  1
Tools for use with GNSS receivers
NMEA0183::Sentence Class Reference

Base class for holding NMEA-0183 sentence data. More...

#include <NMEA-0183.hh>

+ Inheritance diagram for NMEA0183::Sentence:

Public Types

typedef std::shared_ptr< Sentenceptr
 
- Public Types inherited from GNSS::Message
typedef std::shared_ptr< Messageptr
 

Public Member Functions

 Sentence (std::string tid, std::string type, unsigned char checksum)
 Constructor. More...
 
const std::string talker_id (void) const
 
const std::string type (void) const
 
const unsigned char checksum (void) const
 
- Public Member Functions inherited from GNSS::Message
virtual ~Message ()
 Virtual destructor to force polymorphism. More...
 
template<typename T >
bool isa (void) const
 Check the type of an object. More...
 
template<typename T >
T * cast_as (void)
 Recast this object to another type. More...
 

Detailed Description

Base class for holding NMEA-0183 sentence data.

Definition at line 93 of file NMEA-0183.hh.

Member Typedef Documentation

typedef std::shared_ptr<Sentence> NMEA0183::Sentence::ptr

Definition at line 102 of file NMEA-0183.hh.

Constructor & Destructor Documentation

NMEA0183::Sentence::Sentence ( std::string  tid,
std::string  type,
unsigned char  checksum 
)

Constructor.

Definition at line 66 of file NMEA-0183.cc.

Member Function Documentation

const unsigned char NMEA0183::Sentence::checksum ( void  ) const
inline

Definition at line 106 of file NMEA-0183.hh.

const std::string NMEA0183::Sentence::talker_id ( void  ) const
inline

Definition at line 104 of file NMEA-0183.hh.

const std::string NMEA0183::Sentence::type ( void  ) const
inline

Definition at line 105 of file NMEA-0183.hh.


The documentation for this class was generated from the following files: