DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <LocalContext.hpp>
Public Member Functions | |
LocalContext (const char *package_name, const char *filename, int line_number, const char *function_name, bool debug=false) | |
virtual | ~LocalContext () |
virtual Context * | clone () const |
const char * | cwd () const |
const char * | file_name () const |
const char * | function_name () const |
const char * | host_name () const |
int | line_number () const |
const char * | package_name () const |
pid_t | process_id () const |
pid_t | thread_id () const |
void *const * | stack_symbols () const |
int | stack_size () const |
int | user_id () const |
const char * | user_name () const |
const char * | application_name () const |
![]() | |
virtual | ~Context () |
std::string | position (int verbosity=ers::Configuration::instance().verbosity_level()) const |
std::vector< std::string > | stack () const |
Static Public Member Functions | |
static void | resetProcessContext () |
Private Attributes | |
const char *const | m_package_name |
const char *const | m_file_name |
const char *const | m_function_name |
const int | m_line_number |
const pid_t | m_thread_id |
void * | m_stack [64] |
const int | m_stack_size |
Static Private Attributes | |
static const LocalProcessContext | c_process |
Definition at line 49 of file LocalContext.hpp.
ers::LocalContext::LocalContext | ( | const char * | package_name, |
const char * | filename, | ||
int | line_number, | ||
const char * | function_name, | ||
bool | debug = false ) |
creates a new instance of a local context for an issue. This constructor should not be called directly, instead one should use the ERS_HERE
macro.
package_name | name of the current sw package |
filename | name of the source code file |
line_number | line_number in the source code |
function_name | name of the current function |
Definition at line 76 of file LocalContext.cpp.
|
inlinevirtual |
Definition at line 66 of file LocalContext.hpp.
|
virtual |
Implements ers::Context.
Definition at line 91 of file LocalContext.cpp.
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 69 of file LocalContext.hpp.
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 72 of file LocalContext.hpp.
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 75 of file LocalContext.hpp.
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 78 of file LocalContext.hpp.
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 81 of file LocalContext.hpp.
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 84 of file LocalContext.hpp.
|
inlinevirtual |
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 90 of file LocalContext.hpp.
|
static |
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 99 of file LocalContext.hpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
staticprivate |
Definition at line 113 of file LocalContext.hpp.
|
private |
source file-name
Definition at line 116 of file LocalContext.hpp.
|
private |
source function name
Definition at line 117 of file LocalContext.hpp.
|
private |
source line-number
Definition at line 118 of file LocalContext.hpp.
|
private |
source package name
Definition at line 115 of file LocalContext.hpp.
|
private |
stack frames
Definition at line 120 of file LocalContext.hpp.
|
private |
stack frames number
Definition at line 121 of file LocalContext.hpp.
|
private |
thread id
Definition at line 119 of file LocalContext.hpp.