Go to the source code of this file.
|
static bool | endOfBuffer (uint32_t byte_cnt, size_t bytes_to_read, uint32_t num_bytes) |
|
static void | print_error (const std::string &err_msg, int line_number, double print_rate=1) |
|
static float | readFloat32 (const uint8_t *scandata, uint32_t *byte_cnt) |
|
template<typename T > |
static T | readUnsigned (const uint8_t *scandata, uint32_t *byte_cnt) |
|
◆ CHECK_MODULE_SIZE
#define CHECK_MODULE_SIZE |
( |
|
metadata, |
|
|
|
byte_required, |
|
|
|
byte_cnt, |
|
|
|
bytes_to_read, |
|
|
|
module_size, |
|
|
|
name, |
|
|
|
line_number |
|
) |
| |
Value:if (((byte_required) = (byte_cnt) + (bytes_to_read)) > (module_size)) \
{ \
std::stringstream err_msg; \
err_msg << "## ERROR CompactDataParser::ParseModuleMetaData(): module_size=" << (module_size) << ", " \
<< (byte_required) <<
" bytes required to read " << (
name); \
print_error(err_msg.str(), line_number); \
return (metadata); \
}
Definition at line 139 of file compact_parser.cpp.
◆ EXPORT_MEASUREMENT_AZIMUTH_ACCELERATION_CSV
#define EXPORT_MEASUREMENT_AZIMUTH_ACCELERATION_CSV 0 |
◆ ReadBeamAzimOrder
◆ ReadBeamAzimOrderEnum
◆ endOfBuffer()
static bool endOfBuffer |
( |
uint32_t |
byte_cnt, |
|
|
size_t |
bytes_to_read, |
|
|
uint32_t |
num_bytes |
|
) |
| |
|
inlinestatic |
◆ print_error()
static void print_error |
( |
const std::string & |
err_msg, |
|
|
int |
line_number, |
|
|
double |
print_rate = 1 |
|
) |
| |
|
static |
◆ readFloat32()
static float readFloat32 |
( |
const uint8_t * |
scandata, |
|
|
uint32_t * |
byte_cnt |
|
) |
| |
|
inlinestatic |
◆ readUnsigned()
template<typename T >
static T readUnsigned |
( |
const uint8_t * |
scandata, |
|
|
uint32_t * |
byte_cnt |
|
) |
| |
|
inlinestatic |
◆ s_layer_elevation_table_mdeg
std::vector<int> s_layer_elevation_table_mdeg |
|
static |