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
bool
onOff
=
false
;
24
bool
log
=
true
;
25
};
26
27
struct
Cluster
28
{
29
std::string
name
=
""
;
30
std::string
user
=
""
;
31
std::string
nameSpace
=
""
;
32
std::string
nsNode
=
""
;
33
std::string
ssh_options
=
""
;
34
std::vector<ClusterNode>
nodes
;
35
};
36
40
class
XmlClusterLoader
{
41
42
public
:
43
XmlClusterLoader
(std::string szFileName);
44
virtual
~XmlClusterLoader
();
45
bool
parseXmlFile
(
Cluster
& _cluster);
46
47
protected
:
48
49
private
:
50
std::string confFile;
51
Cluster
cluster;
52
};
53
54
}
// namespace yarp::manager
55
56
57
#endif
// YARP_MANAGER_XMLCLUSTERLOADER_H
yarp::manager::XmlClusterLoader
Class XmlClusterLoader.
Definition
xmlclusterloader.h:40
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::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:23
yarp::manager::ClusterNode::log
bool log
Definition
xmlclusterloader.h:24
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:28
yarp::manager::Cluster::name
std::string name
Definition
xmlclusterloader.h:29
yarp::manager::Cluster::nsNode
std::string nsNode
Definition
xmlclusterloader.h:32
yarp::manager::Cluster::nodes
std::vector< ClusterNode > nodes
Definition
xmlclusterloader.h:34
yarp::manager::Cluster::ssh_options
std::string ssh_options
Definition
xmlclusterloader.h:33
yarp::manager::Cluster::nameSpace
std::string nameSpace
Definition
xmlclusterloader.h:31
yarp::manager::Cluster::user
std::string user
Definition
xmlclusterloader.h:30
ymm-types.h
YARP
3.11.2
src
libYARP_manager
src
yarp
manager
xmlclusterloader.h
Generated on Sat Mar 1 2025 02:35:32 for YARP by
1.9.8