Public Member Functions | List of all members
MessagePack_Parser Class Reference

#include <nlohmann_parsers.h>

Inheritance diagram for MessagePack_Parser:
Inheritance graph
[legend]

Public Member Functions

 MessagePack_Parser (const std::string &topic_name, PlotDataMapRef &data, bool use_msg_stamp, const std::string &stamp_fieldname)
 
bool parseMessage (const MessageRef msg, double &timestamp) 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 &timestamp)
 
- Protected Member Functions inherited from PJ::MessageParser
PlotDatagetSeries (const std::string &key)
 
StringSeriesgetStringSeries (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
 

Detailed Description

Definition at line 72 of file nlohmann_parsers.h.

Constructor & Destructor Documentation

◆ MessagePack_Parser()

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

Definition at line 75 of file nlohmann_parsers.h.

Member Function Documentation

◆ parseMessage()

bool MessagePack_Parser::parseMessage ( const MessageRef  msg,
double &  timestamp 
)
overridevirtual

Implements PJ::MessageParser.

Definition at line 81 of file nlohmann_parsers.cpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50