$search
#include <Thread.h>
Definition at line 166 of file Thread.h.
CThread::CThread | ( | void | ) |
CThread instanciates thread object and starts thread.
Definition at line 371 of file Thread.cpp.
CThread::~CThread | ( | void | ) |
~CThread destructor. Stop should be called prior to destruction to allow for gracefull thread termination.
Definition at line 680 of file Thread.cpp.
BOOL CThread::Empty | ( | ) | [private] |
Empty returns a value of TRUE if there are no items on the threads que otherwise a value of FALSE is returned.
Definition at line 426 of file Thread.cpp.
Definition at line 216 of file Thread.cpp.
Event wakes up a thread to process data
Definition at line 248 of file Thread.cpp.
unsigned int CThread::GetEventsPending | ( | ) |
GetEventsPending returns the total number of vents waiting in the event que
Definition at line 352 of file Thread.cpp.
void CThread::GetId | ( | ThreadId_t * | pId | ) | [inline] |
BOOL CThread::KernelProcess | ( | ) |
KernelProcess routes thread activity
Definition at line 295 of file Thread.cpp.
BOOL CThread::OnTask | ( | ) | [virtual] |
OnTask overloaded implementation of OnTask that takes no arguments
Reimplemented in CCameraThread, CRecognizerThread, CTomGineThread, Tracking::CameraThread, Tracking::TrackerThread, and CIncrementThread.
Definition at line 207 of file Thread.cpp.
OnTask called when a thread is tasked using the Event member function
Reimplemented in CIncrementThread.
Definition at line 183 of file Thread.cpp.
PingThread used to determine if a thread is running
Definition at line 712 of file Thread.cpp.
BOOL CThread::Pop | ( | ) | [private] |
Pop move an object from the input que to the processor
Definition at line 471 of file Thread.cpp.
Push place a data object in the threads que
Definition at line 447 of file Thread.cpp.
void CThread::SetIdle | ( | DWORD | dwIdle = 100 |
) |
SetIdle changes the threads idle interval
Definition at line 558 of file Thread.cpp.
void CThread::SetPriority | ( | DWORD | dwPriority = 0 |
) |
SetPriority sets a threads run priority, see SetThreadPriority Note: only works for Windows family of operating systems
Definition at line 279 of file Thread.cpp.
void CThread::SetThreadType | ( | ThreadType_t | typ = ThreadTypeEventDriven , |
|
DWORD | dwIdle = 100 | |||
) |
SetThreadType specifies the type of threading that is to be performed.
ThreadTypeEventDriven (default): an event must be physically sent to the thread using the Event member function.
ThreadTypeIntervalDriven : an event occurs automatically every dwIdle milli seconds.
Definition at line 502 of file Thread.cpp.
BOOL CThread::Start | ( | ) |
Start start thread
Definition at line 572 of file Thread.cpp.
void CThread::Stop | ( | ) |
Stop stop thread
Definition at line 529 of file Thread.cpp.
static ThreadId_t CThread::ThreadId | ( | ) | [inline, static] |
static BOOL CThread::ThreadIdsEqual | ( | ThreadId_t * | p1, | |
ThreadId_t * | p2 | |||
) | [inline, static] |
ThreadState_t CThread::ThreadState | ( | ) |
ThreadState return the current state of the thread
Definition at line 664 of file Thread.cpp.
_THKERNEL thread callback function used by CreateThread
Definition at line 119 of file Thread.cpp.
BOOL CThread::m_bRunning [private] |
unsigned int CThread::m_chQue [private] |
ThreadId_t CThread::m_dwId [private] |
DWORD CThread::m_dwIdle [private] |
DWORD CThread::m_dwObjectCondition [private] |
CEventClass CThread::m_event [private] |
LPVOID* CThread::m_lppvQue [private] |
LPVOID CThread::m_lpvProcessor [private] |
unsigned int CThread::m_quePos [private] |
DWORD CThread::m_stackSize [private] |
ThreadState_t CThread::m_state [private] |
pthread_t CThread::m_thread [private] |
ThreadType_t CThread::m_type [private] |