API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsTasks
Threads
Thread.h
1
// Thread.h
3
//
5
6
namespace
nkTasks
7
{
11
class
Thread
final
12
{
13
public :
14
18
Thread
() noexcept ;
22
~
Thread
() ;
23
24
// Getters
28
bool
getCurrentlyWaiting
() const ;
29
41
void
addTask
(
nkMemory
::UniquePtr<
Task
> task) ;
42
47
void
run
() ;
48
} ;
49
}
nkTasks::Thread
Symbolizes a thread. Base block to submit off-thread nkTasks::Task in this component.
Definition:
Thread.h:12
nkTasks::Thread::addTask
void addTask(nkMemory::UniquePtr< Task > task)
nkTasks::Thread::Thread
Thread() noexcept
nkTasks::Task
A task, job that can be submitted to a nkTasks::Thread.
Definition:
Task.h:14
nkTasks::Thread::getCurrentlyWaiting
bool getCurrentlyWaiting() const
nkTasks
Encompasses all API of component NilkinsTasks.
Definition:
LogManager.h:7
nkTasks::Thread::run
void run()
nkMemory
Encompasses all API of component NilkinsMemory.
Definition:
Allocator.h:7
Generated by
Doxygen
1.8.18