plotjuggler_plugins
ParserDataTamer
datatamer_parser.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
PlotJuggler/messageparser_base.h
"
4
5
#include <QCheckBox>
6
#include <QDebug>
7
#include <string>
8
9
class
ParserDataTamer
:
public
PJ::ParserFactoryPlugin
10
{
11
Q_OBJECT
12
Q_PLUGIN_METADATA(IID
"facontidavide.PlotJuggler3.ParserFactoryPlugin"
)
13
Q_INTERFACES(
PJ::ParserFactoryPlugin
)
14
15
public
:
16
ParserDataTamer
() =
default
;
17
18
const
char
*
name
()
const override
19
{
20
return
"ParserDataTamer"
;
21
}
22
const
char
*
encoding
()
const override
23
{
24
return
"data_tamer"
;
25
}
26
27
PJ::MessageParserPtr
createParser
(
const
std::string& topic_name,
28
const
std::string&
type_name
,
29
const
std::string& schema,
30
PJ::PlotDataMapRef
&
data
)
override
;
31
};
PJ::MessageParserPtr
std::shared_ptr< MessageParser > MessageParserPtr
Definition:
messageparser_base.h:136
ParserDataTamer::encoding
const char * encoding() const override
Definition:
datatamer_parser.h:22
sol::type_name
std::string type_name(lua_State *L, type t)
Definition:
sol.hpp:8079
PJ::ParserFactoryPlugin
Definition:
messageparser_base.h:139
ParserDataTamer::ParserDataTamer
ParserDataTamer()=default
mqtt_test.data
dictionary data
Definition:
mqtt_test.py:22
ParserDataTamer::createParser
PJ::MessageParserPtr createParser(const std::string &topic_name, const std::string &type_name, const std::string &schema, PJ::PlotDataMapRef &data) override
Definition:
datatamer_parser.cpp:63
PJ::PlotDataMapRef
Definition:
plotdata.h:34
messageparser_base.h
ParserDataTamer::name
const char * name() const override
Name of the plugin type, NOT the particular instance.
Definition:
datatamer_parser.h:18
ParserDataTamer
Definition:
datatamer_parser.h:9
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44