Main Page   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

bogotel::CDlgEvtHdlr Class Reference

#include <DlgEvtHdlr.h>


Public Types

typedef long(* ptr_evt_hndlr )(unsigned long parm)

Public Member Functions

 CDlgEvtHdlr (ptr_evt_hndlr pHdlr)
virtual ~CDlgEvtHdlr ()
bool matchesHandler (ptr_evt_hndlr testPtr)

Static Public Member Functions

void do_thread (void *param)

Protected Member Functions

void run ()

Protected Attributes

ptr_evt_hndlr m_pHdlr
boost::thread * m_pThrd
boost::mutex m_mutex
boost::condition m_condition


Member Typedef Documentation

typedef long(* bogotel::CDlgEvtHdlr::ptr_evt_hndlr)(unsigned long parm)
 

Definition at line 24 of file DlgEvtHdlr.h.


Constructor & Destructor Documentation

bogotel::CDlgEvtHdlr::CDlgEvtHdlr ptr_evt_hndlr  pHdlr  ) 
 

Definition at line 20 of file DlgEvtHdlr.cpp.

References m_pThrd.

bogotel::CDlgEvtHdlr::~CDlgEvtHdlr  )  [virtual]
 

Definition at line 26 of file DlgEvtHdlr.cpp.

References bogotel::CEvt::m_iSysType, m_pHdlr, and m_pThrd.


Member Function Documentation

bool bogotel::CDlgEvtHdlr::matchesHandler ptr_evt_hndlr  testPtr  ) 
 

Definition at line 67 of file DlgEvtHdlr.cpp.

References m_pHdlr.

Referenced by bogotel::CBgtRt::disableHandler().

void bogotel::CDlgEvtHdlr::do_thread void *  param  )  [static]
 

Definition at line 40 of file DlgEvtHdlr.cpp.

References bogotel::g_util, and bogotel::CUtil::log().

void bogotel::CDlgEvtHdlr::run  )  [protected]
 

Todo:
Check return code of handler. Call next handler in hierarchy if it returns 1

pass real event handle (if run with code that expects it)

Definition at line 52 of file DlgEvtHdlr.cpp.

References m_pHdlr, and bogotel::resultSUCCESS.


Field Documentation

ptr_evt_hndlr bogotel::CDlgEvtHdlr::m_pHdlr [protected]
 

Definition at line 35 of file DlgEvtHdlr.h.

Referenced by matchesHandler(), run(), and ~CDlgEvtHdlr().

boost::thread* bogotel::CDlgEvtHdlr::m_pThrd [protected]
 

Definition at line 37 of file DlgEvtHdlr.h.

Referenced by CDlgEvtHdlr(), and ~CDlgEvtHdlr().

boost::mutex bogotel::CDlgEvtHdlr::m_mutex [protected]
 

Definition at line 38 of file DlgEvtHdlr.h.

boost::condition bogotel::CDlgEvtHdlr::m_condition [protected]
 

Definition at line 39 of file DlgEvtHdlr.h.


The documentation for this class was generated from the following files:
Generated on Tue Aug 12 12:42:17 2003 for bogotel by doxygen 1.3. Hosted by SourceForge.net Logo