SourceMod::IThread Class Reference

Handles a single thread's execution. More...

#include <public/IThreader.h>

List of all members.

Public Member Functions

virtual ~IThread ()
virtual void RunThread (IThreadHandle *pHandle)=0
 Called when the thread runs (in its own thread).
virtual void OnTerminate (IThreadHandle *pHandle, bool cancel)=0
 Called when the thread terminates. This occurs inside the thread as well.


Detailed Description

Handles a single thread's execution.

Definition at line 174 of file IThreader.h.


Constructor & Destructor Documentation

virtual SourceMod::IThread::~IThread (  )  [inline, virtual]

Virtual destructor

Definition at line 178 of file IThreader.h.


Member Function Documentation

virtual void SourceMod::IThread::RunThread ( IThreadHandle pHandle  )  [pure virtual]

Called when the thread runs (in its own thread).

Parameters:
pHandle Pointer to the thread's handle.

virtual void SourceMod::IThread::OnTerminate ( IThreadHandle pHandle,
bool  cancel 
) [pure virtual]

Called when the thread terminates. This occurs inside the thread as well.

Parameters:
pHandle Pointer to the thread's handle.
cancel True if the thread did not finish, false otherwise.


The documentation for this class was generated from the following file:
Generated on Fri Nov 21 05:10:04 2008 for SourceMod SDK by  doxygen 1.5.1