Definition at line 47 of file log_functiontracer.cpp.
Public Member Functions | |
| log_Stack () | |
| ~log_Stack () | |
Public Attributes | |
| log_TraceStack | m_stack |
Private Attributes | |
| log_Stack_l_i | m_listPosition |
| log_CLASSID_m | |
| log_Stack::log_Stack | ( | ) |
Definition at line 63 of file log_functiontracer.cpp.
References cmn_Global::dbg, dbg_LOW, g_cmn, g_idKey, cmn_Global::IsDbgActive(), ivd_GETTID, log_FUNCTAG_m, m_stack, log_Debugger::Write(), and log_Debugger::WriteHeader().
Referenced by ivd_GetThreadStack().
00063 { 00064 00065 00066 #if IVD_POSIX_OS 00067 int result = pthread_setspecific(g_idKey, reinterpret_cast<void*>(this) ); 00068 if (result != 0) { 00069 throw ivd_SysError( 00070 result, 00071 "FATAL ERROR: g_idKey is not valid!", 00072 false); // DO NOT LOG: class used in logging! 00073 } 00074 #endif 00075 // reserves more space to prevent realocating of vector 00076 m_stack.reserve(256); 00077 00078 if (g_cmn.IsDbgActive()) { 00079 log_FUNCTAG_m(log_Stack); 00080 ostringstream sstr; 00081 g_cmn.dbg.WriteHeader(sstr, dbg_LOW, s_fcnID, __LINE__); 00082 sstr << "<Thread start: " << ivd_GETTID() << ">"; 00083 g_cmn.dbg.Write(dbg_LOW, sstr); 00084 } 00085 }


| log_Stack::~log_Stack | ( | ) |
Definition at line 87 of file log_functiontracer.cpp.
References cmn_Global::dbg, dbg_LOW, g_cmn, cmn_Global::IsDbgActive(), IVD_COUT_LOG_m, ivd_GETTID, log_FUNCTAG_m, log_Debugger::Write(), and log_Debugger::WriteHeader().
00087 { 00088 IVD_COUT_LOG_m("log_Stack::~log_Stack()" << this) 00089 00090 if (g_cmn.IsDbgActive()) { 00091 log_FUNCTAG_m(~log_Stack); 00092 ostringstream sstr; 00093 g_cmn.dbg.WriteHeader(sstr, dbg_LOW, s_fcnID, __LINE__); 00094 sstr << "<Thread end: " << ivd_GETTID() << ">"; 00095 g_cmn.dbg.Write(dbg_LOW, sstr); 00096 } 00097 }

Definition at line 54 of file log_functiontracer.cpp.
Referenced by ivd_GetThreadStack(), and log_Stack().
log_Stack_l_i log_Stack::m_listPosition [private] |
Definition at line 57 of file log_functiontracer.cpp.
log_Stack::log_CLASSID_m [private] |
Definition at line 58 of file log_functiontracer.cpp.
1.5.6