CACAO
|
Table containing all loaded native libraries. More...
Data Structures | |
class | comparator |
Public Member Functions | |
void | add (NativeLibrary &library) |
Add the given native library to the native libraries table. More... | |
bool | is_loaded (NativeLibrary &library) |
Checks if the given native library is loaded. More... | |
void * | resolve_symbol (Utf8String symbolname, classloader_t *classloader) |
Try to find a symbol with the given name in all loaded native libraries defined by classloader. More... | |
Private Types | |
typedef std::multimap < classloader_t *, NativeLibrary > | MAP |
Private Attributes | |
Mutex | _mutex |
Mutex to make the container thread-safe. More... | |
MAP | _libraries |
Table containing all loaded native libraries.
Definition at line 85 of file native.hpp.
|
private |
Definition at line 88 of file native.hpp.
void NativeLibraries::add | ( | NativeLibrary & | library | ) |
Add the given native library to the native libraries table.
library | Native library to insert. |
Definition at line 557 of file native.cpp.
bool NativeLibraries::is_loaded | ( | NativeLibrary & | library | ) |
Checks if the given native library is loaded.
library | Native library. |
Definition at line 578 of file native.cpp.
void * NativeLibraries::resolve_symbol | ( | Utf8String | symbolname, |
classloader_t * | classloader | ||
) |
Try to find a symbol with the given name in all loaded native libraries defined by classloader.
symbolname | Name of the symbol to find. |
classloader | Defining classloader. |
Definition at line 606 of file native.cpp.
|
private |
Definition at line 89 of file native.hpp.
|
private |
Mutex to make the container thread-safe.
Definition at line 87 of file native.hpp.