|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_OS_SHAREDLIBRARYCLASSFACTORY_H
10 #define YARP_OS_SHAREDLIBRARYCLASSFACTORY_H
54 #endif // YARP_OS_SHAREDLIBRARYCLASSFACTORY_H
void destroy(T *obj) const
SharedLibraryClassFactory(const char *dll_name, const char *fn_name=nullptr)
void(* destroy)(void *obj)
SharedLibraryClassFactory()=default
A type-safe wrapper for SharedLibraryFactory, committing to creation/destruction of instances of a pa...
A wrapper for a named factory method in a named shared library.
The main, catch-all namespace for YARP.
bool isValid() const
Check if factory is configured and present.
const SharedLibraryClassApi & getApi() const
Get the factory API, which has creation/deletion methods.