YARP
Yet Another Robot Platform
xmlappsaver.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_XMLAPPSAVER
10 #define YARP_MANAGER_XMLAPPSAVER
11 
12 #include <yarp/manager/ymm-types.h>
14 
15 namespace yarp {
16 namespace manager {
17 
18 
22 class XmlAppSaver : public AppSaver
23 {
24 
25 public:
26  XmlAppSaver(const char* szFileName=NULL);
27  bool save(Application* application) override;
28  virtual ~XmlAppSaver();
29 
30 protected:
31 
32 private:
33  bool serialXml(Application* app, const char* szFile);
34  std::string strFileName;
35 };
36 
37 } // namespace yarp
38 } // namespace manager
39 
40 
41 #endif // __YARP_MANAGER_XMLAPPSAVER__
yarp::manager::Application
Class Application.
Definition: application.h:292
yarp::manager::AppSaver
Definition: manifestloader.h:41
yarp::manager::XmlAppSaver::save
bool save(Application *application) override
Definition: xmlappsaver.cpp:30
manifestloader.h
ymm-types.h
yarp::manager::XmlAppSaver::XmlAppSaver
XmlAppSaver(const char *szFileName=NULL)
Definition: xmlappsaver.cpp:25
yarp::manager::XmlAppSaver::~XmlAppSaver
virtual ~XmlAppSaver()
yarp::manager::XmlAppSaver
Class XmlAppSaver.
Definition: xmlappsaver.h:23
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18