|
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 |
| Public Member Functions inherited from ers::Context | |
| 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 60 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 87 of file LocalContext.cpp.
|
inlinevirtual |
Definition at line 77 of file LocalContext.hpp.
|
virtual |
Implements ers::Context.
Definition at line 102 of file LocalContext.cpp.
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 80 of file LocalContext.hpp.
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 83 of file LocalContext.hpp.
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 86 of file LocalContext.hpp.
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 89 of file LocalContext.hpp.
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 92 of file LocalContext.hpp.
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 95 of file LocalContext.hpp.
|
inlinevirtual |
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 101 of file LocalContext.hpp.
|
static |
|
inlinevirtual |
<
Implements ers::Context.
Definition at line 110 of file LocalContext.hpp.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
staticprivate |
Definition at line 124 of file LocalContext.hpp.
|
private |
source file-name
Definition at line 127 of file LocalContext.hpp.
|
private |
source function name
Definition at line 128 of file LocalContext.hpp.
|
private |
source line-number
Definition at line 129 of file LocalContext.hpp.
|
private |
source package name
Definition at line 126 of file LocalContext.hpp.
|
private |
stack frames
Definition at line 131 of file LocalContext.hpp.
|
private |
stack frames number
Definition at line 132 of file LocalContext.hpp.
|
private |
thread id
Definition at line 130 of file LocalContext.hpp.