public class SoDeviceContextSharedGroup extends Inventor implements SafeDisposable
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoDeviceContextSharedGroup()
Creates a new SharedGroup.
|
SoDeviceContextSharedGroup(int id)
Creates a new SharedGroup with specific id.
|
Modifier and Type | Method and Description |
---|---|
void |
add(SoDeviceContext ctx)
Adds a device context to the group.
|
boolean |
contains(SoBaseContextCache object)
Returns true if the specified object is already in the list of notified objects.
|
boolean |
contains(SoDeviceContext ctx)
Returns true if the passed context is part of the shared group.
|
boolean |
dispose()
Explicitly call this method to force object to dispose its unmanaged
resources.
|
int |
getId()
Gets the id of this shared group.
|
SoDeviceContext |
getPrimaryContext()
Returns the first context found in the shared group.
|
boolean |
isDisposable()
Returns a boolean flag which indicates if it is safe to call
SafeDisposable.dispose() on the object. |
void |
remove(SoDeviceContext ctx)
Removes a device context from the group.
|
void |
setId(int id)
Sets a specific id for this shared group.
|
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoDeviceContextSharedGroup(int id)
public SoDeviceContextSharedGroup()
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 void add(SoDeviceContext ctx)
public boolean contains(SoDeviceContext ctx)
public boolean contains(SoBaseContextCache object)
public SoDeviceContext getPrimaryContext()
public int getId()
public void remove(SoDeviceContext ctx)
public void setId(int id)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com