YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
clusterWidget.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3
* SPDX-License-Identifier: LGPL-2.1-or-later
4
*/
5
6
#ifndef CLUSTERWIDGET_H
7
#define CLUSTERWIDGET_H
8
9
#include <QWidget>
10
#include <QMessageBox>
11
#include <vector>
12
#include <
yarp/manager/xmlclusterloader.h
>
13
#include <
customtreewidget.h
>
14
15
namespace
Ui
{
16
class
ClusterWidget
;
17
}
18
19
class
ClusterWidget
:
public
QWidget
20
{
21
Q_OBJECT
22
private
slots:
23
void
onCheckAll();
24
void
onCheckServer();
25
void
onRunServer();
26
void
onStopServer();
27
void
onKillServer();
28
void
onRunSelected();
29
void
onStopSelected();
30
void
onKillSelected();
31
void
onExecute();
32
void
onNodeSelectionChanged();
33
void
onExecuteTextChanged();
34
signals:
35
void
logError
(QString);
36
void
logMessage
(QString);
37
public
:
38
explicit
ClusterWidget
(QWidget *parent = 0);
39
~ClusterWidget
();
40
void
setConfigFile
(
const
std::string& _confFile);
41
void
init
();
42
43
private
:
44
void
addRow(
const
std::string& name=
""
,
const
std::string& display=
"none"
,
45
const
std::string& user=
""
,
const
std::string& address=
""
,
bool
onOff=
false
,
bool
log=
true
,
int
id
=0);
46
std::string getSSHCmd(
const
std::string& user,
const
std::string& host,
const
std::string& ssh_options);
47
bool
checkNameserver();
48
bool
checkNode(
const
std::string& name);
49
void
updateServerEntries();
50
void
reportErrors();
51
52
53
Ui::ClusterWidget *ui;
54
std::string confFile;
55
yarp::manager::Cluster
cluster;
56
yarp::manager::XmlClusterLoader
* clusLoader;
57
bool
checkNs;
58
};
59
60
#endif
// CLUSTERWIDGET_H
ClusterWidget
Definition
clusterWidget.h:20
ClusterWidget::logMessage
void logMessage(QString)
ClusterWidget::~ClusterWidget
~ClusterWidget()
Definition
clusterWidget.cpp:626
ClusterWidget::setConfigFile
void setConfigFile(const std::string &_confFile)
Definition
clusterWidget.cpp:60
ClusterWidget::logError
void logError(QString)
ClusterWidget::init
void init()
Definition
clusterWidget.cpp:65
yarp::manager::XmlClusterLoader
Class XmlClusterLoader.
Definition
xmlclusterloader.h:40
customtreewidget.h
Ui
Definition
aboutdlg.h:11
yarp::manager::Cluster
Definition
xmlclusterloader.h:28
xmlclusterloader.h
YARP
3.11.100+20250603.4+gitaa77f8b5c
src
guis
yarpmanager
src-manager
clusterWidget.h
Generated on Wed Jun 4 2025 02:40:09 for YARP by
1.9.8