YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
portloggerdialog.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: GPL-3.0-or-later
4 */
5
6#ifndef PORTLOGGERDIALOG_H
7#define PORTLOGGERDIALOG_H
8
9#include <QDialog>
11#include <QTimer>
12#include <QElapsedTimer>
13
14namespace Ui {
16}
17
18class PortLoggerDialog : public QDialog
19{
20 Q_OBJECT
21
22public:
23 explicit PortLoggerDialog(yarp::profiler::graph::Graph *graph, QWidget *parent = 0);
25
26private slots:
27 void addConnections();
28 void removeConnections();
29 void startStopLoggers();
30 void MyTimerSlot();
31 void setLogPath();
32 void openCons();
33
34private:
35 bool saveLog(std::string filename, yarp::os::Bottle* samples);
36private:
37 Ui::PortLoggerDialog *ui;
38 bool isStarted;
40 QTimer *timer;
41 QElapsedTimer logTime;
42};
43
44#endif // PORTLOGGERDIALOG_H
A simple collection of objects that can be described and transmitted in a portable way.
Definition Bottle.h:64
The yarp::profiler::graph::Graph class.
Definition Graph.h:104
Definition aboutdlg.h:11