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
31#include <IceGrid/Admin.h>
32#include <IceGrid/Descriptor.h>
33
36
38{
40 {
41 public:
45
46 IceGrid::ApplicationDescriptor
48 const IceGrid::AdminPrx iceAdmin);
49 IceGrid::ApplicationDescriptor
51 const IceGrid::AdminPrx iceAdmin);
52 IceGrid::ApplicationDescriptor
54 const IceGrid::AdminPrx iceAdmin);
55 IceGrid::ApplicationDescriptor
57 const IceGrid::AdminPrx iceAdmin);
58
59 IceGrid::ServerInstanceDescriptor
61
62
63 IceGrid::ApplicationUpdateDescriptor
64 generateUpdateDescriptor(IceGrid::ApplicationDescriptor descriptor);
65
66 std::string getDefaultSyncFile();
67 void setDefaultSyncFileDir(std::string path);
68
69 private:
70 std::string getSyncDirFromFile(std::string path);
71 };
72} // namespace ScenarioManager::Generator
73
74#endif
IceGrid::ApplicationDescriptor generateEmptyRemoteApplicationDescriptor(Data_Structure::ScenarioPtr scenario, const IceGrid::AdminPrx iceAdmin)
IceGrid::ApplicationDescriptor generateLocalApplicationDescriptor(Data_Structure::ScenarioPtr scenario, const IceGrid::AdminPrx iceAdmin)
IceGrid::ApplicationUpdateDescriptor generateUpdateDescriptor(IceGrid::ApplicationDescriptor descriptor)
void generateComponent(Data_Structure::ApplicationInstancePtr app)
void generateLocalApplication(Data_Structure::ScenarioPtr scenario)
void generateRemoteApplication(Data_Structure::ScenarioPtr scenario)
IceGrid::ApplicationDescriptor generateEmptyLocalApplicationDescriptor(Data_Structure::ScenarioPtr scenario, const IceGrid::AdminPrx iceAdmin)
IceGrid::ServerInstanceDescriptor generateComponentNode(Data_Structure::ApplicationInstancePtr app)
IceGrid::ApplicationDescriptor generateRemoteApplicationDescriptor(Data_Structure::ScenarioPtr scenario, const IceGrid::AdminPrx iceAdmin)
std::shared_ptr< Scenario > ScenarioPtr
Definition Scenario.h:35
std::shared_ptr< ApplicationInstance > ApplicationInstancePtr