YARP
Yet Another Robot Platform
RFModuleFactory.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_OS_RFPLUGINFACTORY_H
10 #define YARP_OS_RFPLUGINFACTORY_H
11 
12 #include <yarp/os/RFModule.h>
13 
14 #include <string>
15 
16 namespace yarp {
17 namespace os {
18 
20 {
21 private:
23 
24 public:
25  static RFModuleFactory& GetInstance();
26  static void AddModule(const std::string& name, RFModule* (*moduleCreate)(void));
27  RFModule* GetModule(const std::string& name);
28 
29 #ifndef DOXYGEN_SHOULD_SKIP_THIS
30 private:
31  class Private;
32  Private* mPriv;
33 #endif // DOXYGEN_SHOULD_SKIP_THIS
34 
35 };
36 
37 }
38 }
39 
40 #endif // YARP_OS_RFPLUGINFACTORY_H
yarp::os::RFModule
A base-class for standard YARP modules that supports ResourceFinder.
Definition: RFModule.h:24
YARP_os_API
#define YARP_os_API
Definition: api.h:19
yarp::os::RFModuleFactory::Private
Definition: RFModuleFactory.cpp:19
yarp::os::RFModuleFactory
Definition: RFModuleFactory.h:20
RFModule.h
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18