Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
y
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Properties
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
i
m
o
q
r
s
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
b
c
d
e
f
h
k
l
o
p
r
s
t
u
x
z
Enumerator
b
c
d
f
h
i
k
l
n
o
p
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
plotjuggler_plugins
ParserROS
ros1_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 <QSettings>
8
#include <string>
9
10
#include "
ros_parser.h
"
11
12
using namespace
PJ
;
13
14
class
ParserFactoryROS1
:
public
ParserFactoryPlugin
15
{
16
Q_OBJECT
17
Q_PLUGIN_METADATA(IID
"facontidavide.PlotJuggler3.ParserFactoryPlugin"
)
18
Q_INTERFACES(
PJ::ParserFactoryPlugin
)
19
20
public
:
21
ParserFactoryROS1
() =
default
;
22
23
const
char
*
name
()
const override
24
{
25
return
"ParserFactoryROS1"
;
26
}
27
const
char
*
encoding
()
const override
28
{
29
return
"ros1msg"
;
30
}
31
32
MessageParserPtr
createParser
(
const
std::string& topic_name,
33
const
std::string&
type_name
,
const
std::string& schema,
34
PlotDataMapRef
&
data
)
override
35
{
36
auto
parser
= std::make_shared<ParserROS>(topic_name,
type_name
, schema,
37
new
RosMsgParser::ROS_Deserializer
(),
data
);
38
QSettings settings;
39
parser
->enableTruncationCheck(
40
settings.value(
"Preferences::truncation_check"
,
true
).toBool());
41
return
parser
;
42
}
43
};
PJ::MessageParserPtr
std::shared_ptr< MessageParser > MessageParserPtr
Definition:
messageparser_base.h:136
sol::type_name
std::string type_name(lua_State *L, type t)
Definition:
sol.hpp:8079
ParserFactoryROS1::createParser
MessageParserPtr createParser(const std::string &topic_name, const std::string &type_name, const std::string &schema, PlotDataMapRef &data) override
Definition:
ros1_parser.h:32
ParserFactoryROS1
Definition:
ros1_parser.h:14
ParserFactoryROS1::name
const char * name() const override
Name of the plugin type, NOT the particular instance.
Definition:
ros1_parser.h:23
PJ::ParserFactoryPlugin
Definition:
messageparser_base.h:139
udp_client.parser
parser
Definition:
udp_client.py:9
ParserFactoryROS1::encoding
const char * encoding() const override
Definition:
ros1_parser.h:27
RosMsgParser::ROS_Deserializer
Definition:
deserializer.hpp:63
PJ
Definition:
dataloader_base.h:16
mqtt_test.data
dictionary data
Definition:
mqtt_test.py:22
PJ::PlotDataMapRef
Definition:
plotdata.h:34
ros_parser.h
messageparser_base.h
plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Jan 26 2025 03:23:25