Ginan
Loading...
Searching...
No Matches
rtcmDecoder.hpp File Reference

Data Structures

struct  SignalInfo
 
struct  RtcmDecoder
 

Functions

unsigned int getbitu (const unsigned char *buff, int pos, int len)
 extract unsigned bits from byte data
 
int getbits (const unsigned char *buff, int pos, int len, bool *failure_ptr=nullptr)
 extract signed bits from byte data
 
unsigned int getbituInc (const unsigned char *buff, int &pos, int len)
 increasingly extract unsigned bits from byte data
 
int getbitsInc (const unsigned char *buff, int &pos, int len, bool *failure_ptr=nullptr)
 increasingly extract signed bits from byte data
 
int getbitg (const unsigned char *buff, int pos, int len)
 extract sign-magnitude bits applied in GLO nav messages from byte data
 
int getbitgInc (const unsigned char *buff, int &pos, int len)
 increasingly extract sign-magnitude bits applied in GLO nav messages from byte data
 
int getbitgInc (vector< unsigned char > &buff, int &pos, int len)
 increasingly extract sign-magnitude bits applied in GLO nav messages from RTCM messages
 
unsigned int getbitu (vector< unsigned char > &buff, int pos, int len)
 extract unsigned bits from RTCM messages
 
unsigned int getbituInc (vector< unsigned char > &buff, int &pos, int len)
 increasingly extract unsigned bits from RTCM messages
 
int getbitsInc (vector< unsigned char > &buff, int &pos, int len, bool *failure_ptr=nullptr)
 increasingly extract signed bits from RTCM messages
 
double getbituIncScale (vector< unsigned char > &buff, int &pos, int len, double scale)
 increasingly extract unsigned bits from RTCM messages with scale factor/resolution applied
 
double getbitsIncScale (vector< unsigned char > &buff, int &pos, int len, double scale, bool *failure_ptr=nullptr)
 increasingly extract signed bits from RTCM messages with scale factor/resolution applied
 

Function Documentation

◆ getbitg()

int getbitg ( const unsigned char * buff,
int pos,
int len )

extract sign-magnitude bits applied in GLO nav messages from byte data

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getbitgInc() [1/2]

int getbitgInc ( const unsigned char * buff,
int & pos,
int len )

increasingly extract sign-magnitude bits applied in GLO nav messages from byte data

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getbitgInc() [2/2]

int getbitgInc ( vector< unsigned char > & buff,
int & pos,
int len )

increasingly extract sign-magnitude bits applied in GLO nav messages from RTCM messages

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
Here is the call graph for this function:

◆ getbits()

int getbits ( const unsigned char * buff,
int pos,
int len,
bool * failure_ptr = nullptr )

extract signed bits from byte data

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
failure_ptrpointer for failure flag
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getbitsInc() [1/2]

int getbitsInc ( const unsigned char * buff,
int & pos,
int len,
bool * failure_ptr = nullptr )

increasingly extract signed bits from byte data

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
failure_ptrpointer for failure flag
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getbitsInc() [2/2]

int getbitsInc ( vector< unsigned char > & buff,
int & pos,
int len,
bool * failure_ptr = nullptr )

increasingly extract signed bits from RTCM messages

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
failure_ptrpointer for failure flag
Here is the call graph for this function:

◆ getbitsIncScale()

double getbitsIncScale ( vector< unsigned char > & buff,
int & pos,
int len,
double scale,
bool * failure_ptr = nullptr )

increasingly extract signed bits from RTCM messages with scale factor/resolution applied

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
scalescale factor/resolution
failure_ptrpointer for failure flag
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getbitu() [1/2]

unsigned int getbitu ( const unsigned char * buff,
int pos,
int len )

extract unsigned bits from byte data

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
Here is the caller graph for this function:

◆ getbitu() [2/2]

unsigned int getbitu ( vector< unsigned char > & buff,
int pos,
int len )

extract unsigned bits from RTCM messages

Parameters
buffRTCM messages
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
Here is the call graph for this function:

◆ getbituInc() [1/2]

unsigned int getbituInc ( const unsigned char * buff,
int & pos,
int len )

increasingly extract unsigned bits from byte data

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getbituInc() [2/2]

unsigned int getbituInc ( vector< unsigned char > & buff,
int & pos,
int len )

increasingly extract unsigned bits from RTCM messages

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
Here is the call graph for this function:

◆ getbituIncScale()

double getbituIncScale ( vector< unsigned char > & buff,
int & pos,
int len,
double scale )

increasingly extract unsigned bits from RTCM messages with scale factor/resolution applied

Parameters
buffbyte data
posbit position from start of data (bits)
lenbit length (bits) (len<=32)
scalescale factor/resolution
Here is the call graph for this function:
Here is the caller graph for this function: