|
SDL++
C++wrapperfortheSDLlibrary.
|
Represents a shared object. More...
#include <SharedObject.h>

Public Member Functions | |
| SharedObject (const string &fileName) | |
| ~SharedObject () | |
| void * | loadFunction (const string &name) |
Represents a shared object.
Definition at line 35 of file SharedObject.h.
| sdl::misc::SharedObject::SharedObject | ( | const string & | fileName | ) | [inline] |
Loads a shared object from a file.
| fileName | The file from which to load the shared object. |
| runtime_error | Throws a runtime_error if unable to load shared object. |
Definition at line 43 of file SharedObject.h.
| sdl::misc::SharedObject::~SharedObject | ( | ) | [inline] |
Unloads the shared object.
Definition at line 51 of file SharedObject.h.
| void* sdl::misc::SharedObject::loadFunction | ( | const string & | name | ) | [inline] |
Returns the address of a function in a loaded shared object.
| name | The function's name. |
| runtime_error | Throws a runtime_error if unable to load function. |
Definition at line 62 of file SharedObject.h.