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

Public Member Functions

 SimulatedGameReasonerSnapshotGenerator (SimulatedGameReasoner *observedReasoner, size_t entityId)
 
bool TryProduceSnapshot (SimulatedGameReasonerSnapshot &outSnapshot) override
 
void PassSnapshotToReceiver (IDebugSnapshotReceiver &receiver, SimulatedGameReasonerSnapshot &snapshot) override
 
virtual void Release () override
 
- Public Member Functions inherited from grail::SnapshotGenerator< SimulatedGameReasonerSnapshot >
 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
 

Additional Inherited Members


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