Table of Contents

Enum NcResultRecorderState

Namespace
Hi.MachiningProcs
Assembly
HiNc.dll

Internal Use Only. Where an NcResultRecorder stands in the life of its one result file.

public enum NcResultRecorderState
Extension Methods

Fields

Aborted = 6

Aborted (Abort()): the file, if any, stays as an orphan.

Armed = 0

Begun and taking records, no file yet: the file is created when the first record reaches the writer thread.

Completed = 5

Completed (Complete(bool, Action<string>) returned).

Completing = 4

Being completed or aborted: no record is taken any more.

Degraded = 2

The queue to the writer thread was full at least once (the disk stalled, or the play outran the writer): the records it refused were dropped and the recording went on, so the file has gaps; it is completed, as a play that did not run to its end.

Failed = 3

The storage failed (SQLite, the compressor, the disk): the writer is disposed, the records from then on are not taken, and the file, not completed, is an orphan for the cleanup to delete.

Recording = 1

The file is created and the records are being written.