The MessageParser is the base class used to parse a message with a specific encoding+schema.
More...
#include <messageparser_base.h>
The MessageParser is the base class used to parse a message with a specific encoding+schema.
Definition at line 75 of file messageparser_base.h.
◆ MessageParser()
PJ::MessageParser::MessageParser |
( |
const std::string & |
topic_name, |
|
|
PlotDataMapRef & |
plot_data |
|
) |
| |
|
inline |
◆ ~MessageParser()
virtual PJ::MessageParser::~MessageParser |
( |
| ) |
|
|
virtualdefault |
◆ clampLargeArray()
bool PJ::MessageParser::clampLargeArray |
( |
| ) |
const |
|
inline |
◆ enableEmbeddedTimestamp()
virtual void PJ::MessageParser::enableEmbeddedTimestamp |
( |
bool |
enable | ) |
|
|
inlinevirtual |
◆ getSeries()
PlotData& PJ::MessageParser::getSeries |
( |
const std::string & |
key | ) |
|
|
inlineprotected |
◆ getStringSeries()
StringSeries& PJ::MessageParser::getStringSeries |
( |
const std::string & |
key | ) |
|
|
inlineprotected |
◆ maxArraySize()
unsigned PJ::MessageParser::maxArraySize |
( |
| ) |
const |
|
inline |
◆ parseMessage()
virtual bool PJ::MessageParser::parseMessage |
( |
const MessageRef |
serialized_msg, |
|
|
double & |
timestamp |
|
) |
| |
|
pure virtual |
◆ setLargeArraysPolicy()
virtual void PJ::MessageParser::setLargeArraysPolicy |
( |
bool |
clamp, |
|
|
unsigned |
max_size |
|
) |
| |
|
inlinevirtual |
◆ useEmbeddedTimestamp()
virtual bool PJ::MessageParser::useEmbeddedTimestamp |
( |
| ) |
const |
|
inlinevirtual |
◆ _clamp_large_arrays
bool PJ::MessageParser::_clamp_large_arrays = false |
|
private |
◆ _max_array_size
unsigned PJ::MessageParser::_max_array_size = 10000 |
|
private |
◆ _plot_data
◆ _topic_name
std::string PJ::MessageParser::_topic_name |
|
protected |
◆ _use_embedded_timestamp
bool PJ::MessageParser::_use_embedded_timestamp = false |
|
private |
The documentation for this class was generated from the following file: