org.ogre4j
Class UnifiedHighLevelGpuProgram

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.UnifiedHighLevelGpuProgram
All Implemented Interfaces:
IAllocatedObject<IResourceAllocPolicy>, IGpuProgram, IHighLevelGpuProgram, IResource, IResourceAllocatedObject, IStringInterface, IUnifiedHighLevelGpuProgram, INativeObject

public class UnifiedHighLevelGpuProgram
extends NativeObject
implements IUnifiedHighLevelGpuProgram


Nested Class Summary
static class UnifiedHighLevelGpuProgram.CmdDelegate
           
 
Nested classes/interfaces inherited from interface org.ogre4j.IUnifiedHighLevelGpuProgram
IUnifiedHighLevelGpuProgram.ICmdDelegate
 
Nested classes/interfaces inherited from interface org.ogre4j.IGpuProgram
IGpuProgram.ICmdAdjacency, IGpuProgram.ICmdManualNamedConstsFile, IGpuProgram.ICmdMorph, IGpuProgram.ICmdPose, IGpuProgram.ICmdSkeletal, IGpuProgram.ICmdSyntax, IGpuProgram.ICmdType, IGpuProgram.ICmdVTF
 
Nested classes/interfaces inherited from interface org.ogre4j.IResource
IResource.IListener, IResource.IListenerList
 
Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  UnifiedHighLevelGpuProgram(InstancePointer p)
          This constructor is public for internal useage only!
protected UnifiedHighLevelGpuProgram(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  UnifiedHighLevelGpuProgram(IResourceManager creator, java.lang.String name, long handle, java.lang.String group, boolean isManual, IManualResourceLoader loader)
          Constructor, should be used only by factory classes.
  UnifiedHighLevelGpuProgram(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void _dirtyState()
          Manually mark the state of this resource as having been changed.
 void _fireBackgroundLoadingComplete()
          Firing of background loading complete event
 void _fireBackgroundPreparingComplete()
          Firing of background preparing complete event
 IGpuProgram _getBindingDelegate()
          Returns the which should be bound to the pipeline.
 IHighLevelGpuProgramPtr _getDelegate()
           
 void _notifyOrigin(java.lang.String origin)
           
 void addDelegateProgram(java.lang.String name)
          Adds a new delegate program to the list.
 void addListener(IResource.IListener lis)
          Register a listener on this resource.
 void changeGroupOwnership(java.lang.String newGroup)
          Change the resource group ownership of a .
static void cleanupDictionary()
          Cleans up the static 'msDictionary' required to reset , otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the implementers (e.g. ) initializes.
 void clearDelegatePrograms()
           
 void copyParametersTo(IStringInterface dest)
          Method for copying this object's parameters to another object.
 void createParameters(IGpuProgramParametersSharedPtr returnValue)
          Creates a new parameters object compatible with this program definition.
 void delete()
          Deletes the corresponding C++ object.
 void escalateLoading()
          Escalates the loading of a background loaded resource.
 void finalize()
           
 IGpuNamedConstants getConstantDefinitions()
          Get the full list of instances.
 IResourceManager getCreator()
           
 void getDefaultParameters(IGpuProgramParametersSharedPtr returnValue)
          Get a reference to the default parameters which are to be used for all uses of this program.
 java.lang.String getGroup()
           
 long getHandle()
           
 java.lang.String getLanguage()
          Returns a string that specifies the language of the gpu programs as specified in a material script. ie: asm, cg, hlsl, glsl
 Resource.LoadingState getLoadingState()
          Returns the current loading state.
 java.lang.String getManualNamedConstantsFile()
          Gets the name of a file from which to load named parameters mapping for a program which would not be able to derive named parameters itself.
 java.lang.String getName()
          Gets resource name.
 IGpuNamedConstants getNamedConstants()
           
 int getNumberOfPosesIncluded()
          Returns the number of simultaneous poses the vertex program can blend, for use in pose animation.
 java.lang.String getOrigin()
          Get the origin of this resource, e.g. a script file name.
 IParamDictionary getParamDictionary_const()
           
 IParamDictionary getParamDictionary()
          Retrieves the parameter dictionary for this class.
 java.lang.String getParameter(java.lang.String name)
          Generic parameter retrieval method.
 IParameterList getParameters()
          Retrieves a list of parameters valid for this object.
 boolean getPassSurfaceAndLightStates()
          Returns whether a vertex program wants light and material states to be passed through fixed pipeline low level API rendering calls
 int getSize()
          Retrieves info about the size of the resource.
 java.lang.String getSource()
          Gets the assembler source for this program.
 java.lang.String getSourceFile()
          Gets the name of the file used as source for this program.
 int getStateCount()
          Returns the number of times this resource has changed state, which generally means the number of times it has been loaded.
 java.lang.String getSyntaxCode()
          Gets the syntax code for this program e.g. arbvp1, fp20, vs_1_1 etc
 GpuProgramType getType()
           
 boolean hasCompileError()
          Did this program encounter a compile error when loading?
 boolean hasDefaultParameters()
          Returns true if default parameters have been set up.
 boolean isAdjacencyInfoRequired()
          Returns whether this geometry program requires adjacency information from the input primitives.
 boolean isBackgroundLoaded()
          Returns whether this has been earmarked for background loading.
 boolean isLoaded()
          Returns true if the has been loaded, false otherwise.
 boolean isLoading()
          Returns whether the resource is currently in the process of background loading.
 boolean isManuallyLoaded()
          Is this resource manually loaded?
 boolean isMorphAnimationIncluded()
          Returns whether a vertex program includes the required instructions to perform morph animation.
 boolean isPoseAnimationIncluded()
          Returns whether a vertex program includes the required instructions to perform pose animation.
 boolean isPrepared()
          Returns true if the has been prepared, false otherwise.
 boolean isReloadable()
          Returns true if the is reloadable, false otherwise.
 boolean isSkeletalAnimationIncluded()
          Returns whether a vertex program includes the required instructions to perform skeletal animation.
 boolean isSupported()
          Returns whether this program can be supported on the current renderer and hardware.
 boolean isVertexTextureFetchRequired()
          Returns whether this vertex program requires support for vertex texture fetch from the hardware.
 void load(boolean backgroundThread)
          Loads the resource, if it is not already.
 void prepare()
          Prepares the resource for load, if it is not already.
 void reload()
          Reloads the resource, if it is already loaded.
 void removeListener(IResource.IListener lis)
          Remove a listener on this resource.
 void resetCompileError()
          Reset a compile error if it occurred, allowing the load to be retried
 void setAdjacencyInfoRequired(boolean r)
          Sets whether this geometry program requires adjacency information from the input primitives.
 void setBackgroundLoaded(boolean bl)
          Tells the resource whether it is background loaded or not.
 void setManualNamedConstants(IGpuNamedConstants namedConstants)
          Allows you to manually provide a set of named parameter mappings to a program which would not be able to derive named parameters itself.
 void setManualNamedConstantsFile(java.lang.String paramDefFile)
          Specifies the name of a file from which to load named parameters mapping for a program which would not be able to derive named parameters itself.
 void setMorphAnimationIncluded(boolean included)
          Sets whether a vertex program includes the required instructions to perform morph animation.
 boolean setParameter(java.lang.String name, java.lang.String value)
          Generic parameter setting method.
 void setParameterList(INameValuePairList paramList)
          Generic multiple parameter setting method.
 void setPoseAnimationIncluded(int poseCount)
          Sets whether a vertex program includes the required instructions to perform pose animation.
 void setSkeletalAnimationIncluded(boolean included)
          Sets whether a vertex program includes the required instructions to perform skeletal animation.
 void setSource(java.lang.String source)
          Sets the source assembly for this program from an in-memory string.
 void setSourceFile(java.lang.String filename)
          Sets the filename of the source assembly for this program.
 void setSurfaceAndPassLightStates(boolean state)
          Sets whether a vertex program requires light and material states to be passed to through fixed pipeline low level API rendering calls.
 void setSyntaxCode(java.lang.String syntax)
          Sets the syntax code for this program e.g. arbvp1, fp20, vs_1_1 etc
 void setType(GpuProgramType t)
           
 void setVertexTextureFetchRequired(boolean r)
          Sets whether this vertex program requires support for vertex texture fetch from the hardware.
 void touch()
          'Touches' the resource to indicate it has been used.
 void unload()
          Unloads the resource; this is not permanent, the resource can be reloaded later if required.
 
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

UnifiedHighLevelGpuProgram

public UnifiedHighLevelGpuProgram(InstancePointer p)
This constructor is public for internal useage only! Do not use it!


UnifiedHighLevelGpuProgram

protected UnifiedHighLevelGpuProgram(InstancePointer p,
                                     boolean remote)
Creates a Java wrapper object for an existing C++ object. If remote is set to 'true' this object cannot be deleted in Java.


UnifiedHighLevelGpuProgram

public UnifiedHighLevelGpuProgram(WithoutNativeObject val)
Allows creation of Java objects without C++ objects.

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

UnifiedHighLevelGpuProgram

public UnifiedHighLevelGpuProgram(IResourceManager creator,
                                  java.lang.String name,
                                  long handle,
                                  java.lang.String group,
                                  boolean isManual,
                                  IManualResourceLoader loader)
Constructor, should be used only by factory classes.

Method Detail

delete

public void delete()
Description copied from interface: INativeObject
Deletes the corresponding C++ object.

Subclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!

Specified by:
delete in interface INativeObject
Specified by:
delete in class NativeObject
See Also:
#remote

finalize

public void finalize()
Overrides:
finalize in class NativeObject

addDelegateProgram

public void addDelegateProgram(java.lang.String name)
Adds a new delegate program to the list.

Specified by:
addDelegateProgram in interface IUnifiedHighLevelGpuProgram

clearDelegatePrograms

public void clearDelegatePrograms()
Specified by:
clearDelegatePrograms in interface IUnifiedHighLevelGpuProgram

_getDelegate

public IHighLevelGpuProgramPtr _getDelegate()
Specified by:
_getDelegate in interface IUnifiedHighLevelGpuProgram

getLanguage

public java.lang.String getLanguage()
Description copied from interface: IGpuProgram
Returns a string that specifies the language of the gpu programs as specified in a material script. ie: asm, cg, hlsl, glsl

Specified by:
getLanguage in interface IGpuProgram
Specified by:
getLanguage in interface IUnifiedHighLevelGpuProgram

createParameters

public void createParameters(IGpuProgramParametersSharedPtr returnValue)
Creates a new parameters object compatible with this program definition.

Specified by:
createParameters in interface IGpuProgram
Specified by:
createParameters in interface IHighLevelGpuProgram
Specified by:
createParameters in interface IUnifiedHighLevelGpuProgram

_getBindingDelegate

public IGpuProgram _getBindingDelegate()
Description copied from interface: IGpuProgram
Returns the which should be bound to the pipeline.

Specified by:
_getBindingDelegate in interface IGpuProgram
Specified by:
_getBindingDelegate in interface IHighLevelGpuProgram
Specified by:
_getBindingDelegate in interface IUnifiedHighLevelGpuProgram

isSupported

public boolean isSupported()
Description copied from interface: IGpuProgram
Returns whether this program can be supported on the current renderer and hardware.

Specified by:
isSupported in interface IGpuProgram
Specified by:
isSupported in interface IUnifiedHighLevelGpuProgram

isSkeletalAnimationIncluded

public boolean isSkeletalAnimationIncluded()
Description copied from interface: IGpuProgram
Returns whether a vertex program includes the required instructions to perform skeletal animation.

Specified by:
isSkeletalAnimationIncluded in interface IGpuProgram
Specified by:
isSkeletalAnimationIncluded in interface IUnifiedHighLevelGpuProgram

isMorphAnimationIncluded

public boolean isMorphAnimationIncluded()
Description copied from interface: IGpuProgram
Returns whether a vertex program includes the required instructions to perform morph animation.

Specified by:
isMorphAnimationIncluded in interface IGpuProgram
Specified by:
isMorphAnimationIncluded in interface IUnifiedHighLevelGpuProgram

isPoseAnimationIncluded

public boolean isPoseAnimationIncluded()
Description copied from interface: IGpuProgram
Returns whether a vertex program includes the required instructions to perform pose animation.

Specified by:
isPoseAnimationIncluded in interface IGpuProgram
Specified by:
isPoseAnimationIncluded in interface IUnifiedHighLevelGpuProgram

isVertexTextureFetchRequired

public boolean isVertexTextureFetchRequired()
Description copied from interface: IGpuProgram
Returns whether this vertex program requires support for vertex texture fetch from the hardware.

Specified by:
isVertexTextureFetchRequired in interface IGpuProgram
Specified by:
isVertexTextureFetchRequired in interface IUnifiedHighLevelGpuProgram

getDefaultParameters

public void getDefaultParameters(IGpuProgramParametersSharedPtr returnValue)
Description copied from interface: IGpuProgram
Get a reference to the default parameters which are to be used for all uses of this program.

Specified by:
getDefaultParameters in interface IGpuProgram
Specified by:
getDefaultParameters in interface IUnifiedHighLevelGpuProgram

hasDefaultParameters

public boolean hasDefaultParameters()
Description copied from interface: IGpuProgram
Returns true if default parameters have been set up.

Specified by:
hasDefaultParameters in interface IGpuProgram
Specified by:
hasDefaultParameters in interface IUnifiedHighLevelGpuProgram

getPassSurfaceAndLightStates

public boolean getPassSurfaceAndLightStates()
Description copied from interface: IGpuProgram
Returns whether a vertex program wants light and material states to be passed through fixed pipeline low level API rendering calls

Specified by:
getPassSurfaceAndLightStates in interface IGpuProgram
Specified by:
getPassSurfaceAndLightStates in interface IUnifiedHighLevelGpuProgram

hasCompileError

public boolean hasCompileError()
Description copied from interface: IGpuProgram
Did this program encounter a compile error when loading?

Specified by:
hasCompileError in interface IGpuProgram
Specified by:
hasCompileError in interface IUnifiedHighLevelGpuProgram

resetCompileError

public void resetCompileError()
Description copied from interface: IGpuProgram
Reset a compile error if it occurred, allowing the load to be retried

Specified by:
resetCompileError in interface IGpuProgram
Specified by:
resetCompileError in interface IUnifiedHighLevelGpuProgram

load

public void load(boolean backgroundThread)
Description copied from interface: IResource
Loads the resource, if it is not already.

Specified by:
load in interface IResource
Specified by:
load in interface IUnifiedHighLevelGpuProgram

reload

public void reload()
Description copied from interface: IResource
Reloads the resource, if it is already loaded.

Specified by:
reload in interface IResource
Specified by:
reload in interface IUnifiedHighLevelGpuProgram

isReloadable

public boolean isReloadable()
Description copied from interface: IResource
Returns true if the is reloadable, false otherwise.

Specified by:
isReloadable in interface IResource
Specified by:
isReloadable in interface IUnifiedHighLevelGpuProgram

isLoaded

public boolean isLoaded()
Description copied from interface: IResource
Returns true if the has been loaded, false otherwise.

Specified by:
isLoaded in interface IResource
Specified by:
isLoaded in interface IUnifiedHighLevelGpuProgram

isLoading

public boolean isLoading()
Description copied from interface: IResource
Returns whether the resource is currently in the process of background loading.

Specified by:
isLoading in interface IResource
Specified by:
isLoading in interface IUnifiedHighLevelGpuProgram

getLoadingState

public Resource.LoadingState getLoadingState()
Description copied from interface: IResource
Returns the current loading state.

Specified by:
getLoadingState in interface IResource
Specified by:
getLoadingState in interface IUnifiedHighLevelGpuProgram

unload

public void unload()
Description copied from interface: IResource
Unloads the resource; this is not permanent, the resource can be reloaded later if required.

Specified by:
unload in interface IResource
Specified by:
unload in interface IUnifiedHighLevelGpuProgram

getSize

public int getSize()
Description copied from interface: IResource
Retrieves info about the size of the resource.

Specified by:
getSize in interface IResource
Specified by:
getSize in interface IUnifiedHighLevelGpuProgram

touch

public void touch()
Description copied from interface: IResource
'Touches' the resource to indicate it has been used.

Specified by:
touch in interface IResource
Specified by:
touch in interface IUnifiedHighLevelGpuProgram

isBackgroundLoaded

public boolean isBackgroundLoaded()
Description copied from interface: IResource
Returns whether this has been earmarked for background loading.

Specified by:
isBackgroundLoaded in interface IResource
Specified by:
isBackgroundLoaded in interface IUnifiedHighLevelGpuProgram

setBackgroundLoaded

public void setBackgroundLoaded(boolean bl)
Description copied from interface: IResource
Tells the resource whether it is background loaded or not.

Specified by:
setBackgroundLoaded in interface IResource
Specified by:
setBackgroundLoaded in interface IUnifiedHighLevelGpuProgram

escalateLoading

public void escalateLoading()
Description copied from interface: IResource
Escalates the loading of a background loaded resource.

Specified by:
escalateLoading in interface IResource
Specified by:
escalateLoading in interface IUnifiedHighLevelGpuProgram

addListener

public void addListener(IResource.IListener lis)
Description copied from interface: IResource
Register a listener on this resource.

Specified by:
addListener in interface IResource
Specified by:
addListener in interface IUnifiedHighLevelGpuProgram

removeListener

public void removeListener(IResource.IListener lis)
Description copied from interface: IResource
Remove a listener on this resource.

Specified by:
removeListener in interface IResource
Specified by:
removeListener in interface IUnifiedHighLevelGpuProgram

getConstantDefinitions

public IGpuNamedConstants getConstantDefinitions()
Get the full list of instances.

Specified by:
getConstantDefinitions in interface IGpuProgram
Specified by:
getConstantDefinitions in interface IHighLevelGpuProgram

getNamedConstants

public IGpuNamedConstants getNamedConstants()
Specified by:
getNamedConstants in interface IGpuProgram
Specified by:
getNamedConstants in interface IHighLevelGpuProgram

setSourceFile

public void setSourceFile(java.lang.String filename)
Sets the filename of the source assembly for this program.

Specified by:
setSourceFile in interface IGpuProgram

setSource

public void setSource(java.lang.String source)
Sets the source assembly for this program from an in-memory string.

Specified by:
setSource in interface IGpuProgram

getSyntaxCode

public java.lang.String getSyntaxCode()
Gets the syntax code for this program e.g. arbvp1, fp20, vs_1_1 etc

Specified by:
getSyntaxCode in interface IGpuProgram

setSyntaxCode

public void setSyntaxCode(java.lang.String syntax)
Sets the syntax code for this program e.g. arbvp1, fp20, vs_1_1 etc

Specified by:
setSyntaxCode in interface IGpuProgram

getSourceFile

public java.lang.String getSourceFile()
Gets the name of the file used as source for this program.

Specified by:
getSourceFile in interface IGpuProgram

getSource

public java.lang.String getSource()
Gets the assembler source for this program.

Specified by:
getSource in interface IGpuProgram

setType

public void setType(GpuProgramType t)
Specified by:
setType in interface IGpuProgram

getType

public GpuProgramType getType()
Specified by:
getType in interface IGpuProgram

setSkeletalAnimationIncluded

public void setSkeletalAnimationIncluded(boolean included)
Sets whether a vertex program includes the required instructions to perform skeletal animation.

Specified by:
setSkeletalAnimationIncluded in interface IGpuProgram

setMorphAnimationIncluded

public void setMorphAnimationIncluded(boolean included)
Sets whether a vertex program includes the required instructions to perform morph animation.

Specified by:
setMorphAnimationIncluded in interface IGpuProgram

setPoseAnimationIncluded

public void setPoseAnimationIncluded(int poseCount)
Sets whether a vertex program includes the required instructions to perform pose animation.

Specified by:
setPoseAnimationIncluded in interface IGpuProgram

getNumberOfPosesIncluded

public int getNumberOfPosesIncluded()
Returns the number of simultaneous poses the vertex program can blend, for use in pose animation.

Specified by:
getNumberOfPosesIncluded in interface IGpuProgram

setVertexTextureFetchRequired

public void setVertexTextureFetchRequired(boolean r)
Sets whether this vertex program requires support for vertex texture fetch from the hardware.

Specified by:
setVertexTextureFetchRequired in interface IGpuProgram

setAdjacencyInfoRequired

public void setAdjacencyInfoRequired(boolean r)
Sets whether this geometry program requires adjacency information from the input primitives.

Specified by:
setAdjacencyInfoRequired in interface IGpuProgram

isAdjacencyInfoRequired

public boolean isAdjacencyInfoRequired()
Returns whether this geometry program requires adjacency information from the input primitives.

Specified by:
isAdjacencyInfoRequired in interface IGpuProgram

setSurfaceAndPassLightStates

public void setSurfaceAndPassLightStates(boolean state)
Sets whether a vertex program requires light and material states to be passed to through fixed pipeline low level API rendering calls.

Specified by:
setSurfaceAndPassLightStates in interface IGpuProgram

setManualNamedConstants

public void setManualNamedConstants(IGpuNamedConstants namedConstants)
Allows you to manually provide a set of named parameter mappings to a program which would not be able to derive named parameters itself.

Specified by:
setManualNamedConstants in interface IGpuProgram

setManualNamedConstantsFile

public void setManualNamedConstantsFile(java.lang.String paramDefFile)
Specifies the name of a file from which to load named parameters mapping for a program which would not be able to derive named parameters itself.

Specified by:
setManualNamedConstantsFile in interface IGpuProgram

getManualNamedConstantsFile

public java.lang.String getManualNamedConstantsFile()
Gets the name of a file from which to load named parameters mapping for a program which would not be able to derive named parameters itself.

Specified by:
getManualNamedConstantsFile in interface IGpuProgram

prepare

public void prepare()
Prepares the resource for load, if it is not already. One can call before , but this is not required as will call itself, if needed. When OGRE_THREAD_SUPPORT==1 both and are thread-safe. When OGRE_THREAD_SUPPORT==2 however, only is thread-safe. The reason for this function is to allow a background thread to do some of the loading work, without requiring the whole render system to be thread-safe. The background thread would call while the main render loop would later call . So long as remains thread-safe, subclasses can arbitrarily split the work of loading a resource between and . It is best to try and do as much work in , however, since this will leave less work for the main render thread to do and thus increase FPS.

Specified by:
prepare in interface IResource

isManuallyLoaded

public boolean isManuallyLoaded()
Is this resource manually loaded?

Specified by:
isManuallyLoaded in interface IResource

getName

public java.lang.String getName()
Gets resource name.

Specified by:
getName in interface IResource

getHandle

public long getHandle()
Specified by:
getHandle in interface IResource

isPrepared

public boolean isPrepared()
Returns true if the has been prepared, false otherwise.

Specified by:
isPrepared in interface IResource

getGroup

public java.lang.String getGroup()
Specified by:
getGroup in interface IResource

changeGroupOwnership

public void changeGroupOwnership(java.lang.String newGroup)
Change the resource group ownership of a .

Specified by:
changeGroupOwnership in interface IResource

getCreator

public IResourceManager getCreator()
Specified by:
getCreator in interface IResource

getOrigin

public java.lang.String getOrigin()
Get the origin of this resource, e.g. a script file name.

Specified by:
getOrigin in interface IResource

_notifyOrigin

public void _notifyOrigin(java.lang.String origin)
Specified by:
_notifyOrigin in interface IResource

getStateCount

public int getStateCount()
Returns the number of times this resource has changed state, which generally means the number of times it has been loaded. Objects that build derived data based on the resource can check this value against a copy they kept last time they built this derived data, in order to know whether it needs rebuilding. This is a nice way of monitoring changes without having a tightly-bound callback.

Specified by:
getStateCount in interface IResource

_dirtyState

public void _dirtyState()
Manually mark the state of this resource as having been changed.

Specified by:
_dirtyState in interface IResource

_fireBackgroundLoadingComplete

public void _fireBackgroundLoadingComplete()
Firing of background loading complete event

Specified by:
_fireBackgroundLoadingComplete in interface IResource

_fireBackgroundPreparingComplete

public void _fireBackgroundPreparingComplete()
Firing of background preparing complete event

Specified by:
_fireBackgroundPreparingComplete in interface IResource

getParamDictionary

public IParamDictionary getParamDictionary()
Retrieves the parameter dictionary for this class.

Specified by:
getParamDictionary in interface IStringInterface

getParamDictionary_const

public IParamDictionary getParamDictionary_const()
Specified by:
getParamDictionary_const in interface IStringInterface

getParameters

public IParameterList getParameters()
Retrieves a list of parameters valid for this object.

Specified by:
getParameters in interface IStringInterface

setParameter

public boolean setParameter(java.lang.String name,
                            java.lang.String value)
Generic parameter setting method.

Specified by:
setParameter in interface IStringInterface

setParameterList

public void setParameterList(INameValuePairList paramList)
Generic multiple parameter setting method.

Specified by:
setParameterList in interface IStringInterface

getParameter

public java.lang.String getParameter(java.lang.String name)
Generic parameter retrieval method.

Specified by:
getParameter in interface IStringInterface

copyParametersTo

public void copyParametersTo(IStringInterface dest)
Method for copying this object's parameters to another object.

Specified by:
copyParametersTo in interface IStringInterface

cleanupDictionary

public static void cleanupDictionary()
Cleans up the static 'msDictionary' required to reset , otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the implementers (e.g. ) initializes.



Copyright © 2007 netAllied GmbH. All Rights Reserved.