Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ProcessorInstance.IControl<TRealtime>

Base interface for common functionality of controlling a ProcessorInstance.
Read time 1 minuteLast updated 6 days ago

Definition

public interface ProcessorInstance.IControl<TRealtime> where TRealtime : unmanaged, ProcessorInstance.IRealtime

Remarks

Here you can implement any control logic that is required for the realtime, that will run outside of the real-time thread.
All ProcessorInstances must implement this interface to be fully formed, though usually each specific ProcessorInstance implements a more specific interface inheriting from this one.

Methods

Method

Description

DisposeCalled when the generator is destroyed, after having left the processing thread.
OnMessageCalled immediately from ControlContext.SendMessage when a message was sent to this ProcessorInstance.
UpdateCalled if you have subscribed to continuous updates from the control thread, or if there is data returned from the
TRealtime
counterpart.