Represents an abstract thread. Not all threads are created through AThread - these are interfaced with AAbstractThread.
More...
Represents an abstract thread. Not all threads are created through AThread - these are interfaced with AAbstractThread.
- Examples
- /github/workspace/aui.core/src/AUI/Common/AObject.h.
|
typedef std::thread::id | id |
| Thread ID type.
|
|
|
| AAbstractThread (const id &id) noexcept |
|
void | updateThreadName () noexcept |
|
virtual void | processMessagesImpl () |
|
|
class | IEventLoop |
|
class | AThread |
|
class | AConditionVariable |
|
void | setupUIThread () noexcept |
|
◆ getCurrentEventLoop()
IEventLoop * AAbstractThread::getCurrentEventLoop |
( |
| ) |
const |
|
inline |
Get current event loop for this thread.
- Returns
- current event loop for this thread
◆ getId()
◆ interrupt()
void AAbstractThread::interrupt |
( |
| ) |
|
|
virtual |
◆ isInterrupted()
bool AAbstractThread::isInterrupted |
( |
| ) |
|
|
virtual |
- Returns
- true if interrupt requested for this thread.
Reimplemented in AThread.
◆ operator*()
template<class Callable >
void AAbstractThread::operator* |
( |
Callable |
fun | ) |
|
|
inline |
Enqueue message to make. Helper function for async, asyncX, ui, uiX.
- Template Parameters
-
- Parameters
-
◆ operator<<()
template<class Callable >
void AAbstractThread::operator<< |
( |
Callable |
fun | ) |
|
|
inline |
Enqueue message to make.
- Template Parameters
-
- Parameters
-
◆ resetInterruptFlag()
void AAbstractThread::resetInterruptFlag |
( |
| ) |
|
|
virtual |
Reset interruption flag.
Reimplemented in AThread.
#include <AUI/Thread/AThread.h>
The documentation for this class was generated from the following files:
- aui.core/src/AUI/Thread/AThread.h
- aui.core/src/AUI/Thread/AThread.cpp