MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Start

Method Start

Source/Engine/Threading/Task.cpp:13–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "Engine/Profiler/ProfilerCPU.h"
12
13void Task::Start()
14{
15 if (GetState() != TaskState::Created)
16 return;
17
18 OnStart();
19
20 // Change state
21 SetState(TaskState::Queued);
22
23 // Add task to the execution queue
24 Enqueue();
25}
26
27void Task::Cancel()
28{

Callers 15

UpdateMethod · 0.45
DownloadDataMethod · 0.45
DownloadDataMethod · 0.45
DownloadDataMethod · 0.45
FlushMethod · 0.45
CaptureMethod · 0.45
UpdateVideoFrameMethod · 0.45
BuildTileAsyncFunction · 0.45
Source_PlayMethod · 0.45
StartNewMethod · 0.45
OnFinishMethod · 0.45

Calls 3

OnStartFunction · 0.85
SetStateFunction · 0.85
GetStateFunction · 0.50

Tested by

no test coverage detected