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