Table of Contents

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

bool

MinOutputDelayLevel

Gets the minimum viable output delay level

byte MinOutputDelayLevel { get; }

Property Value

byte

MinTransformDelayLevel

Gets the minimum viable transformation delay level

byte MinTransformDelayLevel { get; }

Property Value

byte

TransformationContext

The transformation context in which the computation is made

ITransformationContext TransformationContext { get; }

Property Value

ITransformationContext

Methods

ConnectWith(Computation)

Connects the computation context with the given computation

void ConnectWith(Computation computation)

Parameters

computation Computation

The 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 byte

The 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 Computation

The other computation context

isRequired bool

True, if the other context is a strict requirement