AJA NTV2 SDK  17.6.0.2675
NTV2 SDK 17.6.0.2675
CMsgThread Class Referenceabstract

#include <msgthrd.h>

Collaboration diagram for CMsgThread:
[legend]

Public Member Functions

 CMsgThread ()
 
 ~CMsgThread ()
 
virtual void GetThreadMsg (__out CMsg *msg)
 
virtual void OnThreadInit ()
 
BOOL CreateThread ()
 
BOOL WaitForThreadExit (__out LPDWORD lpdwExitCode)
 
DWORD ResumeThread ()
 
DWORD SuspendThread ()
 
int GetThreadPriority ()
 
BOOL SetThreadPriority (int nPriority)
 
HANDLE GetThreadHandle ()
 
DWORD GetThreadId ()
 
void PutThreadMsg (UINT uMsg, DWORD dwMsgFlags, __in_opt LPVOID lpMsgParam, __in_opt CAMEvent *pEvent=NULL)
 
virtual LRESULT ThreadMessageProc (UINT uMsg, DWORD dwFlags, __inout_opt LPVOID lpParam, __in_opt CAMEvent *pEvent)=0
 

Protected Attributes

CGenericList< CMsgm_ThreadQueue
 
CCritSec m_Lock
 
HANDLE m_hSem
 
LONG m_lWaiting
 

Detailed Description

Definition at line 32 of file msgthrd.h.

Constructor & Destructor Documentation

◆ CMsgThread()

CMsgThread::CMsgThread ( )
inline

Definition at line 48 of file msgthrd.h.

◆ ~CMsgThread()

CMsgThread::~CMsgThread ( )

Definition at line 262 of file wxutil.cpp.

Member Function Documentation

◆ CreateThread()

BOOL CMsgThread::CreateThread ( )

Definition at line 282 of file wxutil.cpp.

◆ GetThreadHandle()

HANDLE CMsgThread::GetThreadHandle ( )
inline

Definition at line 93 of file msgthrd.h.

◆ GetThreadId()

DWORD CMsgThread::GetThreadId ( )
inline

Definition at line 97 of file msgthrd.h.

◆ GetThreadMsg()

void CMsgThread::GetThreadMsg ( __out CMsg msg)
virtual

Definition at line 332 of file wxutil.cpp.

◆ GetThreadPriority()

int CMsgThread::GetThreadPriority ( )
inline

Definition at line 85 of file msgthrd.h.

◆ OnThreadInit()

virtual void CMsgThread::OnThreadInit ( )
inlinevirtual

Definition at line 64 of file msgthrd.h.

◆ PutThreadMsg()

void CMsgThread::PutThreadMsg ( UINT  uMsg,
DWORD  dwMsgFlags,
__in_opt LPVOID  lpMsgParam,
__in_opt CAMEvent pEvent = NULL 
)
inline

Definition at line 102 of file msgthrd.h.

◆ ResumeThread()

DWORD CMsgThread::ResumeThread ( )
inline

Definition at line 77 of file msgthrd.h.

◆ SetThreadPriority()

BOOL CMsgThread::SetThreadPriority ( int  nPriority)
inline

Definition at line 89 of file msgthrd.h.

◆ SuspendThread()

DWORD CMsgThread::SuspendThread ( )
inline

Definition at line 81 of file msgthrd.h.

◆ ThreadMessageProc()

virtual LRESULT CMsgThread::ThreadMessageProc ( UINT  uMsg,
DWORD  dwFlags,
__inout_opt LPVOID  lpParam,
__in_opt CAMEvent pEvent 
)
pure virtual

◆ WaitForThreadExit()

BOOL CMsgThread::WaitForThreadExit ( __out LPDWORD  lpdwExitCode)
inline

Definition at line 69 of file msgthrd.h.

Member Data Documentation

◆ m_hSem

HANDLE CMsgThread::m_hSem
protected

Definition at line 44 of file msgthrd.h.

◆ m_Lock

CCritSec CMsgThread::m_Lock
protected

Definition at line 43 of file msgthrd.h.

◆ m_lWaiting

LONG CMsgThread::m_lWaiting
protected

Definition at line 45 of file msgthrd.h.

◆ m_ThreadQueue

CGenericList<CMsg> CMsgThread::m_ThreadQueue
protected

Definition at line 42 of file msgthrd.h.


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