The MessageParser is the base class to create plugins that are able to parse one or multiple Message types. Each message type is uniquely identified by a MessageKey (128 bits, sufficiently large to hold a MD5Sum identifier). More...
#include <messageparser_base.h>
Public Member Functions | |
virtual void | extractData (PlotDataMapRef &destination, const std::string &prefix)=0 |
virtual const std::unordered_set< std::string > & | getCompatibleKeys () const =0 |
virtual void | pushMessageRef (const std::string &key, const MessageRef &msg, double timestamp)=0 |
virtual | ~MessageParser () |
Static Protected Member Functions | |
static void | appendData (PlotDataMapRef &destination_plot_map, const std::string &field_name, PlotData &in_data) |
The MessageParser is the base class to create plugins that are able to parse one or multiple Message types. Each message type is uniquely identified by a MessageKey (128 bits, sufficiently large to hold a MD5Sum identifier).
You push one or more raw messages using the method pushMessageRef() Once you have done, the result can be copied using plotData()
Definition at line 44 of file messageparser_base.h.
|
inlinevirtual |
Definition at line 48 of file messageparser_base.h.
|
inlinestaticprotected |
Definition at line 61 of file messageparser_base.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |