LeviLamina
Loading...
Searching...
No Matches
TaskStartInfo.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5struct TaskStartInfo {
6public:
7 // member variables
8 // NOLINTBEGIN
15 // NOLINTEND
16
17public:
18 // prevent constructor by default
19 TaskStartInfo& operator=(TaskStartInfo const&);
20 TaskStartInfo(TaskStartInfo const&);
21 TaskStartInfo();
22
23public:
24 // member functions
25 // NOLINTBEGIN
26 MCNAPI_C explicit TaskStartInfo(char const* name);
27
28 MCNAPI_C explicit TaskStartInfo(::std::string_view name);
29
30 MCNAPI ::TaskStartInfo& startWithDelay(::std::chrono::nanoseconds delay);
31 // NOLINTEND
32
33public:
34 // static variables
35 // NOLINTBEGIN
36 MCNAPI static ::std::thread::id const& NoAffinity();
37 // NOLINTEND
38
39public:
40 // constructor thunks
41 // NOLINTBEGIN
42 MCNAPI_C void* $ctor(char const* name);
43
44 MCNAPI_C void* $ctor(::std::string_view name);
45 // NOLINTEND
46};
MCAPI::TaskStartInfo & startWithDelay(::std::chrono::nanoseconds delay)
static MCAPI ::std::thread::id const & NoAffinity()
Definition Alias.h:14