(C++)
1.1.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
Public Member Functions | |
GrailDebugger (const std::shared_ptr< ITimestampProvider > ×tampProvider) | |
void | AttachToManager (AIManager *manager, bool attachToAllEntities=true) |
AttachToManager - attaches the debugger instance to an AIManager. More... | |
void | DetachFromManager (AIManager *manager) |
DetachFromCurrentlyObservedManager - detaches the debugger from the currently selected AI Manager and its entities. | |
void | AttachToEntity (AIEntity &entity) |
AttachToEntity - starts producing debug data for an entity's reasoner. More... | |
void | DetachFromEntity (AIEntity &entity) |
DetachFromEntity - stops the production of debug data for an entity's reasoner. More... | |
void | AddDebugSnapshotReceiver (const AIManager *manager, IDebugSnapshotReceiver *receiver) |
AddDebugSnapshotReceiver - registers a debug snapshot receiver that can react to newly produced debug data. | |
void | RemoveDebugSnapshotReceiver (const AIManager *manager, IDebugSnapshotReceiver *receiver) |
AddDebugSnapshotReceiver - removes a debug snapshot receiver. | |
void | Update () |
Creates debug data for entities and managers that the debugger is attached to, notifies registered snapshot receivers. | |
void | OnReasonerSet (AIEntity &entity, Reasoner *newReasoner) override |
void | OnEntityAdded (const AIManager &manager, AIEntity &entity) override |
void | OnEntityRemoved (const AIManager &manager, size_t entityId) override |
Public Member Functions inherited from grail::IEntityChangeObserver | |
IEntityChangeObserver (const IEntityChangeObserver &)=delete | |
IEntityChangeObserver (IEntityChangeObserver &&)=delete | |
IEntityChangeObserver & | operator= (const IEntityChangeObserver &)=delete |
IEntityChangeObserver & | operator= (IEntityChangeObserver &&)=delete |
void grail::GrailDebugger::AttachToEntity | ( | AIEntity & | entity | ) |
AttachToEntity - starts producing debug data for an entity's reasoner.
entity | - the entity to attach to |
void grail::GrailDebugger::AttachToManager | ( | AIManager * | manager, |
bool | attachToAllEntities = true |
||
) |
AttachToManager - attaches the debugger instance to an AIManager.
manager | - the manager to attach to |
attachToAllEntities | - if set to true, the debugger will automatically attach to reasoners of all entities |
void grail::GrailDebugger::DetachFromEntity | ( | AIEntity & | entity | ) |
DetachFromEntity - stops the production of debug data for an entity's reasoner.
entity | - the entity to detach from |