6#ifndef YARP_OS_SHAREDLIBRARYCLASSFACTORY_H
7#define YARP_OS_SHAREDLIBRARYCLASSFACTORY_H
35 return (T*)
getApi().create();
A type-safe wrapper for SharedLibraryFactory, committing to creation/destruction of instances of a pa...
SharedLibraryClassFactory()=default
void destroy(T *obj) const
SharedLibraryClassFactory(const char *dll_name, const char *fn_name=nullptr)
A wrapper for a named factory method in a named shared library.
bool isValid() const
Check if factory is configured and present.
const SharedLibraryClassApi & getApi() const
Get the factory API, which has creation/deletion methods.
An interface to the operating system, including Port based communication.