#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 |
Public Member Functions inherited from NlohmannParser | |
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 void | setLargeArraysPolicy (bool clamp, unsigned max_size) |
virtual bool | useEmbeddedTimestamp () const |
virtual | ~MessageParser ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from NlohmannParser | |
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 inherited from NlohmannParser | |
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 36 of file nlohmann_parsers.h.
|
inline |
Definition at line 39 of file nlohmann_parsers.h.
|
overridevirtual |
Implements PJ::MessageParser.
Definition at line 87 of file nlohmann_parsers.cpp.