Main Page
+
Namespaces
Namespace List
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
~
+
Functions
a
c
d
e
g
h
i
o
p
r
s
t
u
v
w
~
+
Variables
a
b
c
d
f
i
j
l
m
n
p
r
s
t
u
v
+
Files
File List
+
File Members
+
All
a
b
d
e
f
h
i
l
m
n
o
p
r
s
t
u
Functions
+
Macros
a
b
d
e
f
h
i
l
m
n
o
p
r
s
t
u
src
gui
PTU_GUI_Node.cpp
Go to the documentation of this file.
1
8
#include "
gui/PTU_GUI_Node.h
"
9
10
IMPLEMENT_APP(
GUI_PTU::PTU_GUI_Node
)
11
12
namespace
GUI_PTU
{
13
14
15
PTU_GUI_Node::PTU_GUI_Node
()
16
{
17
}
18
19
PTU_GUI_Node::~PTU_GUI_Node
()
20
{
21
}
22
23
bool
PTU_GUI_Node::OnInit
()
24
{
25
local_argv
=
new
char
*[ argc ];
26
for
(
int
i = 0; i < argc; ++i ) {
27
local_argv
[ i ] = strdup( wxString( argv[ i ] ).char_str() );
28
}
29
30
ros::init
(argc,
local_argv
,
"PTU_GUI"
);
31
nh
.reset(
new
ros::NodeHandle
);
32
PTU_GUI
* dialog =
new
PTU_GUI
( (wxWindow*)NULL);
33
dialog ->Show();
34
SetTopWindow( dialog );
35
return
true
;
36
}
37
38
int
PTU_GUI_Node::OnExit
() {
39
for
(
int
i = 0; i < argc; ++i ) {
40
free(
local_argv
[ i ] );
41
}
42
delete
[]
local_argv
;
43
return
0;
44
}
45
46
}
47
48
49
ros::NodeHandle
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
GUI_PTU::PTU_GUI_Node::local_argv
char ** local_argv
Definition:
PTU_GUI_Node.h:20
GUI_PTU::PTU_GUI
Definition:
PTU_GUI.h:33
GUI_PTU::PTU_GUI_Node::PTU_GUI_Node
PTU_GUI_Node()
Definition:
PTU_GUI_Node.cpp:15
PTU_GUI_Node.h
GUI_PTU::PTU_GUI_Node::OnExit
virtual int OnExit()
Definition:
PTU_GUI_Node.cpp:38
GUI_PTU
Definition:
GUI.h:41
GUI_PTU::PTU_GUI_Node
Definition:
PTU_GUI_Node.h:17
GUI_PTU::PTU_GUI_Node::~PTU_GUI_Node
virtual ~PTU_GUI_Node()
Definition:
PTU_GUI_Node.cpp:19
GUI_PTU::PTU_GUI_Node::nh
ros::NodeHandlePtr nh
Definition:
PTU_GUI_Node.h:21
GUI_PTU::PTU_GUI_Node::OnInit
virtual bool OnInit()
Definition:
PTU_GUI_Node.cpp:23
asr_flir_ptu_driver
Author(s): Valerij Wittenbeck, Joachim Gehrung, Pascal Meißner, Patrick Schlosser
autogenerated on Mon Feb 28 2022 21:41:05