public class SoBaseContextCache extends Inventor implements SafeDisposable
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
boolean |
dispose()
Explicitly call this method to force object to dispose its unmanaged
resources.
|
boolean |
isContextDependent()
return current context dependency state.
|
boolean |
isDisposable()
Returns a boolean flag which indicates if it is safe to call
SafeDisposable.dispose() on the object. |
void |
release(SoDeviceContextSharedGroup name_9117)
This function is called when a context has been requested to delete the context through the SoDeviceContext.dispose() method.
|
void |
setContextDependent()
Calls setContextDependent((boolean)true).
|
void |
setContextDependent(boolean flag)
Object is considered not context dependent as long as
SoDeviceContext was not ref by this object. |
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public void setContextDependent()
public boolean isDisposable()
SafeDisposable
SafeDisposable.dispose()
on the object.isDisposable
in interface SafeDisposable
true
if the object can be disposed in a safe mannerpublic boolean dispose()
Inventor
dispose
in interface SafeDisposable
dispose
in class Inventor
true
if this object native resources were successfully
disposed; false
if it was already disposed or no
native resources has been registered for this object.public boolean isContextDependent()
public void release(SoDeviceContextSharedGroup name_9117)
release()
method to ask them to detach (and then get it refcount to zero).public void setContextDependent(boolean flag)
SoDeviceContext
was not ref by this object.
Once at least one device is ref then it calls this function to enbale later check checks deleting this object. see (SoDeviceContext.checkRefIssue call in destructor).Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com