YARP
Yet Another Robot Platform
xmltemploader.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3
* All rights reserved.
4
*
5
* This software may be modified and distributed under the terms of the
6
* BSD-3-Clause license. See the accompanying LICENSE file for details.
7
*/
8
9
#ifndef YARP_MANAGER_XMLTEMPLOADER
10
#define YARP_MANAGER_XMLTEMPLOADER
11
12
#include <
yarp/manager/ymm-types.h
>
13
#include <
yarp/manager/manifestloader.h
>
14
#include <
yarp/manager/impl/textparser.h
>
15
16
namespace
yarp
{
17
namespace
manager {
18
19
23
class
XmlTempLoader
:
public
TempLoader
{
24
25
public
:
26
XmlTempLoader
(
const
char
* szFileName);
27
XmlTempLoader
(
const
char
* szPath,
const
char
* szAppName);
28
~XmlTempLoader
()
override
;
29
bool
init
()
override
;
30
void
fini
()
override
;
31
void
reset
()
override
;
32
AppTemplate
*
getNextAppTemplate
()
override
;
33
34
protected
:
35
36
private
:
37
std::string strAppName;
38
std::string strPath;
39
std::string strFileName;
40
std::vector<std::string> fileNames;
41
TextParser
parser;
42
AppTemplate
app;
43
AppTemplate
* parsXml(
const
char
* szFile);
44
};
45
46
}
// namespace yarp
47
}
// namespace manager
48
49
50
#endif // __YARP_MANAGER_XMLTEMPLOADER__
yarp::manager::XmlTempLoader::init
bool init() override
Definition:
xmltemploader.cpp:59
yarp::manager::TempLoader
Definition:
manifestloader.h:104
yarp::manager::AppTemplate
Abstract Class TempLoader.
Definition:
manifestloader.h:98
yarp::manager::XmlTempLoader::getNextAppTemplate
AppTemplate * getNextAppTemplate() override
Definition:
xmltemploader.cpp:117
yarp::manager::XmlTempLoader::XmlTempLoader
XmlTempLoader(const char *szFileName)
load only one application indicated by its xml file name
Definition:
xmltemploader.cpp:49
yarp::manager::TextParser
Definition:
textparser.h:24
manifestloader.h
yarp::manager::XmlTempLoader::fini
void fini() override
Definition:
xmltemploader.cpp:111
yarp::manager::XmlTempLoader
Class XmlTempLoader.
Definition:
xmltemploader.h:23
ymm-types.h
textparser.h
yarp::manager::XmlTempLoader::~XmlTempLoader
~XmlTempLoader() override
yarp
The main, catch-all namespace for YARP.
Definition:
environment.h:18
yarp::manager::XmlTempLoader::reset
void reset() override
Definition:
xmltemploader.cpp:104
YARP
3.4.100+20201223.2+gitb8ea4d712
src
libYARP_manager
src
yarp
manager
xmltemploader.h
Generated on Sun Jan 3 2021 02:46:24 for YARP by
1.8.20