(C++)  1.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::GrailStateSnapshotGenerator Class Reference
Inheritance diagram for grail::GrailStateSnapshotGenerator:
Collaboration diagram for grail::GrailStateSnapshotGenerator:

Public Member Functions

 GrailStateSnapshotGenerator (AIManager &manager)
void AddNewTagToNextSnapshot (const std::string &tag)
virtual void Release () override
- Public Member Functions inherited from grail::SnapshotGenerator< GrailStateSnapshot >
 SnapshotGenerator (const SnapshotGenerator &)=default
 SnapshotGenerator (SnapshotGenerator &&)=default
SnapshotGeneratoroperator= (const SnapshotGenerator &)=default
SnapshotGeneratoroperator= (SnapshotGenerator &&)=default
void AddReceiver (IDebugSnapshotReceiver *receiver) override
 Registers a receiver for newly created debug snapshots.
void RemoveReceiver (IDebugSnapshotReceiver *receiver) override
 Removes a snapshot receiver.
void ProduceSnapshot () override
 Produces a debug snapshot and sends it to all registered receivers.
void SetTimestampProvider (const std::shared_ptr< ITimestampProvider > &provider) override
- Public Member Functions inherited from grail::ISnapshotGenerator
 ISnapshotGenerator (const ISnapshotGenerator &)=delete
 ISnapshotGenerator (ISnapshotGenerator &&)=delete
ISnapshotGeneratoroperator= (const ISnapshotGenerator &)=delete
ISnapshotGeneratoroperator= (ISnapshotGenerator &&)=delete

Protected Member Functions

bool TryProduceSnapshot (GrailStateSnapshot &outSnapshot) override
void PassSnapshotToReceiver (IDebugSnapshotReceiver &receiver, GrailStateSnapshot &snapshot) override

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