#include <nlohmann_parsers.h>
Public Member Functions | |
NlohmannParser (const std::string &topic_name, PlotDataMapRef &data, bool use_msg_stamp, const std::string &stamp_fieldname) | |
Public Member Functions inherited from PJ::MessageParser | |
bool | clampLargeArray () const |
virtual void | enableEmbeddedTimestamp (bool enable) |
unsigned | maxArraySize () const |
MessageParser (const std::string &topic_name, PlotDataMapRef &plot_data) | |
virtual bool | parseMessage (const MessageRef serialized_msg, double ×tamp)=0 |
virtual void | setLargeArraysPolicy (bool clamp, unsigned max_size) |
virtual bool | useEmbeddedTimestamp () const |
virtual | ~MessageParser ()=default |
Protected Member Functions | |
bool | parseMessageImpl (double ×tamp) |
Protected Member Functions inherited from PJ::MessageParser | |
PlotData & | getSeries (const std::string &key) |
StringSeries & | getStringSeries (const std::string &key) |
Protected Attributes | |
nlohmann::json | _json |
std::string | _stamp_fieldname |
bool | _use_message_stamp |
Protected Attributes inherited from PJ::MessageParser | |
PlotDataMapRef & | _plot_data |
std::string | _topic_name |
Definition at line 17 of file nlohmann_parsers.h.
|
inline |
Definition at line 20 of file nlohmann_parsers.h.
|
protected |
Definition at line 11 of file nlohmann_parsers.cpp.
|
protected |
Definition at line 31 of file nlohmann_parsers.h.
|
protected |
Definition at line 33 of file nlohmann_parsers.h.
|
protected |
Definition at line 32 of file nlohmann_parsers.h.