#include <nlohmann_parsers.h>
Public Member Functions | |
JSON_Parser (const std::string &topic_name, PlotDataMapRef &data, bool use_msg_stamp, const std::string &stamp_fieldname) | |
bool | parseMessage (const MessageRef msg, double ×tamp) override |
![]() | |
NlohmannParser (const std::string &topic_name, PlotDataMapRef &data, bool use_msg_stamp, const std::string &stamp_fieldname) | |
![]() | |
bool | clampLargeArray () const |
unsigned | maxArraySize () const |
MessageParser (const std::string &topic_name, PlotDataMapRef &plot_data) | |
virtual void | setLargeArraysPolicy (bool clamp, unsigned max_size) |
virtual | ~MessageParser ()=default |
Additional Inherited Members | |
![]() | |
bool | parseMessageImpl (double ×tamp) |
![]() | |
PlotData & | getSeries (const std::string &key) |
StringSeries & | getStringSeries (const std::string &key) |
![]() | |
nlohmann::json | _json |
std::string | _stamp_fieldname |
bool | _use_message_stamp |
![]() | |
PlotDataMapRef & | _plot_data |
std::string | _topic_name |
Definition at line 35 of file nlohmann_parsers.h.
|
inline |
Definition at line 38 of file nlohmann_parsers.h.
|
overridevirtual |
Implements PJ::MessageParser.
Definition at line 87 of file nlohmann_parsers.cpp.