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