Main Page
Namespaces
Classes
Files
File List
File Members
src
choreo_panel.cpp
Go to the documentation of this file.
1
#include <
ros/console.h
>
2
3
#include "
choreo_gui/choreo_panel.h
"
4
#include "
choreo_gui/choreo_widget.h
"
5
6
#include <QVBoxLayout>
7
8
choreo_gui::ChoreoPanel::ChoreoPanel
(QWidget* parent) :
rviz
::Panel(parent)
9
{
10
QVBoxLayout* layout =
new
QVBoxLayout(
this
);
11
widget_
=
new
ChoreoWidget
();
12
13
layout->addWidget(
widget_
);
14
setLayout(layout);
15
16
ROS_INFO
(
"[UI] Loaded choreo rviz panel"
);
17
}
18
19
choreo_gui::ChoreoPanel::~ChoreoPanel
() {}
20
21
void
choreo_gui::ChoreoPanel::onInitialize
()
22
{
23
ROS_INFO
(
"[UI] Initializing choreo panel"
);
24
}
25
26
#include <
pluginlib/class_list_macros.h
>
27
PLUGINLIB_EXPORT_CLASS
(
choreo_gui::ChoreoPanel
,
rviz::Panel
)
choreo_widget.h
choreo_gui::ChoreoWidget
The ChoreoWidget class works in states:
Definition:
choreo_widget.h:34
choreo_gui::ChoreoPanel::widget_
ChoreoWidget * widget_
Definition:
choreo_panel.h:22
rviz
choreo_gui::ChoreoPanel::ChoreoPanel
ChoreoPanel(QWidget *parent=0)
Definition:
choreo_panel.cpp:8
class_list_macros.h
ROS_INFO
#define ROS_INFO(...)
rviz::Panel
choreo_panel.h
choreo_gui::ChoreoPanel::~ChoreoPanel
virtual ~ChoreoPanel()
Definition:
choreo_panel.cpp:19
console.h
choreo_gui::ChoreoPanel::onInitialize
virtual void onInitialize()
Definition:
choreo_panel.cpp:21
PLUGINLIB_EXPORT_CLASS
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
choreo_gui::ChoreoPanel
Definition:
choreo_panel.h:11
choreo_gui
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:58:56