MSYS_Thread Struct Reference

Thread definition. More...

#include <menusys.h>


Public Member Functions

 MSYS_Thread ()
int GetThreadId () const
 Return the current thread ID.
const TCHAR * GetCurrCommand () const
 Return the command used to access the current handler. This is a pointer to the cmd field of the appropriate MSYS_Dispatch entry.

Data Fields

void * mUserData
 User managed thread data.

Static Public Attributes

static const int ROOT_THREAD = 0
 Root application thread always uses this thread ID.

Protected Attributes

int mThreadId
const TCHAR * mCurrCommand


Detailed Description

Thread definition.

Definition at line 139 of file menusys.h.


Constructor & Destructor Documentation

MSYS_Thread::MSYS_Thread (  )  [inline]

Definition at line 141 of file menusys.h.


Member Function Documentation

int MSYS_Thread::GetThreadId (  )  const [inline]

Return the current thread ID.

Definition at line 144 of file menusys.h.

References mThreadId.

const TCHAR* MSYS_Thread::GetCurrCommand (  )  const [inline]

Return the command used to access the current handler. This is a pointer to the cmd field of the appropriate MSYS_Dispatch entry.

Definition at line 150 of file menusys.h.

References mCurrCommand.


Field Documentation

const int MSYS_Thread::ROOT_THREAD = 0 [static]

Root application thread always uses this thread ID.

Definition at line 153 of file menusys.h.

Referenced by MSYS_Process().

void* MSYS_Thread::mUserData

User managed thread data.

It is the responsibility of the user to initialize and uninitialize this pointer using the MSYS_ThreadUserCreate() and MSYS_ThreadUserDestroy() callbacks.

Definition at line 161 of file menusys.h.

int MSYS_Thread::mThreadId [protected]

Definition at line 164 of file menusys.h.

Referenced by GetThreadId().

const TCHAR* MSYS_Thread::mCurrCommand [protected]

Definition at line 165 of file menusys.h.

Referenced by GetCurrCommand().


The documentation for this struct was generated from the following file:
Generated on Wed Jun 20 09:28:35 2007 for menusys by  doxygen 1.5.2