Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
plugins
ROS
qnodedialog.h
Go to the documentation of this file.
1
#ifndef QNODEDIALOG_H
2
#define QNODEDIALOG_H
3
4
#include <QDialog>
5
#include <
ros/ros.h
>
6
7
namespace
Ui
{
8
class
QNodeDialog
;
9
}
10
11
class
QNodeDialog
:
public
QDialog
12
{
13
Q_OBJECT
14
15
public
:
16
~
QNodeDialog
();
17
explicit
QNodeDialog
(QWidget *parent = 0);
18
19
static
bool
Connect(
const
std::string &ros_master_uri,
20
const
std::string &hostname =
"localhost"
);
21
22
private
slots:
23
void
on_checkBoxUseEnvironment_toggled(
bool
checked);
24
25
void
on_pushButtonConnect_pressed();
26
27
void
on_pushButtonCancel_pressed();
28
29
private
:
30
Ui::QNodeDialog *
ui
;
31
32
};
33
34
35
class
RosManager
36
{
37
private
:
38
ros::NodeHandlePtr
_node
;
39
RosManager
(): _node(nullptr) {}
40
void
stopROS();
41
42
public
:
43
static
RosManager
&
get
();
44
~
RosManager
();
45
static
ros::NodeHandlePtr
getNode();
46
};
47
48
49
50
#endif // QNODEDIALOG_H
RosManager
Definition:
qnodedialog.h:35
RosManager::RosManager
RosManager()
Definition:
qnodedialog.h:39
Ui
Definition:
selectlistdialog.h:8
boost::shared_ptr< NodeHandle >
QNodeDialog::ui
Ui::QNodeDialog * ui
Definition:
qnodedialog.h:30
ros.h
RosManager::_node
ros::NodeHandlePtr _node
Definition:
qnodedialog.h:38
QNodeDialog
Definition:
qnodedialog.h:11
plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:17