(C++)  1.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
ISnapshotGenerator.h
1 #ifndef GRAIL_ISNAPSHOT_GENERATOR_H
2 #define GRAIL_ISNAPSHOT_GENERATOR_H
3 
4 #include "ITimestampProvider.h"
5 #include "IDebugSnapshotReceiver.h"
6 
7 #include <memory>
8 
9 namespace grail
10 {
12  {
13  public:
14  ISnapshotGenerator() = default;
15  ISnapshotGenerator(const ISnapshotGenerator&) = delete;
17  ISnapshotGenerator& operator=(const ISnapshotGenerator&) = delete;
18  ISnapshotGenerator& operator=(ISnapshotGenerator&&) = delete;
19  virtual ~ISnapshotGenerator() = default;
20 
21  virtual void SetTimestampProvider(const std::shared_ptr<ITimestampProvider>& provider) = 0;
22  virtual void ProduceSnapshot() = 0;
23  virtual void AddReceiver(IDebugSnapshotReceiver* receiver) = 0;
24  virtual void RemoveReceiver(IDebugSnapshotReceiver* receiver) = 0;
25  virtual void Release() = 0;
26  };
27 }
28 
29 #endif
Definition: IDebugSnapshotReceiver.h:6
Definition: AIEntity.cpp:10
Definition: ISnapshotGenerator.h:11