0.45.0
![]() |
#include <iThread.h>
Inherits iaux::iaThread.
Inherited by igor::iRenderContextThread.
Public Member Functions | |
iThread (const iaString &type="iThread") | |
~iThread ()=default | |
uint64 | getWorld () const |
![]() | |
iaThread (const iaString &type="") | |
virtual | ~iaThread () |
iaThreadState | getState () const |
void | run (iThreadCallbackDelegate threadDelegate) |
void | join () |
iaID32 | getID () const |
const iaString & | getType () const |
Protected Member Functions | |
virtual void | init () override |
virtual void | deinit () override |
virtual void | init () |
virtual void | deinit () |
Additional Inherited Members | |
![]() | |
static iaID32 | getThisThreadID () |
static bool | isMainThread () |
igor thread
igor::iThread::iThread | ( | const iaString & | type = "iThread" | ) |
init members
type | optional type for debugging |
|
default |
does nothing
|
overrideprotectedvirtual |
deinit function is called last by the thread. right before join
Reimplemented from iaux::iaThread.
Reimplemented in igor::iRenderContextThread.
uint64 igor::iThread::getWorld | ( | ) | const |
|
overrideprotectedvirtual |
init function will be called as first by the thread
Reimplemented from iaux::iaThread.
Reimplemented in igor::iRenderContextThread.