crystalspace.jbind.impl.csutil.scf
Class csBase

java.lang.Object
  extended bycrystalspace.jbind.impl.csNativeObject
      extended bycrystalspace.jbind.impl.csutil.scf.csBase
All Implemented Interfaces:
iBase, iPointer
Direct Known Subclasses:
csCacheManager, csCamera, csCameraPosition, csCameraPositionList, csClipper2D, csCollection, csCollectionList, csCommandLineParser, csComponent, csConfigFile, csConfigIterator, csCrossHalo, csDataBuffer, csEffectDefinition, csEffectLayer, csEffectPass, csEffectTechnique, csEngine, csEvent, csEventCord, csEventHandler, csEventOutlet, csEventOutlet, csEventPlug, csEventQueue, csFile, csFlareHalo, csFont, csFontDeleteNotify, csFontServer, csFrustumView, csFrustumViewObjectFunc, csFrustumViewUserdata, csGraphics2D, csGraphics3D, csHalo, csImage, csKeyboardDriver, csKeyComposer, csLight, csLightCallback, csLightingInfo, csLightIterator, csLightList, csLoader, csLoaderContext, csLoaderStatus, csLODControl, csMaterial, csMaterialHandle, csMaterialList, csMaterialWrapper, csMeshDrawCallback, csMeshFactoryList, csMeshFactoryWrapper, csMeshList, csMeshObject, csMeshObjectDrawCallback, csMeshObjectFactory, csMeshWrapper, csMeshWrapperIterator, csMovable, csMovableListener, csNovaHalo, csObject, csObjectIterator, csObjectModel, csObjectModelListener, csObjectRegistry, csObjectRegistryIterator, csObjectWatcher, csObjectWatcherListener, csOffscreenCanvasCallback, csPluginIterator, csPluginManager, csPolygonBuffer, csPolygonHandle, csPolygonMesh, csPortal, csPortalCallback, csPortalContainer, csProgressMeter, csRegion, csRegionList, csRenderBuffer, csRendererLightmap, csRenderLoopManager, csRenderStepContainer, csRenderView, csSector, csSectorCallback, csSectorIterator, csSectorList, csShader, csShaderVariableAccessor, csShaderVariableContext, csShadowBlock, csShadowBlockList, csShadowIterator, csShadowReceiver, csSharedVariable, csSharedVariableList, csSharedVariableListener, csSoundData, csSoundHandle, csSoundSource, csSoundWrapper, csStringArray, csSuperLightmap, csTextureCallback, csTextureHandle, csTextureList, csTextureManager, csTextureWrapper, csThingFactoryState, csThingState, csVertexBuffer, csVertexBufferManager, csVertexBufferManagerClient, csVFS, csView, csView, csVirtualClock, csVisibilityCuller, csVisibilityCullerListener, csVisibilityObject, csVisibilityObjectIterator

public abstract class csBase
extends csNativeObject
implements iBase

Author:
qan To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

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

csBase

public csBase(iPointer nPointer)
Method Detail

getVersion

public abstract int getVersion()
Description copied from interface: iBase
Return the version of the interface

Specified by:
getVersion in interface iBase
Returns:

getName

public abstract java.lang.String getName()
Description copied from interface: iBase
Return the name of the interface

Specified by:
getName in interface iBase
Returns:

incRef

public final void incRef()
Description copied from interface: iBase
Increment the number of references to this object.

Specified by:
incRef in interface iBase

decRef

public final void decRef()
Description copied from interface: iBase
Decrement the reference count.

Specified by:
decRef in interface iBase

getRefCount

public final int getRefCount()
Description copied from interface: iBase
Get the ref count (only for debugging).

Specified by:
getRefCount in interface iBase
Returns:

queryInterface

public final iPointer queryInterface(long iInterfaceID,
                                     int iVersion)
Description copied from interface: iBase
Query a particular interface implemented by this object.

Specified by:
queryInterface in interface iBase
Parameters:
iInterfaceID -
iVersion -
Returns:

queryInterfaceSafe

public final iPointer queryInterfaceSafe(iBase ibase,
                                         long iInterfaceID,
                                         int iVersion)
Description copied from interface: iBase
Query a particular interface implemented by an object.

Specified by:
queryInterfaceSafe in interface iBase
Parameters:
ibase -
iInterfaceID -
iVersion -
Returns:

equals

public final boolean equals(java.lang.Object toTest)
Overrides:
equals in class csNativeObject
See Also:
Object.equals(java.lang.Object)

finalize

public void finalize()
              throws java.lang.Throwable
Description copied from class: csNativeObject
Finalize the java object, if memoryowner of the native pointer and the pointer is valid, delete the native object.

Overrides:
finalize in class csNativeObject
Throws:
java.lang.Throwable
See Also:
Object.finalize()

nDelete

protected void nDelete(long pointer)
Specified by:
nDelete in class csNativeObject