C# Class BitOrchestra.Evaluator

An evaluator for an expression that operates on a fixed buffer size.
ファイルを表示 Open project: dzamkov/Bit-Orchestra Class Usage Examples

Public Properties

Property Type Description
Ready bool

Public Methods

Method Description
Generate ( Int32 Start, Int32 Buffer ) : void

Generates the values of the evaluator starting at the given offset and writes them to the given buffer.

GetBuffered ( int BufferSize ) : BufferedEvaluator

Gets a buffered form of this evaluator. If this is already buffered, this is returned.

Invalidate ( ) : void

Discards all intermediate results for the last Generate call and prepares the evaluator for another iteration.

Method Details

Generate() public abstract method

Generates the values of the evaluator starting at the given offset and writes them to the given buffer.
public abstract Generate ( Int32 Start, Int32 Buffer ) : void
Start System.Int32
Buffer System.Int32
return void

GetBuffered() public method

Gets a buffered form of this evaluator. If this is already buffered, this is returned.
public GetBuffered ( int BufferSize ) : BufferedEvaluator
BufferSize int
return BufferedEvaluator

Invalidate() public method

Discards all intermediate results for the last Generate call and prepares the evaluator for another iteration.
public Invalidate ( ) : void
return void

Property Details

Ready public_oe property

Indicates wether this evaluator has data for the previous Generate call. This can be made false with Invalidate.
public bool Ready
return bool