Navigation
API > API/Runtime > API/Runtime/CoreUObject
Interface used during cooking to send data collected from save/load on a remote CookWorker to the Director for aggregation into files saves at the end of the cook.
| Name | IMPCollector |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Cooker/MPCollector.h |
| Include Path | #include "Cooker/MPCollector.h" |
Syntax
class IMPCollector : public FRefCountBase
Inheritance Hierarchy
- TTransactionalAtomicRefCount → FRefCountBase → IMPCollector
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IMPCollector() |
Cooker/MPCollector.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ClientReceiveMessage
(
FMPCollectorClientMessageContext& Context, |
Called on CookWorker to receive a message from ServerTick or ServerTickPackage. | Cooker/MPCollector.h | |
virtual void ClientTick
(
FMPCollectorClientTickContext& Context |
Called periodically on CookWorkers (period is determined by cooker), and called once with IsFlush()=true at end of cook. | Cooker/MPCollector.h | |
virtual void ClientTickPackage
(
FMPCollectorClientTickPackageContext& Context |
Called on CookWorker when a package is saved, or found to be unsaveable. | Cooker/MPCollector.h | |
const TCHAR * GetDebugName() |
Return a debug name for the Collector, used in warnings or errors from the cooker about it. | Cooker/MPCollector.h | |
| Return a Guid that identifies the IMPCollector uniquely from all other IMPCollectors. | Cooker/MPCollector.h | ||
virtual void ServerReceiveMessage
(
FMPCollectorServerMessageContext& Context, |
Called on CookDirector to receive a message from ClientTick or ClientTickPackage. | Cooker/MPCollector.h | |
virtual void ServerTick
(
FMPCollectorServerTickContext& Context |
Called during events on the CookDirector (see Context.GetEventType()). | Cooker/MPCollector.h | |
virtual void ServerTickPackage
(
FMPCollectorServerTickPackageContext& Context |
Called on Director each time a package is assigned to a CookWorker (note this may occur several times for a single package in cases of retraction). | Cooker/MPCollector.h |