|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.DynLib
public class DynLib
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
DynLib(InstancePointer p)
This constructor is public for internal useage only! |
protected |
DynLib(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
DynLib(java.lang.String name)
Default constructor - used by . |
|
DynLib(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
java.lang.String |
getName()
|
VoidPointer |
getSymbol(java.lang.String strName)
Returns the address of the given symbol from the loaded library. |
void |
load()
Load the library |
void |
unload()
Unload the library |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public DynLib(InstancePointer p)
protected DynLib(InstancePointer p,
boolean remote)
public DynLib(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public DynLib(java.lang.String name)
| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic void load()
load in interface IDynLibpublic void unload()
unload in interface IDynLibpublic java.lang.String getName()
getName in interface IDynLibpublic VoidPointer getSymbol(java.lang.String strName)
getSymbol in interface IDynLib
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||