DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
An abstract interface to access an Issue context. More...
#include <Context.hpp>
Public Member Functions | |
virtual | ~Context () |
std::string | position (int verbosity=ers::Configuration::instance().verbosity_level()) const |
std::vector< std::string > | stack () const |
virtual Context * | clone () const =0 |
virtual const char * | cwd () const =0 |
virtual const char * | file_name () const =0 |
virtual const char * | function_name () const =0 |
virtual const char * | host_name () const =0 |
virtual int | line_number () const =0 |
virtual const char * | package_name () const =0 |
virtual pid_t | process_id () const =0 |
virtual pid_t | thread_id () const =0 |
virtual void *const * | stack_symbols () const =0 |
virtual int | stack_size () const =0 |
virtual int | user_id () const =0 |
virtual const char * | user_name () const =0 |
virtual const char * | application_name () const =0 |
An abstract interface to access an Issue context.
This class provides an abstract interface to access the context of an issue.
Definition at line 29 of file Context.hpp.
|
inlinevirtual |
Definition at line 33 of file Context.hpp.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
std::string ers::Context::position | ( | int | verbosity = ers::Configuration::instance().verbosity_level() | ) | const |
Pretty printed code position format: package_name/file_name:line_number <function_name>
Definition at line 105 of file Context.cpp.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
std::vector< std::string > ers::Context::stack | ( | ) | const |
Definition at line 84 of file Context.cpp.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.
|
pure virtual |
Implemented in ers::LocalContext, and ers::RemoteContext.