LeviLamina
Loading...
Searching...
No Matches
ITaskQueuePort.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/comprehensive/IApi.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
struct
ITaskQueuePortContext
;
11
struct
XTaskQueuePortObject
;
12
struct
XTaskQueueRegistrationToken
;
13
// clang-format on
14
15
struct
ITaskQueuePort
:
public
::IApi
{
16
public
:
17
// virtual functions
18
// NOLINTBEGIN
19
// vIndex: 3
20
virtual ::XTaskQueuePortObject* GetHandle() = 0;
21
22
// vIndex: 4
23
virtual
HRESULT QueueItem(
::ITaskQueuePortContext
*, uint,
void
*,
void
(*)(
void
*,
bool
)) = 0;
24
25
// vIndex: 5
26
virtual
HRESULT RegisterWaitHandle(
27
::ITaskQueuePortContext
*,
28
void
*,
29
void
*,
30
void
(*)(
void
*,
bool
),
31
::XTaskQueueRegistrationToken
*
32
) = 0;
33
34
// vIndex: 6
35
virtual
void
UnregisterWaitHandle(
::XTaskQueueRegistrationToken
) = 0;
36
37
// vIndex: 7
38
virtual
HRESULT PrepareTerminate(
::ITaskQueuePortContext
*,
void
*,
void
(*)(
void
*),
void
**) = 0;
39
40
// vIndex: 8
41
virtual
void
CancelTermination(
void
*) = 0;
42
43
// vIndex: 9
44
virtual
void
Terminate(
void
*) = 0;
45
46
// vIndex: 10
47
virtual
HRESULT Attach(
::ITaskQueuePortContext
*) = 0;
48
49
// vIndex: 11
50
virtual
void
Detach(
::ITaskQueuePortContext
*) = 0;
51
52
// vIndex: 12
53
virtual
bool
Dispatch(
::ITaskQueuePortContext
*, uint) = 0;
54
55
// vIndex: 13
56
virtual
bool
IsEmpty() = 0;
57
58
// vIndex: 14
59
virtual
void
WaitForUnwind() = 0;
60
61
// vIndex: 15
62
virtual
HRESULT SuspendTermination(
::ITaskQueuePortContext
*) = 0;
63
64
// vIndex: 16
65
virtual
void
ResumeTermination(
::ITaskQueuePortContext
*) = 0;
66
67
// vIndex: 17
68
virtual
void
SuspendPort() = 0;
69
70
// vIndex: 18
71
virtual
void
ResumePort() = 0;
72
// NOLINTEND
73
74
public
:
75
// virtual function thunks
76
// NOLINTBEGIN
77
78
// NOLINTEND
79
};
IApi
Definition
IApi.h:8
ITaskQueuePortContext
Definition
ITaskQueuePortContext.h:16
ITaskQueuePort
Definition
ITaskQueuePort.h:15
XTaskQueuePortObject
Definition
XTaskQueuePortObject.h:5
XTaskQueueRegistrationToken
Definition
XTaskQueueRegistrationToken.h:5
src
mc
deps
core
threading
ITaskQueuePort.h
Generated on Wed Jul 23 2025 08:33:47 for LeviLamina by
1.12.0