#include "Thread.h"
The Thread class represents a thread.
Definition at line 28 of file Thread.h.
◆ ThreadFunctionType
GraphicSpace::Thread::ThreadFunctionType |
Type of the thread function.
Definition at line 70 of file Thread.h.
◆ Thread() [1/3]
GraphicSpace::Thread::Thread |
( |
void |
| ) |
|
|
noexcept |
- Description:
- Constructor.
- Exceptions
-
- Returns
- Not applicable.
Definition at line 37 of file Thread.cpp.
◆ Thread() [2/3]
GraphicSpace::Thread::Thread |
( |
const Thread & |
thisThread | ) |
|
|
delete |
◆ Thread() [3/3]
GraphicSpace::Thread::Thread |
( |
Thread && |
thisThread | ) |
|
|
delete |
◆ ~Thread()
GraphicSpace::Thread::~Thread |
( |
void |
| ) |
|
|
noexcept |
- Description:
- Destructor.
- Exceptions
-
- Returns
- Not applicable.
- Note
- If the Thread is running, it is killed.
Definition at line 54 of file Thread.cpp.
◆ Finalize()
void GraphicSpace::Thread::Finalize |
( |
void |
| ) |
|
|
staticnoexcept |
- Description:
- Finalize the thread management.
- Exceptions
-
- Returns
- None.
Definition at line 115 of file Thread.cpp.
References IgnoreValue.
Referenced by main().
◆ Initialize()
void GraphicSpace::Thread::Initialize |
( |
void |
| ) |
|
|
staticnoexcept |
◆ Join()
void GraphicSpace::Thread::Join |
( |
void |
| ) |
|
|
noexcept |
◆ Kill()
void GraphicSpace::Thread::Kill |
( |
void |
| ) |
|
|
noexcept |
◆ operator=() [1/2]
Thread& GraphicSpace::Thread::operator= |
( |
const Thread & |
thisThread | ) |
|
|
delete |
◆ operator=() [2/2]
Thread& GraphicSpace::Thread::operator= |
( |
Thread && |
thisThread | ) |
|
|
delete |
◆ Start()
◆ ATTRIBUTE_INIT_OK
GraphicSpace::Thread::ATTRIBUTE_INIT_OK = 0 |
|
staticconstexprprivate |
Value returned by pthread_attr_init when the operation succeeds.
Definition at line 34 of file Thread.h.
◆ ATTRIBUTE_SET_OK
GraphicSpace::Thread::ATTRIBUTE_SET_OK = 0 |
|
staticconstexprprivate |
Value returned by pthread_attr_setsched_policy, pthread_attr_setschedparam, pthread_attr_setdetachstate and pthread_attr_setinheritsched when the operation succeeds.
Definition at line 40 of file Thread.h.
◆ MainThreadId
GraphicSpace::Thread::MainThreadId |
|
staticprivate |
Identifier of the initial thread.
Definition at line 64 of file Thread.h.
◆ PARAMETER_GET_OK
GraphicSpace::Thread::PARAMETER_GET_OK = 0 |
|
staticconstexprprivate |
Value returned by sched_getparam when the operation succeeds.
Definition at line 44 of file Thread.h.
◆ THREAD_CREATE_OK
GraphicSpace::Thread::THREAD_CREATE_OK = 0 |
|
staticconstexprprivate |
Value returned by pthread_create when the operation succeeds.
Definition at line 48 of file Thread.h.
◆ THREAD_JOIN_OK
GraphicSpace::Thread::THREAD_JOIN_OK = 0 |
|
staticconstexprprivate |
Value returned by pthread_join when the operation succeeds.
Definition at line 52 of file Thread.h.
◆ ThreadAttribute
GraphicSpace::Thread::ThreadAttribute |
|
staticprivate |
◆ ThreadId
GraphicSpace::Thread::ThreadId |
|
private |
The documentation for this class was generated from the following files: