crystalspace.jbind.interfaces.iutil.scf
Interface iBase

All Superinterfaces:
iPointer
All Known Subinterfaces:
iCacheManager, iCamera, iCameraPosition, iCameraPositionList, iClipper2D, iCollection, iCollectionList, iCommandLineParser, iConfigFile, iConfigIterator, iConfigManager, iCrossHalo, iDataBuffer, iEffectDefinition, iEffectLayer, iEffectPass, iEffectTechnique, iEngine, iEvent, iEventCord, iEventOutlet, iEventQueue, iFile, iFlareHalo, iFont, iFontServer, iFrustumView, iFrustumViewUserdata, iGraphics2D, iGraphics3D, iHalo, iImage, iKeyboardDriver, iKeyComposer, iLight, iLightingInfo, iLightIterator, iLightList, iLoader, iLoaderContext, iLoaderStatus, iLODControl, iMaterial, iMaterialHandle, iMaterialList, iMaterialWrapper, iMeshFactoryList, iMeshFactoryWrapper, iMeshList, iMeshObject, iMeshObjectFactory, iMeshWrapper, iMeshWrapperIterator, iMovable, iNativeWindow, iNovaHalo, iObject, iObjectIterator, iObjectModel, iObjectRegistry, iObjectRegistryIterator, iObjectWatcher, iPluginIterator, iPluginManager, iPolygonBuffer, iPolygonHandle, iPolygonMesh, iPortal, iPortalContainer, iProgressMeter, iRegion, iRegionList, iRenderBuffer, iRendererLightmap, iRenderLoop, iRenderLoopManager, iRenderStepContainer, iRenderView, iSector, iSectorIterator, iSectorList, iShader, iShaderVariableContext, iShadowBlock, iShadowBlockList, iShadowIterator, iSharedVariable, iSharedVariableList, iSoundData, iSoundHandle, iSoundSource, iSoundWrapper, iStringArray, iSuperLightmap, iTextureHandle, iTextureList, iTextureManager, iTextureWrapper, iThingFactoryState, iThingState, iVertexBuffer, iVertexBufferManager, iVFS, iView, iVirtualClock, iVisibilityCuller, iVisibilityObject, iVisibilityObjectIterator
All Known Implementing Classes:
csBase, csCacheManager, csCamera, csCameraPosition, csCameraPositionList, csClipper2D, csCollection, csCollectionList, csCommandLineParser, csConfigFile, csConfigIterator, csConfigManager, csCrossHalo, csDataBuffer, csEffectDefinition, csEffectLayer, csEffectPass, csEffectTechnique, csEngine, csEvent, csEventCord, csEventOutlet, csEventOutlet, csEventQueue, csFile, csFlareHalo, csFont, csFontServer, csFrustumView, csFrustumViewUserdata, csGraphics2D, csGraphics3D, csHalo, csImage, csKeyboardDriver, csKeyComposer, csLight, csLightingInfo, csLightIterator, csLightList, csLoader, csLoaderContext, csLoaderStatus, csLODControl, csMaterial, csMaterialHandle, csMaterialList, csMaterialWrapper, csMeshFactoryList, csMeshFactoryWrapper, csMeshList, csMeshObject, csMeshObjectFactory, csMeshWrapper, csMeshWrapperIterator, csMovable, csNovaHalo, csObject, csObjectIterator, csObjectModel, csObjectRegistry, csObjectRegistryIterator, csObjectWatcher, csPluginIterator, csPluginManager, csPolygonBuffer, csPolygonHandle, csPolygonMesh, csPortal, csPortalContainer, csProgressMeter, csRegion, csRegionList, csRenderBuffer, csRendererLightmap, csRenderLoop, csRenderLoopManager, csRenderStepContainer, csRenderView, csSector, csSectorIterator, csSectorList, csShader, csShaderVariableContext, csShadowBlock, csShadowBlockList, csShadowIterator, csSharedVariable, csSharedVariableList, csSoundData, csSoundHandle, csSoundSource, csSoundWrapper, csStringArray, csSuperLightmap, csTextureHandle, csTextureList, csTextureManager, csTextureWrapper, csThingFactoryState, csThingState, csVertexBuffer, csVertexBufferManager, csVFS, csView, csView, csVirtualClock, csVisibilityCuller, csVisibilityObject, csVisibilityObjectIterator

public interface iBase
extends iPointer

This is the basic interface: all other interfaces should be derived from this one, this will allow us to always use at least some minimal functionality given any interface pointer.

Author:
java wrapper - Quentin Anciaux, c++ version - http://crystal.sourceforge.net/docs/online/pubapi/structiBase.php

Method Summary
 void decRef()
          Decrement the reference count.
 java.lang.String getName()
          Return the name of the interface
 int getRefCount()
          Get the ref count (only for debugging).
 int getVersion()
          Return the version of the interface
 void incRef()
          Increment the number of references to this object.
 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 interface crystalspace.jbind.interfaces.iPointer
changePointer, getPointer, isMemoryOwner, setMemoryOwner
 

Method Detail

getVersion

public int getVersion()
Return the version of the interface

Returns:

getName

public java.lang.String getName()
Return the name of the interface

Returns:

incRef

public void incRef()
Increment the number of references to this object.


decRef

public void decRef()
Decrement the reference count.


getRefCount

public int getRefCount()
Get the ref count (only for debugging).

Returns:

queryInterface

public iPointer queryInterface(long iInterfaceID,
                               int iVersion)
Query a particular interface implemented by this object.

Parameters:
iInterfaceID -
iVersion -
Returns:

queryInterfaceSafe

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

Parameters:
ibase -
iInterfaceID -
iVersion -
Returns: