|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object crystalspace.jbind.impl.csNativeObject crystalspace.jbind.impl.csutil.scf.csBase
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csBase(iPointer nPointer)
|
Method Summary | |
void |
decRef()
Decrement the reference count. |
boolean |
equals(java.lang.Object toTest)
|
void |
finalize()
Finalize the java object, if memoryowner of the native pointer and the pointer is valid, delete the native object. |
abstract java.lang.String |
getName()
Return the name of the interface |
int |
getRefCount()
Get the ref count (only for debugging). |
abstract int |
getVersion()
Return the version of the interface |
void |
incRef()
Increment the number of references to this object. |
protected void |
nDelete(long pointer)
|
iPointer |
queryInterface(long iInterfaceID,
int iVersion)
Query a particular interface implemented by this object. |
iPointer |
queryInterfaceSafe(iBase ibase,
long iInterfaceID,
int iVersion)
Query a particular interface implemented by an object. |
Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, isNativePointerValidSafe, newNativeObject, setMemoryOwner, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Constructor Detail |
public csBase(iPointer nPointer)
Method Detail |
public abstract int getVersion()
iBase
getVersion
in interface iBase
public abstract java.lang.String getName()
iBase
getName
in interface iBase
public final void incRef()
iBase
incRef
in interface iBase
public final void decRef()
iBase
decRef
in interface iBase
public final int getRefCount()
iBase
getRefCount
in interface iBase
public final iPointer queryInterface(long iInterfaceID, int iVersion)
iBase
queryInterface
in interface iBase
iInterfaceID
- iVersion
-
public final iPointer queryInterfaceSafe(iBase ibase, long iInterfaceID, int iVersion)
iBase
queryInterfaceSafe
in interface iBase
ibase
- iInterfaceID
- iVersion
-
public final boolean equals(java.lang.Object toTest)
equals
in class csNativeObject
Object.equals(java.lang.Object)
public void finalize() throws java.lang.Throwable
csNativeObject
finalize
in class csNativeObject
java.lang.Throwable
Object.finalize()
protected void nDelete(long pointer)
nDelete
in class csNativeObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |