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

bogotel::CBgtRt Class Reference

#include <BgtRt.h>

Collaboration diagram for bogotel::CBgtRt:

Collaboration graph
[legend]

Public Member Functions

virtual ~CBgtRt ()
int setMode (long parmid, void *valuep)
int enableHandler (long dev, unsigned long event_type, CDlgEvtHdlr::ptr_evt_hndlr hdlr)
int disableHandler (long dev, unsigned long event_type, CDlgEvtHdlr::ptr_evt_hndlr hdlr)
int openSignalDev (LINEDEV *linedevp, char *devicename, void *usrattr)
int openVoiceDev (int *piHandle, const char *szName)
int getVoiceTimeslot (int iVoiceHandle, long *plTimeslot)
int getSignalTimeslot (LINEDEV hSignal, SC_TSINFO *pScTsInfo)
int listenVoiceTimeslot (LINEDEV hSignal, SC_TSINFO *pScTsInfo)
int listenSignalTimeslot (LINEDEV lVoiceHandle, long lTimeslot)
int registerCrn (CSignalDev *pSig, CRN crn)
int deregisterCrn (CRN crn)
int addEvent (CEvt *pEvt)
int waitEvent (long lTimeout, long *plRemaining)
int incomingMsg (CMsg *pMsg)
 finds the destination for this message and hands it off

int getEvtUsrAttr (unsigned long evt_handle, void **ppData)
int getEvtDevHandle (unsigned long evt_handle, long *plHandle)
int getEvtVoiceDevHandle (unsigned long evt_handle, long *plHandle)
int getEvtSignalDevHandle (unsigned long evt_handle, long *plHandle)
int getEvtType (unsigned long evt_handle, long *plType)
int getEvtFlags (unsigned long *pulFlags)
int getEvtCrn (CRN *pCrn)
int putEvt (long dev, unsigned long event_type, long len, void *pData, long err)
int getUsrAttr (LINEDEV linedev, void **usr_attrp)
int waitCall (LINEDEV hSignal, CRN *pCrn, int iTimeout, unsigned long ulMode)
int makeCall (LINEDEV hSignal, CRN *pCrn, char *szNumber, GC_MAKECALL_BLK *pMakecall, int iTimeout, unsigned long ulMode)
int setCallingNum (LINEDEV hSignal, char *szCallingNum)
int getDnis (CRN crn, char *szDnis)
int getAni (CRN crn, char *szAni)
int acceptCall (CRN crn, int iRings, unsigned long ulMode)
int answerCall (CRN crn, int iRings, unsigned long ulMode)
int dropCall (CRN crn, int iCause, unsigned long ulMode)
int releaseCall (CRN crn, unsigned long ulMode)
int resultValue (METAEVENT *pMetaEvent, int *piGcResult, int *pCcLibId, long *pCcLibResult)
int errorValue (int *piGcResult, int *pCcLibId, long *pCcLibResult)
int resetLineDev (LINEDEV hSignal, unsigned long ulMode)
int mediaFileOpen (int *piHandle, const char *szFilename, int iFlags)
int mediaFileClose (int iHandle)
int mediaFilePlay (int iVoiceHandle, DX_IOTT *pIott, const DV_TPT *pTpt, const DX_XPB *pXpb, unsigned short usMode)
int stopVoice (int iVoiceHandle, unsigned short usMode)
int clearDigitBuffer (int iVoiceHandle)
int getDigit (int iVoiceHandle, const DV_TPT *pTpt, DV_DIGIT *pDigit, unsigned short usMode)
int dial (int iHandle, const char *szDialStr, const DX_CAP *pCAP, unsigned short usMode)
int getTermMsk (INT iVoiceHandle, long *lMask)
void setGcResult (int iGcResult)
void setCcLibId (int m_iCcLibId)
void setCcLibResult (long m_lCcLibResult)

Static Public Member Functions

CBgtRt * Instance ()
int resultMsg (int iCcLibId, long lResultCode, char **pszMsg)
int resultMsg (int iGcValue, char **pszGcMsg, int iCcValue, char **pszCcMsg)
int ccLibIDToName (long lCcLibId, char **pszCcLibName)

Protected Attributes

CDlgEvtHdlr * m_pDlgHdlr
CEvtQueue * m_pQueue
CEvt * m_pLatestEvt
long m_lMode
HANDLE m_hEvent
MAP_LONG2PTR m_mapVoiceDev
MAP_LONG2PTR m_mapSignalDev
MAP_LONG2PTR m_mapCrn2SignalDev
MAP_LONG2PTR m_mapScTsVoiceDev
MAP_LONG2PTR m_mapScTsSignalDev
SET_STRING m_setVoiceDevNames
SET_STRING m_setSignalDevNames
long m_lNextSCbusTimeslot
long m_lNextSignalHandle
long m_lNextVoiceHandle
boost::mutex m_mtxFilenameMap

Static Protected Attributes

const std::string astrCcResultMsgs [1]
const std::string astrGcResultMsgs [2]
const std::string astrCcLibNames [1]

Private Member Functions

 CBgtRt ()

Private Attributes

int m_iGcResult
int m_iCcLibId
long m_lCcLibResult

Static Private Attributes

CBgtRt * _instance = 0

Constructor & Destructor Documentation

bogotel::CBgtRt::CBgtRt (   )  [private]
 

Definition at line 43 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::init(), bogotel::CUtil::log(), m_pQueue, and bogotel::resultSUCCESS.

bogotel::CBgtRt::~CBgtRt (   )  [virtual]
 

Definition at line 87 of file BgtRt.cpp.

References m_pDlgHdlr, m_pLatestEvt, and m_pQueue.


Member Function Documentation

CBgtRt * bogotel::CBgtRt::Instance (   )  [static]
 

required to create an instance Protected constructor Prevents direct instantiation

Definition at line 113 of file BgtRt.cpp.

References _instance.

int bogotel::CBgtRt::resultMsg (  int  iCcLibId,
long  lResultCode,
char **  pszMsg
)  [static]
 

Definition at line 1088 of file BgtRt.cpp.

References astrGcResultMsgs, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::resultMsg (  int  iGcValue,
char **  pszGcMsg,
int  iCcValue,
char **  pszCcMsg
)  [static]
 

Definition at line 1074 of file BgtRt.cpp.

References astrCcResultMsgs, astrGcResultMsgs, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::ccLibIDToName (  long  lCcLibId,
char **  pszCcLibName
)  [static]
 

Definition at line 1103 of file BgtRt.cpp.

References astrCcLibNames, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::setMode (  long  parmid,
void *  valuep
) 
 

Definition at line 394 of file BgtRt.cpp.

References m_hEvent, m_lMode, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::enableHandler (  long  dev,
unsigned long  event_type,
CDlgEvtHdlr::ptr_evt_hndlr  hdlr
) 
 

Definition at line 217 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_pDlgHdlr, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::disableHandler (  long  dev,
unsigned long  event_type,
CDlgEvtHdlr::ptr_evt_hndlr  hdlr
) 
 

Definition at line 240 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_pDlgHdlr, bogotel::CDlgEvtHdlr::matchesHandler(), bogotel::resultFUNC_BAD_PARAMETER, bogotel::resultSUCCESS, and bogotel::resultUNEXPECTED.

int bogotel::CBgtRt::openSignalDev (  LINEDEV *  linedevp,
char *  devicename,
void *  usrattr
) 
 

Definition at line 616 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CSignalDev::getHandle(), bogotel::CSignalDev::init(), bogotel::CUtil::log(), m_lNextSCbusTimeslot, m_lNextSignalHandle, m_mapScTsSignalDev, m_mapSignalDev, m_setSignalDevNames, bogotel::resultFUNC_BAD_PARAMETER, bogotel::resultNOTENOUGHMEMORY, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::openVoiceDev (  int *  piHandle,
const char *  szName
) 
 

Definition at line 578 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CVoiceDev::init(), bogotel::CUtil::log(), m_lNextSCbusTimeslot, m_lNextVoiceHandle, m_mapScTsVoiceDev, m_mapVoiceDev, m_setVoiceDevNames, bogotel::resultFUNC_BAD_PARAMETER, bogotel::resultNOTENOUGHMEMORY, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::getVoiceTimeslot (  int  iVoiceHandle,
long *  plTimeslot
) 
 

Definition at line 680 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_mapVoiceDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::getSignalTimeslot (  LINEDEV  hSignal,
SC_TSINFO *  pScTsInfo
) 
 

Definition at line 695 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_mapSignalDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::listenVoiceTimeslot (  LINEDEV  hSignal,
SC_TSINFO *  pScTsInfo
) 
 

Definition at line 710 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CSignalDev::getHandle(), bogotel::CSignalDev::listen(), bogotel::CUtil::log(), m_mapScTsVoiceDev, m_mapSignalDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::listenSignalTimeslot (  LINEDEV  lVoiceHandle,
long  lTimeslot
) 
 

Definition at line 744 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CSignalDev::getHandle(), bogotel::CVoiceDev::listen(), bogotel::CUtil::log(), m_mapScTsSignalDev, m_mapVoiceDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::registerCrn (  CSignalDev *  pSig,
CRN  crn
) 
 

Definition at line 500 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CSignalDev::getHandle(), bogotel::CUtil::log(), m_mapCrn2SignalDev, and bogotel::resultSUCCESS.

Referenced by bogotel::CSignalDev::makeCall(), and bogotel::CSignalDev::receiveMsg().

int bogotel::CBgtRt::deregisterCrn (  CRN  crn  ) 
 

Definition at line 517 of file BgtRt.cpp.

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

Referenced by bogotel::CSignalDev::releaseCall().

int bogotel::CBgtRt::addEvent (  CEvt *  pEvt  ) 
 

Definition at line 123 of file BgtRt.cpp.

References bogotel::CEvtQueue::add(), bogotel::g_util, bogotel::CUtil::log(), m_pQueue, and bogotel::resultSUCCESS.

Referenced by bogotel::CVoiceDev::sendEvent(), and bogotel::CSignalDev::sendEvent().

int bogotel::CBgtRt::waitEvent (  long  lTimeout,
long *  plRemaining
) 
 

Todo:
this should be the time left over from the timeout

Definition at line 139 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), bogotel::CEvt::m_iSysType, m_pLatestEvt, m_pQueue, bogotel::resultDISABLE, bogotel::resultSUCCESS, and bogotel::CEvtQueue::wait().

int bogotel::CBgtRt::incomingMsg (  CMsg *  pMsg  ) 
 

finds the destination for this message and hands it off

Definition at line 179 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CVoiceDev::getSignalHandle(), bogotel::CUtil::log(), bogotel::CMsg::m_class, bogotel::CMsg::m_id, m_mapSignalDev, m_mapVoiceDev, bogotel::MC_SIGNAL, bogotel::MC_VOICE, bogotel::CVoiceDev::receiveMsg(), bogotel::CSignalDev::receiveMsg(), bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

Referenced by bogotel::CMsgTransport::runListener().

int bogotel::CBgtRt::getEvtUsrAttr (  unsigned long  evt_handle,
void **  ppData
) 
 

Definition at line 367 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_pLatestEvt, bogotel::CEvt::m_pUsrAttr, bogotel::resultPOINTER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::getEvtDevHandle (  unsigned long  evt_handle,
long *  plHandle
) 
 

Definition at line 268 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), bogotel::CEvt::m_lSignalDevHandle, bogotel::CEvt::m_lType, bogotel::CEvt::m_lVoiceDevHandle, m_pLatestEvt, bogotel::resultPOINTER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::getEvtVoiceDevHandle (  unsigned long  evt_handle,
long *  plHandle
) 
 

Definition at line 288 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), bogotel::CEvt::m_lVoiceDevHandle, m_pLatestEvt, bogotel::resultPOINTER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::getEvtSignalDevHandle (  unsigned long  evt_handle,
long *  plHandle
) 
 

Definition at line 300 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), bogotel::CEvt::m_lSignalDevHandle, m_pLatestEvt, bogotel::resultPOINTER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::getEvtType (  unsigned long  evt_handle,
long *  plType
) 
 

Definition at line 329 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), bogotel::CEvt::m_lType, m_pLatestEvt, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::getEvtFlags (  unsigned long *  pulFlags  ) 
 

Definition at line 343 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_pLatestEvt, bogotel::CEvt::m_ulFlags, bogotel::resultPOINTER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::getEvtCrn (  CRN *  pCrn  ) 
 

Definition at line 355 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), bogotel::CEvt::m_lCrn, m_pLatestEvt, bogotel::resultPOINTER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::putEvt (  long  dev,
unsigned long  event_type,
long  len,
void *  pData,
long  err
) 
 

Definition at line 312 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_mapSignalDev, bogotel::CSignalDev::putEvt(), bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::getUsrAttr (  LINEDEV  linedev,
void **  usr_attrp
) 
 

Definition at line 379 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_mapSignalDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::waitCall (  LINEDEV  hSignal,
CRN *  pCrn,
int  iTimeout,
unsigned long  ulMode
) 
 

Definition at line 428 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_mapSignalDev, bogotel::resultFUNC_BAD_PARAMETER, bogotel::resultSUCCESS, and bogotel::CSignalDev::waitCall().

int bogotel::CBgtRt::makeCall (  LINEDEV  hSignal,
CRN *  pCrn,
char *  szNumber,
GC_MAKECALL_BLK *  pMakecall,
int  iTimeout,
unsigned long  ulMode
) 
 

Definition at line 453 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_mapCrn2SignalDev, m_mapSignalDev, bogotel::CSignalDev::makeCall(), bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::setCallingNum (  LINEDEV  hSignal,
char *  szCallingNum
) 
 

Definition at line 561 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CSignalDev::getHandle(), bogotel::CUtil::log(), m_mapSignalDev, bogotel::resultFUNC_BAD_PARAMETER, bogotel::resultSUCCESS, and bogotel::CSignalDev::setAni().

int bogotel::CBgtRt::getDnis (  CRN  crn,
char *  szDnis
) 
 

Definition at line 527 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CSignalDev::getDnis(), bogotel::CSignalDev::getHandle(), bogotel::CUtil::log(), m_mapCrn2SignalDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::getAni (  CRN  crn,
char *  szAni
) 
 

Definition at line 544 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CSignalDev::getAni(), bogotel::CSignalDev::getHandle(), bogotel::CUtil::log(), m_mapCrn2SignalDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::acceptCall (  CRN  crn,
int  iRings,
unsigned long  ulMode
) 
 

Definition at line 778 of file BgtRt.cpp.

References bogotel::CSignalDev::acceptCall(), bogotel::g_util, bogotel::CSignalDev::getHandle(), bogotel::CUtil::log(), m_mapCrn2SignalDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::answerCall (  CRN  crn,
int  iRings,
unsigned long  ulMode
) 
 

Definition at line 803 of file BgtRt.cpp.

References bogotel::CSignalDev::answerCall(), bogotel::g_util, bogotel::CSignalDev::getHandle(), bogotel::CUtil::log(), m_mapCrn2SignalDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::dropCall (  CRN  crn,
int  iCause,
unsigned long  ulMode
) 
 

Definition at line 828 of file BgtRt.cpp.

References bogotel::CSignalDev::dropCall(), bogotel::g_util, bogotel::CSignalDev::getHandle(), bogotel::CUtil::log(), m_mapCrn2SignalDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::releaseCall (  CRN  crn,
unsigned long  ulMode
) 
 

Definition at line 853 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CSignalDev::getHandle(), bogotel::CUtil::log(), m_mapCrn2SignalDev, bogotel::CSignalDev::releaseCall(), bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::resultValue (  METAEVENT *  pMetaEvent,
int *  piGcResult,
int *  pCcLibId,
long *  pCcLibResult
) 
 

Definition at line 873 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CSignalDev::getHandle(), bogotel::CUtil::log(), m_mapCrn2SignalDev, bogotel::resultFUNC_BAD_PARAMETER, bogotel::resultSUCCESS, and bogotel::CSignalDev::resultValue().

int bogotel::CBgtRt::errorValue (  int *  piGcResult,
int *  pCcLibId,
long *  pCcLibResult
) 
 

Definition at line 893 of file BgtRt.cpp.

References m_iCcLibId, m_iGcResult, m_lCcLibResult, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::resetLineDev (  LINEDEV  hSignal,
unsigned long  ulMode
) 
 

Definition at line 403 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_mapSignalDev, bogotel::CSignalDev::resetLineDev(), bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::mediaFileOpen (  int *  piHandle,
const char *  szFilename,
int  iFlags
) 
 

Definition at line 908 of file BgtRt.cpp.

References m_mtxFilenameMap, bogotel::resultIOERROR, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::mediaFileClose (  int  iHandle  ) 
 

Definition at line 927 of file BgtRt.cpp.

References m_mtxFilenameMap, bogotel::resultIOERROR, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::mediaFilePlay (  int  iVoiceHandle,
DX_IOTT *  pIott,
const DV_TPT *  pTpt,
const DX_XPB *  pXpb,
unsigned short  usMode
) 
 

Definition at line 940 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_mapVoiceDev, bogotel::CVoiceDev::play(), bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::stopVoice (  int  iVoiceHandle,
unsigned short  usMode
) 
 

Definition at line 962 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CUtil::log(), m_mapVoiceDev, bogotel::resultFUNC_BAD_PARAMETER, bogotel::resultSUCCESS, and bogotel::CVoiceDev::stop().

int bogotel::CBgtRt::clearDigitBuffer (  int  iVoiceHandle  ) 
 

Definition at line 984 of file BgtRt.cpp.

References bogotel::CVoiceDev::clearDigitBuffer(), bogotel::g_util, bogotel::CUtil::log(), m_mapVoiceDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::getDigit (  int  iVoiceHandle,
const DV_TPT *  pTpt,
DV_DIGIT *  pDigit,
unsigned short  usMode
) 
 

Definition at line 1006 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CVoiceDev::getDigit(), bogotel::CUtil::log(), m_mapVoiceDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::dial (  int  iHandle,
const char *  szDialStr,
const DX_CAP *  pCAP,
unsigned short  usMode
) 
 

Definition at line 1034 of file BgtRt.cpp.

References bogotel::CVoiceDev::dial(), bogotel::g_util, bogotel::CUtil::log(), m_mapVoiceDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

int bogotel::CBgtRt::getTermMsk (  INT  iVoiceHandle,
long *  lMask
) 
 

Definition at line 1057 of file BgtRt.cpp.

References bogotel::g_util, bogotel::CVoiceDev::getTermMsk(), bogotel::CUtil::log(), m_mapVoiceDev, bogotel::resultFUNC_BAD_PARAMETER, and bogotel::resultSUCCESS.

void bogotel::CBgtRt::setGcResult (  int  iGcResult  ) 
 

Definition at line 1109 of file BgtRt.cpp.

References m_iGcResult.

Referenced by bogotel::CSignalDev::releaseCall().

void bogotel::CBgtRt::setCcLibId (  int  m_iCcLibId  ) 
 

Definition at line 1114 of file BgtRt.cpp.

References m_iCcLibId.

Referenced by bogotel::CSignalDev::releaseCall().

void bogotel::CBgtRt::setCcLibResult (  long  m_lCcLibResult  ) 
 

Definition at line 1119 of file BgtRt.cpp.

References m_lCcLibResult.

Referenced by bogotel::CSignalDev::releaseCall().


Field Documentation

CBgtRt * bogotel::CBgtRt::_instance = 0 [static, private]
 

Definition at line 111 of file BgtRt.cpp.

Referenced by Instance().

int bogotel::CBgtRt::m_iGcResult [private]
 

Definition at line 39 of file BgtRt.h.

Referenced by errorValue(), and setGcResult().

int bogotel::CBgtRt::m_iCcLibId [private]
 

Definition at line 40 of file BgtRt.h.

Referenced by errorValue(), and setCcLibId().

long bogotel::CBgtRt::m_lCcLibResult [private]
 

Definition at line 41 of file BgtRt.h.

Referenced by errorValue(), and setCcLibResult().

CDlgEvtHdlr* bogotel::CBgtRt::m_pDlgHdlr [protected]
 

Definition at line 104 of file BgtRt.h.

Referenced by disableHandler(), enableHandler(), and ~CBgtRt().

CEvtQueue* bogotel::CBgtRt::m_pQueue [protected]
 

Definition at line 105 of file BgtRt.h.

Referenced by addEvent(), CBgtRt(), waitEvent(), and ~CBgtRt().

CEvt* bogotel::CBgtRt::m_pLatestEvt [protected]
 

Definition at line 106 of file BgtRt.h.

Referenced by getEvtCrn(), getEvtDevHandle(), getEvtFlags(), getEvtSignalDevHandle(), getEvtType(), getEvtUsrAttr(), getEvtVoiceDevHandle(), waitEvent(), and ~CBgtRt().

long bogotel::CBgtRt::m_lMode [protected]
 

Definition at line 107 of file BgtRt.h.

Referenced by setMode().

HANDLE bogotel::CBgtRt::m_hEvent [protected]
 

Definition at line 108 of file BgtRt.h.

Referenced by setMode().

MAP_LONG2PTR bogotel::CBgtRt::m_mapVoiceDev [protected]
 

Definition at line 109 of file BgtRt.h.

Referenced by clearDigitBuffer(), dial(), getDigit(), getTermMsk(), getVoiceTimeslot(), incomingMsg(), listenSignalTimeslot(), mediaFilePlay(), openVoiceDev(), and stopVoice().

MAP_LONG2PTR bogotel::CBgtRt::m_mapSignalDev [protected]
 

Definition at line 110 of file BgtRt.h.

Referenced by getSignalTimeslot(), getUsrAttr(), incomingMsg(), listenVoiceTimeslot(), makeCall(), openSignalDev(), putEvt(), resetLineDev(), setCallingNum(), and waitCall().

MAP_LONG2PTR bogotel::CBgtRt::m_mapCrn2SignalDev [protected]
 

Definition at line 111 of file BgtRt.h.

Referenced by acceptCall(), answerCall(), deregisterCrn(), dropCall(), getAni(), getDnis(), makeCall(), registerCrn(), releaseCall(), and resultValue().

MAP_LONG2PTR bogotel::CBgtRt::m_mapScTsVoiceDev [protected]
 

Definition at line 112 of file BgtRt.h.

Referenced by listenVoiceTimeslot(), and openVoiceDev().

MAP_LONG2PTR bogotel::CBgtRt::m_mapScTsSignalDev [protected]
 

Definition at line 113 of file BgtRt.h.

Referenced by listenSignalTimeslot(), and openSignalDev().

SET_STRING bogotel::CBgtRt::m_setVoiceDevNames [protected]
 

Definition at line 114 of file BgtRt.h.

Referenced by openVoiceDev().

SET_STRING bogotel::CBgtRt::m_setSignalDevNames [protected]
 

Definition at line 115 of file BgtRt.h.

Referenced by openSignalDev().

long bogotel::CBgtRt::m_lNextSCbusTimeslot [protected]
 

Definition at line 116 of file BgtRt.h.

Referenced by openSignalDev(), and openVoiceDev().

long bogotel::CBgtRt::m_lNextSignalHandle [protected]
 

Definition at line 117 of file BgtRt.h.

Referenced by openSignalDev().

long bogotel::CBgtRt::m_lNextVoiceHandle [protected]
 

Definition at line 118 of file BgtRt.h.

Referenced by openVoiceDev().

boost::mutex bogotel::CBgtRt::m_mtxFilenameMap [protected]
 

Definition at line 121 of file BgtRt.h.

Referenced by mediaFileClose(), and mediaFileOpen().

const std::string bogotel::CBgtRt::astrCcResultMsgs [static, protected]
 

Initial value:

 {
        "Unknown"
    }

Definition at line 26 of file BgtRt.cpp.

Referenced by resultMsg().

const std::string bogotel::CBgtRt::astrGcResultMsgs [static, protected]
 

Initial value:

 {
        "Unknown",
        "NORMAL CLEARING"
    }

Definition at line 30 of file BgtRt.cpp.

Referenced by resultMsg().

const std::string bogotel::CBgtRt::astrCcLibNames [static, protected]
 

Initial value:

 {
        "CC-Lib-name"
    }

Definition at line 35 of file BgtRt.cpp.

Referenced by ccLibIDToName().


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