TimePanelPrivate.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 #ifndef _GAZEBO_TIME_PANEL_PRIVATE_HH_
18 #define _GAZEBO_TIME_PANEL_PRIVATE_HH_
19 
20 #include <list>
21 #include <vector>
22 
23 #include "gazebo/gui/qt.h"
24 
25 namespace gazebo
26 {
27  namespace gui
28  {
32  {
35 
38 
42 
44  public: std::vector<event::ConnectionPtr> connections;
45 
47  public: std::list<common::Time> simTimes;
48 
50  public: std::list<common::Time> realTimes;
51 
53  public: boost::mutex mutex;
54 
56  public: bool paused;
57 
60 
63  };
64  }
65 }
66 #endif
bool paused
Paused state of the simulation.
Definition: TimePanelPrivate.hh:56
transport::SubscriberPtr statsSub
Subscriber to the statistics topic.
Definition: TimePanelPrivate.hh:37
transport::PublisherPtr userCmdPub
Publish user command messages for the server to place in the undo queue.
Definition: TimePanelPrivate.hh:41
std::vector< event::ConnectionPtr > connections
Event based connections.
Definition: TimePanelPrivate.hh:44
Definition: TimePanelPrivate.hh:31
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
boost::mutex mutex
Mutex to protect the memeber variables.
Definition: TimePanelPrivate.hh:53
transport::NodePtr node
Node used for communication.
Definition: TimePanelPrivate.hh:34
std::list< common::Time > simTimes
List of simulation times used to compute averages.
Definition: TimePanelPrivate.hh:47
TimeWidget * timeWidget
Paused state of the simulation.
Definition: TimePanelPrivate.hh:59
std::list< common::Time > realTimes
List of real times used to compute averages.
Definition: TimePanelPrivate.hh:50
Definition: TimeWidget.hh:31
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
Widget which displays log playback options.
Definition: LogPlayWidget.hh:35
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
LogPlayWidget * logPlayWidget
Paused state of the simulation.
Definition: TimePanelPrivate.hh:62