#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 (std::ifstream &file) |
|
bool | readFileHeader (std::ifstream &file) |
|
bool | readFlagBits (std::ifstream &file, uint16_t msg_size) |
|
bool | readFormat (std::ifstream &file, uint16_t msg_size) |
|
bool | readInfo (std::ifstream &file, uint16_t msg_size) |
|
bool | readParameter (std::ifstream &file, uint16_t msg_size) |
|
bool | readSubscription (std::ifstream &file, uint16_t msg_size) |
|
std::vector< StringView > | splitString (const StringView &strToSplit, char delimeter) |
|
Definition at line 13 of file ulog_parser.h.
Enumerator |
---|
UINT8 |
|
UINT16 |
|
UINT32 |
|
UINT64 |
|
INT8 |
|
INT16 |
|
INT32 |
|
INT64 |
|
FLOAT |
|
DOUBLE |
|
BOOL |
|
CHAR |
|
OTHER |
|
Definition at line 19 of file ulog_parser.h.
ULogParser::ULogParser |
( |
const std::string & |
filename | ) |
|
size_t ULogParser::fieldsCount |
( |
const Format & |
format | ) |
const |
|
private |
const std::map< std::string, std::string > & ULogParser::getInfo |
( |
| ) |
const |
void ULogParser::parseDataMessage |
( |
const Subscription & |
sub, |
|
|
char * |
message |
|
) |
| |
|
private |
char * ULogParser::parseSimpleDataMessage |
( |
Timeseries & |
timeseries, |
|
|
const Format * |
format, |
|
|
char * |
message, |
|
|
size_t * |
index |
|
) |
| |
|
private |
bool ULogParser::readFileDefinitions |
( |
std::ifstream & |
file | ) |
|
|
private |
bool ULogParser::readFileHeader |
( |
std::ifstream & |
file | ) |
|
|
private |
bool ULogParser::readFlagBits |
( |
std::ifstream & |
file, |
|
|
uint16_t |
msg_size |
|
) |
| |
|
private |
bool ULogParser::readFormat |
( |
std::ifstream & |
file, |
|
|
uint16_t |
msg_size |
|
) |
| |
|
private |
bool ULogParser::readInfo |
( |
std::ifstream & |
file, |
|
|
uint16_t |
msg_size |
|
) |
| |
|
private |
bool ULogParser::readParameter |
( |
std::ifstream & |
file, |
|
|
uint16_t |
msg_size |
|
) |
| |
|
private |
bool ULogParser::readSubscription |
( |
std::ifstream & |
file, |
|
|
uint16_t |
msg_size |
|
) |
| |
|
private |
std::streampos ULogParser::_data_section_start |
|
private |
uint64_t ULogParser::_file_start_time |
|
private |
std::map<std::string, Format> ULogParser::_formats |
|
private |
std::map<std::string, std::string> ULogParser::_info |
|
private |
std::set<std::string> ULogParser::_message_name_with_multi_id |
|
private |
std::set<std::string> ULogParser::_overridden_params |
|
private |
std::vector<Parameter> ULogParser::_parameters |
|
private |
std::vector<uint8_t> ULogParser::_read_buffer |
|
private |
int64_t ULogParser::_read_until_file_position = 1ULL << 60 |
|
private |
read limit if log contains appended data
Definition at line 113 of file ulog_parser.h.
std::map<std::string, Timeseries> ULogParser::_timeseries |
|
private |
The documentation for this class was generated from the following files: