Loading...
Searching...
No Matches
PluginManager.h File Reference

Go to the source code of this file.

Classes

class  ml::PluginManager
 Loads, manages, and safely unloads dynamically linked plugins. More...

Namespaces

namespace  ml

Macros

#define CLOSE_LIB(handle)
#define GET_FUNC(handle, name)
#define LIB_HANDLE   void*
#define LOAD_LIB(path)

Macro Definition Documentation

◆ CLOSE_LIB

#define CLOSE_LIB ( handle)
Value:
dlclose(handle)

Definition at line 24 of file PluginManager.h.

◆ GET_FUNC

#define GET_FUNC ( handle,
name )
Value:
dlsym(handle, name)

Definition at line 23 of file PluginManager.h.

◆ LIB_HANDLE

#define LIB_HANDLE   void*

Definition at line 21 of file PluginManager.h.

◆ LOAD_LIB

#define LOAD_LIB ( path)
Value:
dlopen(path, RTLD_NOW | RTLD_GLOBAL)

Definition at line 22 of file PluginManager.h.