YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
xmlclusterloader.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3
* SPDX-License-Identifier: BSD-3-Clause
4
*/
5
6
#ifndef YARP_MANAGER_XMLCLUSTERLOADER_H
7
#define YARP_MANAGER_XMLCLUSTERLOADER_H
8
9
#include <
yarp/manager/ymm-types.h
>
10
#include <
yarp/manager/manifestloader.h
>
11
12
13
namespace
yarp::manager
{
14
15
struct
ClusterNode
16
{
17
std::string
name
=
""
;
18
std::string
address
=
""
;
19
bool
display
=
false
;
20
std::string
displayValue
=
"none"
;
21
std::string
user
=
""
;
22
std::string
ssh_options
=
""
;
23
std::string
docker
=
""
;
24
std::string
conda
=
""
;
25
std::string
pixi
=
""
;
26
bool
onOff
=
false
;
27
bool
log
=
true
;
28
};
29
30
struct
DockerContainer
31
{
32
std::string
id
=
""
;
33
std::string
name
=
""
;
34
std::string
status
=
""
;
35
std::string
host
=
""
;
36
std::string
user
=
""
;
37
std::string
ssh_options
=
""
;
38
};
39
40
struct
Cluster
41
{
42
std::string
name
=
""
;
43
std::string
user
=
""
;
44
std::string
nameSpace
=
""
;
45
std::string
nsNode
=
""
;
46
std::string
ssh_options
=
""
;
47
std::vector<ClusterNode>
nodes
;
48
};
49
53
class
XmlClusterLoader
{
54
55
public
:
56
XmlClusterLoader
(std::string szFileName);
57
virtual
~XmlClusterLoader
();
58
bool
parseXmlFile
(
Cluster
& _cluster);
59
60
protected
:
61
62
private
:
63
std::string confFile;
64
Cluster
cluster;
65
};
66
67
}
// namespace yarp::manager
68
69
70
#endif
// YARP_MANAGER_XMLCLUSTERLOADER_H
yarp::manager::XmlClusterLoader
Class XmlClusterLoader.
Definition
xmlclusterloader.h:53
yarp::manager::XmlClusterLoader::~XmlClusterLoader
virtual ~XmlClusterLoader()
yarp::manager::XmlClusterLoader::parseXmlFile
bool parseXmlFile(Cluster &_cluster)
Definition
xmlclusterloader.cpp:33
manifestloader.h
yarp::manager
Definition
application.h:20
yarp::manager::ClusterNode
Definition
xmlclusterloader.h:16
yarp::manager::ClusterNode::pixi
std::string pixi
Definition
xmlclusterloader.h:25
yarp::manager::ClusterNode::docker
std::string docker
Definition
xmlclusterloader.h:23
yarp::manager::ClusterNode::conda
std::string conda
Definition
xmlclusterloader.h:24
yarp::manager::ClusterNode::name
std::string name
Definition
xmlclusterloader.h:17
yarp::manager::ClusterNode::display
bool display
Definition
xmlclusterloader.h:19
yarp::manager::ClusterNode::displayValue
std::string displayValue
Definition
xmlclusterloader.h:20
yarp::manager::ClusterNode::onOff
bool onOff
Definition
xmlclusterloader.h:26
yarp::manager::ClusterNode::log
bool log
Definition
xmlclusterloader.h:27
yarp::manager::ClusterNode::ssh_options
std::string ssh_options
Definition
xmlclusterloader.h:22
yarp::manager::ClusterNode::user
std::string user
Definition
xmlclusterloader.h:21
yarp::manager::ClusterNode::address
std::string address
Definition
xmlclusterloader.h:18
yarp::manager::Cluster
Definition
xmlclusterloader.h:41
yarp::manager::Cluster::name
std::string name
Definition
xmlclusterloader.h:42
yarp::manager::Cluster::nsNode
std::string nsNode
Definition
xmlclusterloader.h:45
yarp::manager::Cluster::nodes
std::vector< ClusterNode > nodes
Definition
xmlclusterloader.h:47
yarp::manager::Cluster::ssh_options
std::string ssh_options
Definition
xmlclusterloader.h:46
yarp::manager::Cluster::nameSpace
std::string nameSpace
Definition
xmlclusterloader.h:44
yarp::manager::Cluster::user
std::string user
Definition
xmlclusterloader.h:43
yarp::manager::DockerContainer
Definition
xmlclusterloader.h:31
yarp::manager::DockerContainer::name
std::string name
Definition
xmlclusterloader.h:33
yarp::manager::DockerContainer::status
std::string status
Definition
xmlclusterloader.h:34
yarp::manager::DockerContainer::host
std::string host
Definition
xmlclusterloader.h:35
yarp::manager::DockerContainer::user
std::string user
Definition
xmlclusterloader.h:36
yarp::manager::DockerContainer::ssh_options
std::string ssh_options
Definition
xmlclusterloader.h:37
ymm-types.h
YARP
4.0.2+169-20261113.4+git2cc772dc6
src
libYARP_manager
src
yarp
manager
xmlclusterloader.h
Generated on Sun Nov 15 2026 02:12:03 for YARP by
1.9.8