igor::iThread Class Reference

#include <iThread.h>

Inherits iaux::iaThread.

Inherited by igor::iRenderContextThread.

Public Member Functions

 iThread (const iaString &type="iThread")
 
 ~iThread ()=default
 
uint64 getWorld () const
 
- Public Member Functions inherited from iaux::iaThread
 iaThread (const iaString &type="")
 
virtual ~iaThread ()
 
iaThreadState getState () const
 
void run (iThreadCallbackDelegate threadDelegate)
 
void join ()
 
iaID32 getID () const
 
const iaStringgetType () const
 

Protected Member Functions

void init () override
 
void deinit () override
 
virtual void init ()
 
virtual void deinit ()
 

Additional Inherited Members

- Static Public Member Functions inherited from iaux::iaThread
static iaID32 getThisThreadID ()
 

Detailed Description

igor thread

Constructor & Destructor Documentation

◆ iThread()

igor::iThread::iThread ( const iaString type = "iThread")

init members

Parameters
typeoptional type for debugging

◆ ~iThread()

igor::iThread::~iThread ( )
default

does nothing

Member Function Documentation

◆ deinit()

void igor::iThread::deinit ( )
overrideprotectedvirtual

deinit function is called last by the thread. right before join

Reimplemented from iaux::iaThread.

◆ getWorld()

uint64 igor::iThread::getWorld ( ) const
Returns
world id

◆ init()

void igor::iThread::init ( )
overrideprotectedvirtual

init function will be called as first by the thread

Reimplemented from iaux::iaThread.


The documentation for this class was generated from the following files: