#include <gauge3d/osabstraction/library.h>
Inherits GAUGE3D::GObject.
Public Methods | |
| GLibrary (GString filename) | |
| Create a GLibrary for a given library file. More... | |
| ~GLibrary () | |
| Close the library. | |
| bool | Open () |
| Open the library. More... | |
| void* | GetSymbol (GString symbolName) |
| Get a pointer to a function in the library. More... | |
| void | Close () |
| Unload the library from memory. More... | |
| GString | Filename () |
| Get the name of the library, as given to the constructor. | |
| bool | IsOpen () |
| Returns true if the library is open. | |
This class allows you to load executable add-ons to your program. You could use it directly, but we recommend using GObjectLoader instead, as it provides a much nicer system for doing this. GObjectLoader uses GLibrary to do what it does.
|
|
Create a GLibrary for a given library file.
|
|
|
Open the library.
|
|
|
Get a pointer to a function in the library.
|
|
|
Unload the library from memory. This will unload the library from RAM. If you need to use it again, call Open(). |
1.2.4 written by Dimitri van Heesch,
© 1997-2000