IceGridXmlGenerator.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* Copyright (C) 2011-2016, High Performance Humanoid Technologies (H2T), Karlsruhe Institute of Technology (KIT), all rights reserved.
5
*
6
* ArmarX is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2 as
8
* published by the Free Software Foundation.
9
*
10
* ArmarX is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*
18
* @package ArmarXCore::core
19
* @author Cedric Seehausen
20
* @date 2016
21
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
22
* GNU General Public License
23
*/
24
25
26
#ifndef ARMARX_ScenarioManager_ICEGRIDXMLGENERATOR_H
27
#define ARMARX_ScenarioManager_ICEGRIDXMLGENERATOR_H
28
29
#include <string>
30
#include <
ArmarXCore/util/ScenarioManagerCommon/data_structure/Scenario.h
>
31
#include <
ArmarXCore/core/ArmarXManager.h
>
32
#include <IceGrid/Descriptor.h>
33
#include <IceGrid/Admin.h>
34
35
namespace
ScenarioManager::Generator
36
{
37
class
IceGridXmlGenerator
38
{
39
public
:
40
void
generateLocalApplication
(
Data_Structure::ScenarioPtr
scenario);
41
void
generateRemoteApplication
(
Data_Structure::ScenarioPtr
scenario);
42
void
generateComponent
(
Data_Structure::ApplicationInstancePtr
app);
43
44
IceGrid::ApplicationDescriptor
generateLocalApplicationDescriptor
(
Data_Structure::ScenarioPtr
scenario,
const
IceGrid::AdminPrx iceAdmin);
45
IceGrid::ApplicationDescriptor
generateEmptyLocalApplicationDescriptor
(
Data_Structure::ScenarioPtr
scenario,
const
IceGrid::AdminPrx iceAdmin);
46
IceGrid::ApplicationDescriptor
generateRemoteApplicationDescriptor
(
Data_Structure::ScenarioPtr
scenario,
const
IceGrid::AdminPrx iceAdmin);
47
IceGrid::ApplicationDescriptor
generateEmptyRemoteApplicationDescriptor
(
Data_Structure::ScenarioPtr
scenario,
const
IceGrid::AdminPrx iceAdmin);
48
49
IceGrid::ServerInstanceDescriptor
generateComponentNode
(
Data_Structure::ApplicationInstancePtr
app);
50
51
52
IceGrid::ApplicationUpdateDescriptor
generateUpdateDescriptor
(IceGrid::ApplicationDescriptor descriptor);
53
54
std::string
getDefaultSyncFile
();
55
void
setDefaultSyncFileDir
(std::string path);
56
private
:
57
std::string getSyncDirFromFile(std::string path);
58
};
59
}
60
61
#endif
ScenarioManager::Generator
Definition:
IceGridXmlGenerator.h:35
ScenarioManager::Data_Structure::ApplicationInstancePtr
std::shared_ptr< ApplicationInstance > ApplicationInstancePtr
Definition:
ApplicationInstance.h:33
ScenarioManager::Data_Structure::ScenarioPtr
std::shared_ptr< Scenario > ScenarioPtr
Definition:
Scenario.h:36
Scenario.h
ArmarXManager.h
ScenarioManager::Generator::IceGridXmlGenerator::generateLocalApplication
void generateLocalApplication(Data_Structure::ScenarioPtr scenario)
Definition:
IceGridXmlGenerator.cpp:45
ScenarioManager::Generator::IceGridXmlGenerator::generateRemoteApplication
void generateRemoteApplication(Data_Structure::ScenarioPtr scenario)
Definition:
IceGridXmlGenerator.cpp:114
ScenarioManager::Generator::IceGridXmlGenerator::setDefaultSyncFileDir
void setDefaultSyncFileDir(std::string path)
Definition:
IceGridXmlGenerator.cpp:362
ScenarioManager::Generator::IceGridXmlGenerator::generateComponent
void generateComponent(Data_Structure::ApplicationInstancePtr app)
Definition:
IceGridXmlGenerator.cpp:181
ScenarioManager::Generator::IceGridXmlGenerator::generateLocalApplicationDescriptor
IceGrid::ApplicationDescriptor generateLocalApplicationDescriptor(Data_Structure::ScenarioPtr scenario, const IceGrid::AdminPrx iceAdmin)
Definition:
IceGridXmlGenerator.cpp:257
ScenarioManager::Generator::IceGridXmlGenerator::generateEmptyRemoteApplicationDescriptor
IceGrid::ApplicationDescriptor generateEmptyRemoteApplicationDescriptor(Data_Structure::ScenarioPtr scenario, const IceGrid::AdminPrx iceAdmin)
Definition:
IceGridXmlGenerator.cpp:274
ScenarioManager::Generator::IceGridXmlGenerator::generateUpdateDescriptor
IceGrid::ApplicationUpdateDescriptor generateUpdateDescriptor(IceGrid::ApplicationDescriptor descriptor)
Definition:
IceGridXmlGenerator.cpp:373
ScenarioManager::Generator::IceGridXmlGenerator::generateComponentNode
IceGrid::ServerInstanceDescriptor generateComponentNode(Data_Structure::ApplicationInstancePtr app)
Definition:
IceGridXmlGenerator.cpp:326
ScenarioManager::Generator::IceGridXmlGenerator::generateRemoteApplicationDescriptor
IceGrid::ApplicationDescriptor generateRemoteApplicationDescriptor(Data_Structure::ScenarioPtr scenario, const IceGrid::AdminPrx iceAdmin)
Definition:
IceGridXmlGenerator.cpp:308
ScenarioManager::Generator::IceGridXmlGenerator
Definition:
IceGridXmlGenerator.h:37
ScenarioManager::Generator::IceGridXmlGenerator::generateEmptyLocalApplicationDescriptor
IceGrid::ApplicationDescriptor generateEmptyLocalApplicationDescriptor(Data_Structure::ScenarioPtr scenario, const IceGrid::AdminPrx iceAdmin)
Definition:
IceGridXmlGenerator.cpp:223
ScenarioManager::Generator::IceGridXmlGenerator::getDefaultSyncFile
std::string getDefaultSyncFile()
Definition:
IceGridXmlGenerator.cpp:398
ArmarXCore
util
ScenarioManagerCommon
generator
IceGridXmlGenerator.h
Generated on Sat Oct 12 2024 09:14:02 for armarx_documentation by
1.8.17