Click or drag to resize
SoDeviceContext Class

Abstract base class for device context managment.

Inheritance Hierarchy

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2024.1.1.0 (2024.1.1)
public class SoDeviceContext : SoDisposable

The SoDeviceContext type exposes the following members.

Public methodBind

Bind this context to the current thread.

Public methodDispose
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetSharedGroup

Returns the current shared group.

Public methodGetSharedId

Returns an id common to all compatible/shared contexts.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsCompatible

Returns true if two contexts are compatible.

Public methodIsCurrent

Returns true if the context is valid and currently active.

Public methodIsSharable

Returns the sharable status of this context.

Public methodIsSharedWith

Returns the current sharing state with passed context.

Public methodIsValid

Returns true if this context is valid.

Public methodSetSharable

Sets the sharable property.

Public methodSetSharedGroup

Explicitly change the sharedGroup.

Public methodSetSharedWith

Share this context.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnbind

Unbind this context from the current thread.

Public propertyIsDisposable
ISafeDisposable interface implementation.
(Inherited from SoDisposable.)

This class provides generic functions to manage or get data about specific device contexts.

See Also