#include <ulog_parser.h>
|
enum | FormatType {
UINT8,
UINT16,
UINT32,
UINT64,
INT8,
INT16,
INT32,
INT64,
FLOAT,
DOUBLE,
BOOL,
CHAR,
OTHER
} |
|
|
Timeseries | createTimeseries (const Format *format) |
|
size_t | fieldsCount (const Format &format) const |
|
void | parseDataMessage (const Subscription &sub, char *message) |
|
char * | parseSimpleDataMessage (Timeseries ×eries, const Format *format, char *message, size_t *index) |
|
bool | readFileDefinitions (DataStream &datastream) |
|
bool | readFileHeader (DataStream &datastream) |
|
bool | readFlagBits (DataStream &datastream, uint16_t msg_size) |
|
bool | readFormat (DataStream &datastream, uint16_t msg_size) |
|
bool | readInfo (DataStream &datastream, uint16_t msg_size) |
|
bool | readParameter (DataStream &datastream, uint16_t msg_size) |
|
bool | readSubscription (DataStream &datastream, uint16_t msg_size) |
|
std::vector< StringView > | splitString (const StringView &strToSplit, char delimeter) |
|
Definition at line 14 of file ulog_parser.h.
◆ FormatType
Enumerator |
---|
UINT8 | |
UINT16 | |
UINT32 | |
UINT64 | |
INT8 | |
INT16 | |
INT32 | |
INT64 | |
FLOAT | |
DOUBLE | |
BOOL | |
CHAR | |
OTHER | |
Definition at line 39 of file ulog_parser.h.
◆ ULogParser()
◆ createTimeseries()
◆ fieldsCount()
size_t ULogParser::fieldsCount |
( |
const Format & |
format | ) |
const |
|
private |
◆ getInfo()
const std::map< std::string, std::string > & ULogParser::getInfo |
( |
| ) |
const |
◆ getLogs()
◆ getParameters()
◆ getTimeseriesMap()
◆ parseDataMessage()
void ULogParser::parseDataMessage |
( |
const Subscription & |
sub, |
|
|
char * |
message |
|
) |
| |
|
private |
◆ parseSimpleDataMessage()
char * ULogParser::parseSimpleDataMessage |
( |
Timeseries & |
timeseries, |
|
|
const Format * |
format, |
|
|
char * |
message, |
|
|
size_t * |
index |
|
) |
| |
|
private |
◆ readFileDefinitions()
bool ULogParser::readFileDefinitions |
( |
DataStream & |
datastream | ) |
|
|
private |
◆ readFileHeader()
bool ULogParser::readFileHeader |
( |
DataStream & |
datastream | ) |
|
|
private |
◆ readFlagBits()
bool ULogParser::readFlagBits |
( |
DataStream & |
datastream, |
|
|
uint16_t |
msg_size |
|
) |
| |
|
private |
◆ readFormat()
bool ULogParser::readFormat |
( |
DataStream & |
datastream, |
|
|
uint16_t |
msg_size |
|
) |
| |
|
private |
◆ readInfo()
bool ULogParser::readInfo |
( |
DataStream & |
datastream, |
|
|
uint16_t |
msg_size |
|
) |
| |
|
private |
◆ readParameter()
bool ULogParser::readParameter |
( |
DataStream & |
datastream, |
|
|
uint16_t |
msg_size |
|
) |
| |
|
private |
◆ readSubscription()
bool ULogParser::readSubscription |
( |
DataStream & |
datastream, |
|
|
uint16_t |
msg_size |
|
) |
| |
|
private |
◆ splitString()
◆ _data_section_start
std::streampos ULogParser::_data_section_start |
|
private |
◆ _file_start_time
uint64_t ULogParser::_file_start_time |
|
private |
◆ _formats
std::map<std::string, Format> ULogParser::_formats |
|
private |
◆ _info
std::map<std::string, std::string> ULogParser::_info |
|
private |
◆ _message_logs
◆ _message_name_with_multi_id
std::set<std::string> ULogParser::_message_name_with_multi_id |
|
private |
◆ _overridden_params
std::set<std::string> ULogParser::_overridden_params |
|
private |
◆ _parameters
std::vector<Parameter> ULogParser::_parameters |
|
private |
◆ _read_buffer
std::vector<uint8_t> ULogParser::_read_buffer |
|
private |
◆ _read_until_file_position
int64_t ULogParser::_read_until_file_position |
|
private |
Initial value:
read limit if log contains appended data
Definition at line 153 of file ulog_parser.h.
◆ _subscriptions
◆ _timeseries
std::map<std::string, Timeseries> ULogParser::_timeseries |
|
private |
The documentation for this class was generated from the following files: