C# Class BitOrchestra.BufferedEvaluator

An evaluator that stores results from a source evaluator in a buffer.
Inheritance: Evaluator
显示文件 Open project: dzamkov/Bit-Orchestra Class Usage Examples

Public Properties

Property Type Description
Buffer Value[]
Source Evaluator

Public Methods

Method Description
BufferedEvaluator ( int BufferSize, Evaluator Source ) : System
Generate ( Int32 Start ) : Value[]

Generates the values of the evaluator starting at the given offset and returns them as a buffer.

Generate ( Int32 Start, Int32 Buffer ) : void
Invalidate ( ) : void

Method Details

BufferedEvaluator() public method

public BufferedEvaluator ( int BufferSize, Evaluator Source ) : System
BufferSize int
Source Evaluator
return System

Generate() public method

Generates the values of the evaluator starting at the given offset and returns them as a buffer.
public Generate ( Int32 Start ) : Value[]
Start System.Int32
return Value[]

Generate() public method

public Generate ( Int32 Start, Int32 Buffer ) : void
Start System.Int32
Buffer System.Int32
return void

Invalidate() public method

public Invalidate ( ) : void
return void

Property Details

Buffer public_oe property

The buffer for this evaluator.
public Value[] Buffer
return Value[]

Source public_oe property

The source evaluator for this buffered evaluator.
public Evaluator,BitOrchestra Source
return Evaluator