Grail (C++)  1.4.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
ITimestampProvider.h
1 // Copyright QED Software 2023.
2 
3 #ifndef GRAIL_ITIMESTAMP_PROVIDER_H
4 #define GRAIL_ITIMESTAMP_PROVIDER_H
5 
6 namespace grail
7 {
12  {
13  public:
14  ITimestampProvider() = default;
15  ITimestampProvider(const ITimestampProvider&) = delete;
17  ITimestampProvider& operator=(const ITimestampProvider&) = delete;
18  ITimestampProvider& operator=(ITimestampProvider&&) = delete;
19  virtual ~ITimestampProvider() = default;
20 
21  virtual float GetTimestamp() = 0;
22  };
23 }
24 
25 #endif // !GRAIL_ITIMESTAMP_PROVIDER_H
grail::ITimestampProvider
Provides timestamps for debugging purposes, so debug data (e.g. events) can be placed on timeline.
Definition: ITimestampProvider.h:11