##

DataLogger.hh
Go to the documentation of this file.
/*
* Copyright (C) 2012 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef GAZEBO_GUI_DATALOGGER_HH_
#define GAZEBO_GUI_DATALOGGER_HH_
#include <memory>
#include "gazebo/msgs/msgs.hh"
#include "gazebo/gui/qt.h"
#include "gazebo/util/system.hh"
namespace gazebo
{
namespace gui
{
class DataLoggerPrivate;
class GZ_GUI_VISIBLE DataLogger : public QDialog
{
Q_OBJECT
public: explicit DataLogger(QWidget *_parent = 0);
public: virtual ~DataLogger();
signals: void SetTime(QString _string);
signals: void SetSize(QString _string);
signals: void SetDestinationPath(QString _string);
signals: void SetDestinationURI(QString _string);
private slots: void OnRecord(bool _toggle);
private slots: void OnSetDestinationPath(QString _string);
private slots: void OnSetDestinationURI(QString _string);
private slots: void OnBrowse();
private slots: void OnToggleSettings(bool _checked);
private slots: void OnBlinkStatus();
private slots: void OnConfirmationTimeout();
private slots: void OnCancel();
private: void OnStatus(ConstLogStatusPtr &_msg);
private: std::unique_ptr<DataLoggerPrivate> dataPtr;
};
}
}
#endif
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
qt.h
gazebo::gui::DataLogger
A widget that provides data logging functionality.
Definition: DataLogger.hh:37
gazebo::gui::DataLogger::~DataLogger
virtual ~DataLogger()
Destructor.
system.hh
gazebo::gui::DataLogger::SetSize
void SetSize(QString _string)
A signal used to set the size label.
msgs.hh
gazebo::gui::DataLogger::SetTime
void SetTime(QString _string)
A signal used to set the time label.
gazebo::gui::DataLogger::SetDestinationPath
void SetDestinationPath(QString _string)
A signal used to set the destination path label.
gazebo::gui::DataLogger::DataLogger
DataLogger(QWidget *_parent=0)
Constructor.
gui
gui
Definition: KeyEventHandler.hh:29
gazebo::gui::DataLogger::SetDestinationURI
void SetDestinationURI(QString _string)
A signal used to set the destination URI label.