YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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
13namespace yarp::os::impl {
14
16{
17private:
19
20public:
21 static RFModuleFactory& GetInstance();
22 static void AddModule(const std::string& name, RFModule* (*moduleCreate)(void));
23 RFModule* GetModule(const std::string& name);
24
25#ifndef DOXYGEN_SHOULD_SKIP_THIS
26private:
27 class Private;
28 Private* mPriv;
29#endif // DOXYGEN_SHOULD_SKIP_THIS
30
31};
32
33} // namespace yarp::os::impl
34
35#endif // YARP_OS_RFPLUGINFACTORY_H
A mini-server for performing network communication in the background.
A base-class for standard YARP modules that supports ResourceFinder.
Definition RFModule.h:20
The components from which ports and connections are built.
#define YARP_os_API
Definition api.h:18