6 #ifndef YARP_OS_SHAREDLIBRARYFACTORY_H
7 #define YARP_OS_SHAREDLIBRARYFACTORY_H
61 const char* fn_name =
nullptr);
75 bool open(
const char* dll_name,
const char* fn_name =
nullptr);
89 int getStatus()
const;
96 std::string getError()
const;
110 int getReferenceCount()
const;
131 std::string getName()
const;
138 std::string getClassName()
const;
145 std::string getBaseClassName()
const;
156 bool useFactoryFunction(
void* factory);
A wrapper for a named factory method in a named shared library.
@ STATUS_NONE
Not configured yet.
virtual ~SharedLibraryFactory()
Destructor.
Low-level wrapper for loading shared libraries (DLLs) and accessing symbols within it.
bool isValid()
Check if time is valid (non-zero).
constexpr yarp::conf::vocab32_t createVocab32(char a, char b=0, char c=0, char d=0)
Create a vocab from chars.
The main, catch-all namespace for YARP.
Collection of hooks for creating/destroying a plugin.
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG(x)
Suppress MSVC C4251 warning for the declaration.