22 using HandlePtr = std::unique_ptr<void, HandleCloser>;
34 template<
typename BackendFunctionType>
35 BackendFunctionType SetFunctionPointer(
const std::string& backendFunctionName);
39 using IdFunctionType =
const char*(*)();
40 using VersionFunctionType = void(*)(uint32_t*, uint32_t*);
41 using FactoryFunctionType =
void*(*)();
44 IdFunctionType m_BackendIdFunction;
45 VersionFunctionType m_BackendVersionFunction;
46 FactoryFunctionType m_BackendFactoryFunction;
std::unique_ptr< IBackendInternal > IBackendInternalUniquePtr
BackendVersion GetBackendVersion()
std::function< PointerType()> FactoryFunction
std::function< void(const void *)> HandleCloser
std::unique_ptr< void, HandleCloser > HandlePtr
BackendId GetBackendId()
Public dynamic backend functions.
std::unique_ptr< DynamicBackend > DynamicBackendPtr
BackendRegistry::FactoryFunction GetFactoryFunction()
DynamicBackend(const void *sharedObjectHandle)
IBackendInternalUniquePtr GetBackend()