TimePanelPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 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 
41 
43  public: std::vector<event::ConnectionPtr> connections;
44 
46  public: std::list<common::Time> simTimes;
47 
49  public: std::list<common::Time> realTimes;
50 
52  public: boost::mutex mutex;
53 
55  public: bool paused;
56 
59 
62  };
63  }
64 }
65 #endif
bool paused
Paused state of the simulation.
Definition: TimePanelPrivate.hh:55
transport::SubscriberPtr statsSub
Subscriber to the statistics topic.
Definition: TimePanelPrivate.hh:37
std::vector< event::ConnectionPtr > connections
Event based connections.
Definition: TimePanelPrivate.hh:43
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:52
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:46
TimeWidget * timeWidget
Paused state of the simulation.
Definition: TimePanelPrivate.hh:58
std::list< common::Time > realTimes
List of real times used to compute averages.
Definition: TimePanelPrivate.hh:49
Definition: TimeWidget.hh:31
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
Widget which displays log playback options.
Definition: LogPlayWidget.hh:35
transport::PublisherPtr worldControlPub
Used to start, stop, and step simulation.
Definition: TimePanelPrivate.hh:40
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
LogPlayWidget * logPlayWidget
Paused state of the simulation.
Definition: TimePanelPrivate.hh:61