#include <Util.h>
Collaboration diagram for bogotel::CUtil:
Public Member Functions | |
CUtil () | |
virtual | ~CUtil () |
void | log (int iLevel, int iChan, char *szFmt,...) |
int | init () |
std::string | getInstanceNum () |
Data Fields | |
CProperties | m_propIni |
Protected Member Functions | |
int | setIniFilename () |
int | setInstanceNum (u_short usPort) |
int | getStringParm (const char *szFilename, char *szName, char *szVal) |
Protected Attributes | |
std::string | m_strIniFilename |
int | m_iInstanceNum |
Private Member Functions | |
log4cpp::Priority::PriorityLevel | logLevel2Priority (int iLevel) |
Private Attributes | |
log4cpp::Category * | m_pLogCat |
std::string | m_strIniFilePath |
Static Private Attributes | |
const std::string | s_arrstrIniLocation [2] |
|
Definition at line 32 of file Util.cpp. References INVALID_INST_NUM, and LOG_CAT_NAME. |
|
|
|
|
Definition at line 44 of file Util.cpp. References bogotel::CProperties::getProperty(), bogotel::CProperties::load(), log(), m_pLogCat, m_propIni, m_strIniFilename, m_strIniFilePath, bogotel::resultERROR, bogotel::resultSUCCESS, setIniFilename(), and setInstanceNum(). Referenced by bogotel::CBgtRt::CBgtRt(). |
|
Definition at line 90 of file Util.cpp. References m_iInstanceNum. Referenced by bogotel::CMsgTransport::init(). |
|
Definition at line 99 of file Util.cpp. References INI_FILENAME, m_strIniFilename, m_strIniFilePath, bogotel::resultERROR, bogotel::resultSUCCESS, and s_arrstrIniLocation. Referenced by init(). |
|
Definition at line 121 of file Util.cpp. References log(), m_iInstanceNum, bogotel::resultSOCKET_IN_USE, and bogotel::resultSUCCESS. Referenced by init(). |
|
|
|
Definition at line 147 of file Util.cpp. Referenced by log(). |
|
Definition at line 37 of file Util.h. Referenced by bogotel::CVoiceDev::attemptRecognition(), init(), and bogotel::CMsgTransport::init(). |
|
Definition at line 40 of file Util.h. Referenced by init(), and setIniFilename(). |
|
Definition at line 41 of file Util.h. Referenced by getInstanceNum(), and setInstanceNum(). |
|
Definition at line 49 of file Util.h. Referenced by init(). |
|
Definition at line 50 of file Util.h. Referenced by init(), and setIniFilename(). |
|
Initial value: { ".\\", "%BOGOTEL_HOME%\\" } Definition at line 25 of file Util.cpp. Referenced by setIniFilename(). |