DataLoggerPrivate.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_DATALOGGER_PRIVATE_HH_
18 #define _GAZEBO_DATALOGGER_PRIVATE_HH_
19 
21 #include "gazebo/gui/qt.h"
22 
23 namespace gazebo
24 {
25  namespace gui
26  {
29  {
32 
35 
38 
40  public: QToolButton *recordButton;
41 
43  public: QLabel *timeLabel;
44 
46  public: QString basePath;
47 
49  public: QPlainTextEdit *destPath;
50 
52  public: QLineEdit *destURI;
53 
55  public: QLabel *sizeLabel;
56 
58  public: QLabel *statusLabel;
59 
61  public: QTimer *statusTimer;
62 
64  public: double statusTime;
65 
67  public: QLineEdit *filenameEdit;
68 
70  public: QFrame *settingsFrame;
71 
73  public: QTextBrowser *logList;
74 
76  public: QDialog *confirmationDialog;
77 
79  public: QTimer *confirmationTimer;
80  };
81  }
82 }
83 #endif
84 
QTextBrowser * logList
List of recorded logs.
Definition: DataLoggerPrivate.hh:73
Private data for the DataLogger class.
Definition: DataLoggerPrivate.hh:28
QPlainTextEdit * destPath
Text edit to display the log destination path.
Definition: DataLoggerPrivate.hh:49
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
Forward declarations for transport.
transport::SubscriberPtr sub
Subscriber for log status messages.
Definition: DataLoggerPrivate.hh:37
QDialog * confirmationDialog
Dialog that displays confirmation after saving.
Definition: DataLoggerPrivate.hh:76
QLineEdit * destURI
Label to display the log destination uri.
Definition: DataLoggerPrivate.hh:52
QToolButton * recordButton
The button used to start and pause logging.
Definition: DataLoggerPrivate.hh:40
QString basePath
Log base path.
Definition: DataLoggerPrivate.hh:46
QLabel * statusLabel
Label to display status information.
Definition: DataLoggerPrivate.hh:58
QTimer * statusTimer
Timer used to blink the status label.
Definition: DataLoggerPrivate.hh:61
transport::PublisherPtr pub
Publisher for log control messages.
Definition: DataLoggerPrivate.hh:34
QLabel * sizeLabel
Label to display the log file size.
Definition: DataLoggerPrivate.hh:55
QLineEdit * filenameEdit
Name of the log file path.
Definition: DataLoggerPrivate.hh:67
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
transport::NodePtr node
Node to handle communication.
Definition: DataLoggerPrivate.hh:31
QLabel * timeLabel
Label to display the log time.
Definition: DataLoggerPrivate.hh:43
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
QTimer * confirmationTimer
Timer used to timeout confirmation dialog.
Definition: DataLoggerPrivate.hh:79
double statusTime
Keep track of the time the status label blinks.
Definition: DataLoggerPrivate.hh:64
QFrame * settingsFrame
Frame that holds settings.
Definition: DataLoggerPrivate.hh:70