Class SoCpuContext

  • All Implemented Interfaces:
    SafeDisposable

    public class SoCpuContext
    extends SoDeviceContext
    CPU device context managment class. This class provides functions to manage CPU device contexts.
    • Constructor Detail

      • SoCpuContext

        public SoCpuContext()
        Calls SoCpuContext((com.openinventor.inventor.devices.SoCpuDevice)null).
      • SoCpuContext

        public SoCpuContext​(SoCpuDevice device)
        Default constructor.

        Parameters:
        device - The SoCpuDevice on which to create the context.
    • Method Detail

      • getCurrent

        public static SoCpuContext getCurrent()
        Returns the currently bound context (if any) for the current thread.

        Returns:
        The current CPU context.