Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
nw4hbm::snd::detail::TaskThread Class Reference

#include <TaskThread.h>

+ Collaboration diagram for nw4hbm::snd::detail::TaskThread:

Public Types

enum  { MSG_NONE = 0 , MSG_EXECUTE , MSG_DONE }
 

Public Member Functions

 TaskThread ()
 
bool Create (s32 priority)
 
BOOL Destroy ()
 
void SendWakeupMessage ()
 
void ThreadProc ()
 

Static Public Member Functions

static void * ThreadFunc (void *arg)
 
static TaskThreadGetInstance ()
 

Private Attributes

OSThread mThread
 
u64 mThreadStack [THREAD_STACK_SIZE]
 
OSThreadQueue mThreadQueue
 
OSMessageQueue mMsgQueue
 
OSMessage mMsgBuffer [MSG_QUEUE_CAPACITY]
 
bool mCreateFlag
 
u8 mPadding [3]
 

Static Private Attributes

static const int MSG_QUEUE_CAPACITY = 8
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MSG_NONE 
MSG_EXECUTE 
MSG_DONE 

Constructor & Destructor Documentation

◆ TaskThread()

nw4hbm::snd::detail::TaskThread::TaskThread ( )
inline

Member Function Documentation

◆ Create()

bool nw4hbm::snd::detail::TaskThread::Create ( s32 priority)

◆ Destroy()

BOOL nw4hbm::snd::detail::TaskThread::Destroy ( )

◆ GetInstance()

static TaskThread & nw4hbm::snd::detail::TaskThread::GetInstance ( )
static

◆ SendWakeupMessage()

void nw4hbm::snd::detail::TaskThread::SendWakeupMessage ( )

◆ ThreadFunc()

static void * nw4hbm::snd::detail::TaskThread::ThreadFunc ( void * arg)
static

◆ ThreadProc()

void nw4hbm::snd::detail::TaskThread::ThreadProc ( )

Member Data Documentation

◆ mCreateFlag

bool nw4hbm::snd::detail::TaskThread::mCreateFlag
private

◆ mMsgBuffer

OSMessage nw4hbm::snd::detail::TaskThread::mMsgBuffer[MSG_QUEUE_CAPACITY]
private

◆ mMsgQueue

OSMessageQueue nw4hbm::snd::detail::TaskThread::mMsgQueue
private

◆ mPadding

u8 nw4hbm::snd::detail::TaskThread::mPadding[3]
private

◆ MSG_QUEUE_CAPACITY

const int nw4hbm::snd::detail::TaskThread::MSG_QUEUE_CAPACITY = 8
staticprivate

◆ mThread

OSThread nw4hbm::snd::detail::TaskThread::mThread
private

◆ mThreadQueue

OSThreadQueue nw4hbm::snd::detail::TaskThread::mThreadQueue
private

◆ mThreadStack

u64 nw4hbm::snd::detail::TaskThread::mThreadStack[THREAD_STACK_SIZE]
private

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