grail (C  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.DebugInfo.SnapshotGenerator< SnapshotType > Class Template Referenceabstract
Inheritance diagram for Grail.DebugInfo.SnapshotGenerator< SnapshotType >:
Collaboration diagram for Grail.DebugInfo.SnapshotGenerator< SnapshotType >:

Public Member Functions

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...
 
abstract void Release ()
 

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.DebugInfo.ISnapshotGenerator
ITimestampProvider TimestampProvider [set]
 

Member Function Documentation

◆ AddReceiver()

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

Registers a receiver for newly created debug snapshots

Parameters
receiver

Implements Grail.DebugInfo.ISnapshotGenerator.

◆ ProduceSnapshot()

void Grail.DebugInfo.SnapshotGenerator< SnapshotType >.ProduceSnapshot ( )
inline

Produces a debug snapshot and sends it to all registered receivers

Implements Grail.DebugInfo.ISnapshotGenerator.

◆ RemoveReceiver()

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

Removes a snapshot receiver

Parameters
receiver

Implements Grail.DebugInfo.ISnapshotGenerator.


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