plotjuggler_plugins
ParserIDL
idl_parser.hpp
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 <QSettings>
8
#include <string>
9
10
using namespace
PJ
;
11
12
class
ParserFactoryIDL
:
public
ParserFactoryPlugin
13
{
14
Q_OBJECT
15
Q_PLUGIN_METADATA(IID
"facontidavide.PlotJuggler3.ParserFactoryPlugin"
)
16
Q_INTERFACES(
PJ::ParserFactoryPlugin
)
17
18
public
:
19
ParserFactoryIDL
() =
default
;
20
21
const
char
*
name
()
const override
22
{
23
return
"ParserFactoryIDL"
;
24
}
25
const
char
*
encoding
()
const override
26
{
27
return
"omgidl"
;
28
}
29
30
MessageParserPtr
createParser(
const
std::string& topic_name,
31
const
std::string& type_name,
const
std::string& schema,
32
PlotDataMapRef
&
data
)
override
;
33
};
PJ::MessageParserPtr
std::shared_ptr< MessageParser > MessageParserPtr
Definition:
messageparser_base.h:136
ParserFactoryIDL
Definition:
idl_parser.hpp:12
ParserFactoryIDL::name
const char * name() const override
Name of the plugin type, NOT the particular instance.
Definition:
idl_parser.hpp:21
PJ::ParserFactoryPlugin
Definition:
messageparser_base.h:139
PJ
Definition:
dataloader_base.h:16
mqtt_test.data
dictionary data
Definition:
mqtt_test.py:22
PJ::PlotDataMapRef
Definition:
plotdata.h:34
messageparser_base.h
ParserFactoryIDL::encoding
const char * encoding() const override
Definition:
idl_parser.hpp:25
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon May 26 2025 02:22:37