Grail (C#)  1.3.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.Core.DebugUtilities.SnapshotGenerator< SnapshotType > Class Template Referenceabstract
Inheritance diagram for Grail.Core.DebugUtilities.SnapshotGenerator< SnapshotType >:
Collaboration diagram for Grail.Core.DebugUtilities.SnapshotGenerator< SnapshotType >:

Public Member Functions

abstract void Release ()
 
void AddReceiver (IDebugSnapshotReceiver receiver)
 Registers a receiver for newly created debug snapshots More...
 
void RemoveReceiver (IDebugSnapshotReceiver receiver)
 Removes a snapshot receiver More...
 
void ProduceSnapshot ()
 Produces a debug snapshot and sends it to all registered receivers More...
 

Protected Member Functions

abstract bool TryProduceSnapshot (out SnapshotType snapshot)
 
abstract void PassSnapshotToReceiver (IDebugSnapshotReceiver receiver, SnapshotType snapshot)
 

Properties

ITimestampProvider TimestampProvider [get, set]
 
- Properties inherited from Grail.Core.DebugUtilities.ISnapshotGenerator
ITimestampProvider TimestampProvider [set]
 

Member Function Documentation

◆ AddReceiver()

void Grail.Core.DebugUtilities.SnapshotGenerator< SnapshotType >.AddReceiver ( IDebugSnapshotReceiver  receiver)
inline

Registers a receiver for newly created debug snapshots

Parameters
receiver

Implements Grail.Core.DebugUtilities.ISnapshotGenerator.

◆ ProduceSnapshot()

void Grail.Core.DebugUtilities.SnapshotGenerator< SnapshotType >.ProduceSnapshot ( )
inline

Produces a debug snapshot and sends it to all registered receivers

Implements Grail.Core.DebugUtilities.ISnapshotGenerator.

◆ RemoveReceiver()

void Grail.Core.DebugUtilities.SnapshotGenerator< SnapshotType >.RemoveReceiver ( IDebugSnapshotReceiver  receiver)
inline

Removes a snapshot receiver

Parameters
receiver

Implements Grail.Core.DebugUtilities.ISnapshotGenerator.


The documentation for this class was generated from the following file: