27#include <unordered_map>
38 static std::unordered_map<std::string, void*> m_plugins;
The main header file of the library defining the namespace and basic data types.
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:93
This manager provides utilities for plugin loading.
Definition PluginManager.h:36
static void * lookupLibrary(void *handle, const std::string &name)
Looks up a symbol from an opened library.
static void closeLibrary(void *handle)
Closes an opened shared library.
static void loadPlugins(const std::string &path="")
Loads all plugins found in a folder.
static bool loadPlugin(const std::string &path)
Loads a plugin from a file.
static void * openLibrary(const std::string &path)
Opens a shared library.