Table of Contents

Class GridDiagnosticSession

Namespace
GridForge.Diagnostics
Assembly
GridForge.dll

Captures dirty diagnostic grid, cell, and sparse address changes for one active GridWorld.

public sealed class GridDiagnosticSession : IDisposable
Inheritance
GridDiagnosticSession
Implements
Inherited Members

Constructors

GridDiagnosticSession(GridWorld)

Creates a diagnostic dirty-tracking session for the supplied active world.

public GridDiagnosticSession(GridWorld world)

Parameters

world GridWorld

Methods

ClearDirtyChanges()

Clears all dirty changes captured so far.

public void ClearDirtyChanges()

Dispose()

public void Dispose()

GetDirtyChangesInto(SwiftList<GridDiagnosticChange>)

Clears and fills caller-owned storage with coalesced dirty changes.

public int GetDirtyChangesInto(SwiftList<GridDiagnosticChange> results)

Parameters

results SwiftList<GridDiagnosticChange>

Returns

int