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

Abstract base class for both NMEA-0183 and binary messages. More...

#include <GNSS.hh>

+ Inheritance diagram for GNSS::Message:

Public Types

typedef std::shared_ptr< Messageptr
 

Public Member Functions

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

Abstract base class for both NMEA-0183 and binary messages.

Definition at line 29 of file GNSS.hh.

Member Typedef Documentation

typedef std::shared_ptr<Message> GNSS::Message::ptr

Definition at line 47 of file GNSS.hh.

Constructor & Destructor Documentation

virtual GNSS::Message::~Message ( )
inlinevirtual

Virtual destructor to force polymorphism.

Definition at line 32 of file GNSS.hh.

Member Function Documentation

template<typename T >
T* GNSS::Message::cast_as ( void  )
inline

Recast this object to another type.

Definition at line 40 of file GNSS.hh.

template<typename T >
bool GNSS::Message::isa ( void  ) const
inline

Check the type of an object.

Definition at line 36 of file GNSS.hh.


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