C# Class BitOrchestra.Evaluator

An evaluator for an expression that operates on a fixed buffer size.
Afficher le fichier Open project: dzamkov/Bit-Orchestra Class Usage Examples

Méthodes publiques

Свойство Type Description
Ready bool

Méthodes publiques

Méthode 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 méthode

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
Résultat void

GetBuffered() public méthode

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

Invalidate() public méthode

Discards all intermediate results for the last Generate call and prepares the evaluator for another iteration.
public Invalidate ( ) : void
Résultat 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
Résultat bool