YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
xmlapploader.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_XMLAPPLOADER
7#define YARP_MANAGER_XMLAPPLOADER
8
11
12
13namespace yarp::manager {
14class TextParser;
15
19class XmlAppLoader : public AppLoader {
20
21public:
22 XmlAppLoader(const char* szFileName);
23 XmlAppLoader(const char* szPath, const char* szAppName);
24 ~XmlAppLoader() override;
25
26 bool init() override;
27 void fini() override;
28 void reset() override;
30
31protected:
32
33private:
34 std::string strAppName;
35 std::string strPath;
36 std::string strFileName;
37 std::vector<std::string> fileNames;
38 Application app;
39 TextParser* parser;
40 Application* parsXml(const char* szFile);
41};
42
43} // namespace yarp::manager
44
45
46#endif // __YARP_MANAGER_XMLAPPLOADER__
Abstract Class AppLoader.
Class Application.
Class XmlAppLoader.
Application * getNextApplication() override