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

SUBFRAME - Sub frame buffer data. More...

#include <SkyTraqBin_outputs.hh>

+ Inheritance diagram for SkyTraqBin::GPS_subframe_data:

Public Member Functions

 GPS_subframe_data (unsigned char *payload, Payload_length payload_len)
 Constructor from a binary buffer. More...
 
const uint8_t PRN (void) const
 
const uint8_t subframe_num (void) const
 
const uint8_t * bytes (void) const
 
const uint8_t byte (int i) const
 
template<typename T >
const T data (uint8_t start, uint8_t len=sizeof(T)*8) const
 Extract arbitrary bits from the subframe buffer. More...
 
- Public Member Functions inherited from SkyTraqBin::Output_message
 Output_message (unsigned char *payload, Payload_length payload_len)
 Constructor from a binary buffer. More...
 
- Public Member Functions inherited from SkyTraqBin::Message
const uint8_t message_id (void) const
 Getter method for the message ID. More...
 
- 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...
 

Additional Inherited Members

- Public Types inherited from SkyTraqBin::Output_message
typedef std::shared_ptr< Output_messageptr
 
- Public Types inherited from GNSS::Message
typedef std::shared_ptr< Messageptr
 
- Protected Member Functions inherited from SkyTraqBin::Message
 Message (uint8_t id)
 Constructor. More...
 
- Protected Attributes inherited from SkyTraqBin::Message
uint8_t _msg_id
 

Detailed Description

SUBFRAME - Sub frame buffer data.

Periodic message only on NavSpark-Raws

Definition at line 618 of file SkyTraqBin_outputs.hh.

Constructor & Destructor Documentation

SkyTraqBin::GPS_subframe_data::GPS_subframe_data ( unsigned char *  payload,
Payload_length  payload_len 
)

Constructor from a binary buffer.

Definition at line 277 of file SkyTraqBin_outputs.cc.

Member Function Documentation

const uint8_t SkyTraqBin::GPS_subframe_data::byte ( int  i) const
inline

Definition at line 630 of file SkyTraqBin_outputs.hh.

const uint8_t* SkyTraqBin::GPS_subframe_data::bytes ( void  ) const
inline

Definition at line 629 of file SkyTraqBin_outputs.hh.

template<typename T >
const T SkyTraqBin::GPS_subframe_data::data ( uint8_t  start,
uint8_t  len = sizeof(T) * 8 
) const
inline

Extract arbitrary bits from the subframe buffer.

Parameters
startBit index to start at
lenNumber of bits to extract, defaults to size of template argument

Definition at line 642 of file SkyTraqBin_outputs.hh.

const uint8_t SkyTraqBin::GPS_subframe_data::PRN ( void  ) const
inline

Definition at line 627 of file SkyTraqBin_outputs.hh.

const uint8_t SkyTraqBin::GPS_subframe_data::subframe_num ( void  ) const
inline

Definition at line 628 of file SkyTraqBin_outputs.hh.


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