Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
NlohmannParser Class Reference

#include <nlohmann_parsers.h>

Inheritance diagram for NlohmannParser:
Inheritance graph
[legend]

Public Member Functions

 NlohmannParser (const std::string &topic_name, PlotDataMapRef &data, bool use_msg_stamp)
 
- Public Member Functions inherited from PJ::MessageParser
 MessageParser (const std::string &topic_name, PlotDataMapRef &plot_data)
 
virtual bool parseMessage (const MessageRef serialized_msg, double timestamp)=0
 
virtual ~MessageParser ()=default
 

Protected Member Functions

bool parseMessageImpl (double timestamp)
 
- Protected Member Functions inherited from PJ::MessageParser
PlotDatagetSeries (const std::string &key)
 

Protected Attributes

nlohmann::json _json
 
bool _use_message_stamp
 
- Protected Attributes inherited from PJ::MessageParser
PlotDataMapRef_plot_data
 
std::string _topic_name
 

Detailed Description

Definition at line 11 of file nlohmann_parsers.h.

Constructor & Destructor Documentation

NlohmannParser::NlohmannParser ( const std::string &  topic_name,
PlotDataMapRef data,
bool  use_msg_stamp 
)
inline

Definition at line 15 of file nlohmann_parsers.h.

Member Function Documentation

bool NlohmannParser::parseMessageImpl ( double  timestamp)
protected

Definition at line 6 of file nlohmann_parsers.cpp.

Member Data Documentation

nlohmann::json NlohmannParser::_json
protected

Definition at line 23 of file nlohmann_parsers.h.

bool NlohmannParser::_use_message_stamp
protected

Definition at line 24 of file nlohmann_parsers.h.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49