Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/CookOnTheSide > API/Editor/UnrealEd/CookOnTheSide/UCookOnTheFlyServer
Inheritance Hierarchy
- FRefCountBase
- UCookOnTheFlyServer::FPollable
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Classes/CookOnTheSide/CookOnTheFlyServer.h |
| Include | #include "CookOnTheSide/CookOnTheFlyServer.h" |
Syntax
struct FPollable : public FRefCountBase
Remarks
Wrapper around a function for cooker tasks that need to be ticked on a schedule. Includes data to support calling it on a schedule or triggering it manually.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const TCHAR * | DebugName | ||
| double | NextTimeIdleSeconds | Time when this should be next called, if the cooker is idle. (See also NextTimeSeconds). | |
| float | PeriodIdleSeconds | ||
| float | PeriodSeconds | ||
| FPollFunction | PollFunction |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPollable
(
const TCHAR* InDebugName, |
|||
FPollable
(
const TCHAR* InDebugName, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | RunDuringPump
(
UE::Cook::FTickStackData& StackData, |
Run the pollable's callback function, from PumpPollables. | |
| void | RunNow
(
UCookOnTheFlyServer& COTFS |
Run the pollable's callback function now. | |
| void | RunNowInternal
(
UCookOnTheFlyServer& COTFS, |
Update the position of this in the Pollables queue, called from RunNow or for a deferred RunNow. | |
| void | Trigger
(
UCookOnTheFlyServer& COTFS |
Trigger the pollable to execute on the next PumpPollables | |
| void | TriggerInternal
(
UCookOnTheFlyServer& COTFS |
Update the position of this in the Pollables queue, called from Trigger or for a deferred Trigger. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EManualTrigger |