Interface IComputationContext
- Namespace
- NMF.Transformations.Core
- Assembly
- NMF.Transformations.Core.dll
This interface represents the transformation engine context information attached to a computation
public interface IComputationContext
Properties
IsDelayed
Gets a value indicating whether this computation is delayed
bool IsDelayed { get; }
Property Value
MinOutputDelayLevel
Gets the minimum viable output delay level
byte MinOutputDelayLevel { get; }
Property Value
MinTransformDelayLevel
Gets the minimum viable transformation delay level
byte MinTransformDelayLevel { get; }
Property Value
TransformationContext
The transformation context in which the computation is made
ITransformationContext TransformationContext { get; }
Property Value
Methods
ConnectWith(Computation)
Connects the computation context with the given computation
void ConnectWith(Computation computation)
Parameters
computation
ComputationThe computation thst is handled by this computation context
DelayOutputAtLeast(byte)
Configures the computation to create its output at minimum with the given delay level
void DelayOutputAtLeast(byte delayLevel)
Parameters
delayLevel
byteThe minimum delay level for this computation
DelayTransformationAtLeast(byte)
Configures the computation to be transformed at least with the given delay level
void DelayTransformationAtLeast(byte delayLevel)
Parameters
delayLevel
byte
InitializeOutput(object)
Initializes the output of this computation
void InitializeOutput(object output)
Parameters
output
object
MarkRequire(Computation, bool)
Mark that this computation context requires another computation context to be done
void MarkRequire(Computation other, bool isRequired)
Parameters
other
ComputationThe other computation context
isRequired
boolTrue, if the other context is a strict requirement