![]() |
Ginan
|
Data Structures | |
| struct | SignalInfo |
| struct | RtcmStationInfo |
| struct | RtcmDecoder |
Functions | |
| const RtcmStationInfo * | selectRtcmStationInfoForMetadata (const map< int, RtcmStationInfo > &stationInfoMap, int lastReferenceStationId) |
| uint32_t | getbitu (const unsigned char *buff, int pos, int len) |
| extract unsigned bits from byte data | |
| int32_t | getbits (const unsigned char *buff, int pos, int len, bool *failure_ptr=nullptr) |
| extract signed bits from byte data | |
| uint32_t | getbituInc (const unsigned char *buff, int &pos, int len) |
| increasingly extract unsigned bits from byte data | |
| int32_t | getbitsInc (const unsigned char *buff, int &pos, int len, bool *failure_ptr=nullptr) |
| increasingly extract signed bits from byte data | |
| bool | getbituIncChecked (const unsigned char *buff, int buffBits, int &pos, int len, uint32_t &out) |
| Bounds-checked variant of getbituInc(). | |
| bool | getbitsIncChecked (const unsigned char *buff, int buffBits, int &pos, int len, int32_t &out, bool *failure_ptr=nullptr) |
| Bounds-checked variant of getbitsInc(). | |
| int32_t | getbitg (const unsigned char *buff, int pos, int len) |
| extract sign-magnitude bits applied in GLO nav messages from byte data | |
| int32_t | getbitgInc (const unsigned char *buff, int &pos, int len) |
| increasingly extract sign-magnitude bits applied in GLO nav messages from byte data | |
| int32_t | getbitgInc (vector< unsigned char > &buff, int &pos, int len) |
| increasingly extract sign-magnitude bits applied in GLO nav messages from RTCM messages | |
| uint32_t | getbitu (vector< unsigned char > &buff, int pos, int len) |
| extract unsigned bits from RTCM messages | |
| uint32_t | getbituInc (vector< unsigned char > &buff, int &pos, int len) |
| increasingly extract unsigned bits from RTCM messages | |
| int32_t | getbitsInc (vector< unsigned char > &buff, int &pos, int len, bool *failure_ptr=nullptr) |
| increasingly extract signed bits from RTCM messages | |
| bool | getbituIncChecked (vector< unsigned char > &buff, int &pos, int len, uint32_t &out) |
| Vector overload of the bounds-checked unsigned incremental bit reader. | |
| bool | getbitsIncChecked (vector< unsigned char > &buff, int &pos, int len, int32_t &out, bool *failure_ptr=nullptr) |
| Vector overload of the bounds-checked signed incremental bit reader. | |
| 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 | |
| int32_t getbitg | ( | const unsigned char * | buff, |
| int | pos, | ||
| int | len ) |
extract sign-magnitude bits applied in GLO nav messages from byte data
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| int32_t getbitgInc | ( | const unsigned char * | buff, |
| int & | pos, | ||
| int | len ) |
increasingly extract sign-magnitude bits applied in GLO nav messages from byte data
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| int32_t getbitgInc | ( | vector< unsigned char > & | buff, |
| int & | pos, | ||
| int | len ) |
increasingly extract sign-magnitude bits applied in GLO nav messages from RTCM messages
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| int32_t getbits | ( | const unsigned char * | buff, |
| int | pos, | ||
| int | len, | ||
| bool * | failure_ptr = nullptr ) |
extract signed bits from byte data
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| failure_ptr | pointer for failure flag |
| int32_t getbitsInc | ( | const unsigned char * | buff, |
| int & | pos, | ||
| int | len, | ||
| bool * | failure_ptr = nullptr ) |
increasingly extract signed bits from byte data
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| failure_ptr | pointer for failure flag |
| int32_t getbitsInc | ( | vector< unsigned char > & | buff, |
| int & | pos, | ||
| int | len, | ||
| bool * | failure_ptr = nullptr ) |
increasingly extract signed bits from RTCM messages
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| failure_ptr | pointer for failure flag |
| bool getbitsIncChecked | ( | const unsigned char * | buff, |
| int | buffBits, | ||
| int & | pos, | ||
| int | len, | ||
| int32_t & | out, | ||
| bool * | failure_ptr = nullptr ) |
Bounds-checked variant of getbitsInc().
Returns false instead of reading when the requested bit range is outside the supplied buffer bounds. The optional failure pointer is forwarded to the signed extractor when the read is valid.
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| failure_ptr | pointer for failure flag |
| bool getbitsIncChecked | ( | vector< unsigned char > & | buff, |
| int & | pos, | ||
| int | len, | ||
| int32_t & | out, | ||
| bool * | failure_ptr = nullptr ) |
Vector overload of the bounds-checked signed incremental bit reader.
Uses the vector size to derive the valid bit range before delegating to the raw-buffer implementation.
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| failure_ptr | pointer for failure flag |
| 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
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| scale | scale factor/resolution |
| failure_ptr | pointer for failure flag |
| uint32_t getbitu | ( | const unsigned char * | buff, |
| int | pos, | ||
| int | len ) |
extract unsigned bits from byte data
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| uint32_t getbitu | ( | vector< unsigned char > & | buff, |
| int | pos, | ||
| int | len ) |
extract unsigned bits from RTCM messages
| buff | RTCM messages |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| uint32_t getbituInc | ( | const unsigned char * | buff, |
| int & | pos, | ||
| int | len ) |
increasingly extract unsigned bits from byte data
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| uint32_t getbituInc | ( | vector< unsigned char > & | buff, |
| int & | pos, | ||
| int | len ) |
increasingly extract unsigned bits from RTCM messages
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| bool getbituIncChecked | ( | const unsigned char * | buff, |
| int | buffBits, | ||
| int & | pos, | ||
| int | len, | ||
| uint32_t & | out ) |
Bounds-checked variant of getbituInc().
Returns false instead of reading when the requested bit range is outside the supplied buffer bounds. Intended for future decoder hardening paths that need to reject truncated or malformed RTCM payloads safely.
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| bool getbituIncChecked | ( | vector< unsigned char > & | buff, |
| int & | pos, | ||
| int | len, | ||
| uint32_t & | out ) |
Vector overload of the bounds-checked unsigned incremental bit reader.
Uses the vector size to derive the valid bit range before delegating to the raw-buffer implementation.
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| double getbituIncScale | ( | vector< unsigned char > & | buff, |
| int & | pos, | ||
| int | len, | ||
| double | scale ) |
increasingly extract unsigned bits from RTCM messages with scale factor/resolution applied
| buff | byte data |
| pos | bit position from start of data (bits) |
| len | bit length (bits) (len<=32) |
| scale | scale factor/resolution |
|
inline |