Class
List
Hierarchy
Modules
Common
Events
Math
Messages
Physics
Rendering
Sensors
Transport
Links
Gazebo Website
Wiki
Tutorials
Download
Report Documentation Issues
gazebo
gui
UserCmdHistory.hh
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015-2016 Open Source Robotics Foundation
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*
16
*/
17
18
#ifndef _GAZEBO_USER_COMMAND_WIDGET_HH_
19
#define _GAZEBO_USER_COMMAND_WIDGET_HH_
20
21
#include <string>
22
23
#include "gazebo/msgs/MessageTypes.hh"
24
25
#include "
gazebo/gui/qt.h
"
26
#include "
gazebo/util/system.hh
"
27
28
namespace
gazebo
29
{
30
namespace
gui
31
{
32
class
UserCmdHistoryPrivate;
33
35
class
GZ_GUI_VISIBLE
UserCmdHistory
:
public
QObject
36
{
37
Q_OBJECT
38
40
public
:
UserCmdHistory
();
41
43
public
:
virtual
~
UserCmdHistory
();
44
47
signals:
void
StatsSignal();
48
50
private
slots:
void
OnUndo();
51
55
private
slots:
void
OnUndoCommand(QAction *_action);
56
59
private
slots:
void
OnUndoHovered(QAction *_action);
60
63
private
slots:
void
OnUndoCmdHistory();
64
66
private
slots:
void
OnRedo();
67
71
private
slots:
void
OnRedoCommand(QAction *_action);
72
75
private
slots:
void
OnRedoHovered(QAction *_action);
76
79
private
slots:
void
OnRedoCmdHistory();
80
83
private
slots:
void
OnStatsSlot();
84
88
private
:
void
OnUserCmdStatsMsg(ConstUserCmdStatsPtr &_msg);
89
92
private
:
UserCmdHistoryPrivate
*dataPtr;
93
};
94
}
95
}
96
#endif
97
GZ_GUI_VISIBLE
#define GZ_GUI_VISIBLE
Definition:
system.hh:284
system.hh
qt.h
gazebo::gui::UserCmdHistory
Class which manages user commands in the client side.
Definition:
UserCmdHistory.hh:35
gazebo::gui::UserCmdHistoryPrivate
Definition:
UserCmdHistoryPrivate.hh:31