Click or drag to resize
SoDeviceContextSharedGroup Class

Shared context management class.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.InventorSoDisposable
      OIV.Inventor.DevicesSoDeviceContextSharedGroup

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public class SoDeviceContextSharedGroup : SoDisposable

The SoDeviceContextSharedGroup type exposes the following members.

Constructors
  NameDescription
Public methodSoDeviceContextSharedGroup

Creates a new SharedGroup.

Public methodSoDeviceContextSharedGroup(Int32)

Creates a new SharedGroup with specific id.

Top
Methods
  NameDescription
Public methodAdd

Adds a device context to the group.

Public methodContains(SoBaseContextCache)

Returns true if the specified object is already in the list of notified objects.

Public methodContains(SoDeviceContext)

Returns true if the passed context is part of the shared group.

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 methodGetId

Gets the id of this shared group.

Public methodGetPrimaryContext

Returns the first context found in the shared group.

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

Removes a device context from the group.

Public methodSetId

Sets a specific id for this shared group.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyIsDisposable
ISafeDisposable interface implementation.
(Inherited from SoDisposable.)
Top
Remarks

This class provides functions to manage a shared group of device contexts.

See Also