YARP
Yet Another Robot Platform
singleapploader.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_SINGLEAPPLOADER
10 #define YARP_MANAGER_SINGLEAPPLOADER
11 
12 #include <yarp/manager/ymm-types.h>
14 
15 namespace yarp {
16 namespace manager {
17 
18 
22 class SingleAppLoader : public AppLoader {
23 
24 public:
25  SingleAppLoader(const char* szModule, const char* strHost);
26  ~SingleAppLoader() override;
27  bool init() override;
28  void fini() override;
29  Application* getNextApplication() override;
30 
31 protected:
32 
33 private:
34  Application app;
35  std::string strModule;
36  std::string strHost;
37 };
38 
39 } // namespace yarp
40 } // namespace manager
41 
42 
43 #endif // __YARP_MANAGER_SINGLEAPPLOADER__
yarp::manager::Application
Class Application.
Definition: application.h:292
yarp::manager::SingleAppLoader
Class SingleAppLoader.
Definition: singleapploader.h:22
yarp::manager::SingleAppLoader::getNextApplication
Application * getNextApplication() override
Definition: singleapploader.cpp:51
yarp::manager::SingleAppLoader::fini
void fini() override
Definition: singleapploader.cpp:45
yarp::manager::SingleAppLoader::~SingleAppLoader
~SingleAppLoader() override
manifestloader.h
ymm-types.h
yarp::manager::SingleAppLoader::init
bool init() override
Definition: singleapploader.cpp:27
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
yarp::manager::SingleAppLoader::SingleAppLoader
SingleAppLoader(const char *szModule, const char *strHost)
Definition: singleapploader.cpp:17
yarp::manager::AppLoader
Abstract Class AppLoader.
Definition: manifestloader.h:24