|
nux-1.14.0
|
Public Member Functions | |
| AbstractThread (AbstractThread *Parent) | |
Protected Member Functions | |
| virtual unsigned int | Run (void *)=0 |
| virtual ThreadState | StartChildThread (NThread *thread, bool Modal)=0 |
| virtual void | AddChildThread (NThread *)=0 |
| virtual void | RemoveChildThread (NThread *)=0 |
| virtual void | ChildHasFinished (NThread *app)=0 |
| virtual void | TerminateAllChildThread ()=0 |
Protected Attributes | |
| std::list< NThread * > | m_ChildThread |
| AbstractThread * | m_Parent |
| ThreadUserInitFunc | m_UserInitFunc |
| ThreadUserExitFunc | m_UserExitFunc |
| void * | m_InitData |
| void * | m_ExitData |
| std::list< NThread * > | m_ThreadList |
Definition at line 33 of file AbstractThread.h.
| virtual unsigned int nux::AbstractThread::Run | ( | void * | ) | [protected, pure virtual] |
Info: Override this method.
This function should contain the body/code of your thread. Notice the signature is similar to that of any worker thread function except for the calling convention.
Reimplemented from nux::NThread.
Implemented in nux::SystemThread, and nux::WindowThread.
void* nux::AbstractThread::m_InitData [protected] |
This pointer maybe set by the user in ThreadInitFunc and reused in ThreadExitFunc
Reimplemented in nux::SystemThread, and nux::WindowThread.
Definition at line 58 of file AbstractThread.h.