Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore > API/Plugins/ConcertSyncCore/Replication > API/Plugins/ConcertSyncCore/Replication/Processing > API/Plugins/ConcertSyncCore/Replication/Processing/Proxy
Inheritance Hierarchy
- FFrequencyTracker
- FFrequencyTracker_CleanByTick
References
| Module | ConcertSyncCore |
| Header | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/Replication/Processing/Proxy/FrequencyTracker.h |
| Include | #include "Replication/Processing/Proxy/FrequencyTracker.h" |
Syntax
class FFrequencyTracker
Remarks
Keeps track of when objects are processed. Allows querying of whether in a given frame an object is allowed to be processed (or whether it is too early).
This keeps a TMap
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CleanseOutdatedObjects
(
const FPlatformSecondsTimestamp CutoffTime |
Removes all tracked objects were last processed before CutoffTime. | |
| const TMap< FConcertObjectInStreamID, FPlatformSecondsTimestamp > & | For unit tests. | ||
| void | OnProcessObject
(
const FConcertObjectInStreamID& Object, |
Called when an object is processed. | |
| ECanProcessObject | TrackAndCheckObject
(
const FConcertObjectInStreamID& ObjectPath, |
Ensures ObjectPath is tracked in the cache and returns whether it can be processed now given its frequency settings. |
Typedefs
| Name | Description |
|---|---|
| FPlatformSecondsTimestamp | Holds the return value of FPlatformTime::Seconds() |