|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Namespaces | |
| namespace | format |
Classes | |
| struct | AbortStream |
| Aborts the current application. More... | |
| class | AnyIssue |
| class | Configuration |
| Manager of ERS streams configuration. More... | |
| class | Context |
| An abstract interface to access an Issue context. More... | |
| struct | erstraceStream |
| struct | ExitStream |
| Terminates the current application. More... | |
| class | FilterStream |
| Filtering stream implementation. More... | |
| struct | FormattedStandardStream |
| struct | GlobalLockStream |
| Lock for ERS streams. More... | |
| class | InputStream |
| ERS Issue input stream interface. More... | |
| class | Issue |
| Base class for any user define issue. More... | |
| class | IssueCatcherHandler |
| Implements issue catcher lifetime management. More... | |
| class | IssueFactory |
| Implements factory pattern for user defined Issues. More... | |
| class | IssueReceiver |
| ERS Issue receiver interface. More... | |
| class | IssueRegistrator |
| class | LocalContext |
| struct | LocalProcessContext |
| struct | LockStream |
| Lock implementation for an ERS stream. More... | |
| struct | NullStream |
| Null stream. More... | |
| class | OutputStream |
| ERS abstract output stream interface. More... | |
| class | PluginException |
| class | PluginManager |
| class | PyContext |
| class | PyIssue |
| class | RemoteContext |
| struct | RemoteProcessContext |
| class | RFilterStream |
| Filtering stream implementation. More... | |
| struct | Severity |
| class | SingletonCreator |
| struct | StandardStream |
| Single line, human readable format stream. More... | |
| struct | StandardStreamOutput |
| class | StreamInitializer |
| class | StreamManager |
| This class manages and provides access to ERS streams. More... | |
| class | ThrottleStream |
| Throws issues as exceptions. More... | |
| struct | ThrowStream |
| Throws issues as exceptions. More... | |
Typedefs | |
| typedef Issue | Exception |
| typedef std::map< std::string, std::string > | string_map |
| using | inheritance_type = std::list<std::string> |
Enumerations | |
| enum | severity { Debug , Log , Information , Warning , Error , Fatal } |
Functions | |
| std::ostream & | operator<< (std::ostream &, const ers::Configuration &) |
| IssueCatcherHandler * | set_issue_catcher (const std::function< void(const ers::Issue &)> &catcher) |
| int | debug_level () |
| void | debug (const Issue &issue, int level=debug_level()) |
| void | error (const Issue &issue) |
| void | fatal (const Issue &issue) |
| void | info (const Issue &issue) |
| void | log (const Issue &issue) |
| int | verbosity_level () |
| void | warning (const Issue &issue) |
| int | enable_core_dump () |
| void | tokenize (const std::string &text, const std::string &separators, std::vector< std::string > &tokens) |
| int | read_from_environment (const char *name, int default_value) |
| const char * | read_from_environment (const char *name, const char *default_value) |
| std::ostream & | operator<< (std::ostream &, const ers::Issue &) |
| std::ostream & | operator<< (std::ostream &, const IssueFactory &factory) |
| streaming operator | |
| dunedaq::ersschema::Context | to_schema (const Context &c) |
| dunedaq::ersschema::SimpleIssue | to_schema (const Issue &i) |
| dunedaq::ersschema::IssueChain | to_schema_chain (const Issue &i) |
| void | to_schema (const Context &c, dunedaq::ersschema::Context &out) |
| void | to_schema (const Issue &i, dunedaq::ersschema::SimpleIssue &out) |
| void | to_schema (const Issue &i, dunedaq::ersschema::IssueChain &out) |
| severity | parse (const std::string &s, severity &) |
| Severity | parse (const std::string &s, Severity &) |
| std::string | to_string (severity s) |
| std::string | to_string (Severity s) |
| Transforms a severity type into the corresponding string. | |
| std::ostream & | operator<< (std::ostream &out, ers::severity severity) |
| std::ostream & | operator<< (std::ostream &out, const ers::Severity &severity) |
| std::istream & | operator>> (std::istream &in, ers::severity &severity) |
| std::istream & | operator>> (std::istream &in, ers::Severity &severity) |
| std::ostream & | operator<< (std::ostream &, const ers::StreamManager &) |
| message (message) | |
| pydebug (msg, lvl) | |
| pylog (msg) | |
| pyinfo (msg) | |
| pywarning (issue) | |
| pyerror (issue) | |
| pyfatal (issue) | |
This is a wrapping namespace for all ERS classes and global functions.
| typedef Issue ers::Exception |
| using ers::inheritance_type = std::list<std::string> |
| typedef std::map<std::string, std::string> ers::string_map |
| enum ers::severity |
|
inline |
This function sends the issue to the ERS DEBUG stream which corresponds to the given debug level.
| issue | the issue to be reported \level debug level which will be associated with the reported issue |
Definition at line 74 of file ers.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| ers.message | ( | message | ) |
Definition at line 84 of file __init__.py.
| std::ostream & ers::operator<< | ( | std::ostream & | out, |
| const ers::Configuration & | conf ) |
Definition at line 48 of file Configuration.cpp.
| std::ostream & ers::operator<< | ( | std::ostream & | out, |
| const ers::Issue & | issue ) |
Standard streaming operator - puts the issue in human readable format into the standard out stream.
| out | the destination out stream |
| issue | the Issue to be printed |
Definition at line 212 of file Issue.cpp.
| std::ostream & ers::operator<< | ( | std::ostream & | out, |
| const ers::StreamManager & | ) |
Definition at line 372 of file StreamManager.cpp.
| std::ostream & ers::operator<< | ( | std::ostream & | , |
| const IssueFactory & | factory ) |
streaming operator
|
inline |
Definition at line 53 of file Severity.hpp.
|
inline |
Definition at line 47 of file Severity.hpp.
|
inline |
Definition at line 67 of file Severity.hpp.
|
inline |
Definition at line 59 of file Severity.hpp.
| ers::Severity ers::parse | ( | const std::string & | string, |
| ers::Severity & | s ) |
Parses a string and extracts a severity
| s | the string to parse |
Definition at line 77 of file Severity.cpp.
| ers::severity ers::parse | ( | const std::string & | string, |
| ers::severity & | s ) |
Parses a string and extracts a severity
| s | the string to parse |
Definition at line 60 of file Severity.cpp.
| ers.pydebug | ( | msg, | |
| lvl ) |
Definition at line 98 of file __init__.py.
| ers.pyerror | ( | issue | ) |
Definition at line 121 of file __init__.py.
| ers.pyfatal | ( | issue | ) |
Definition at line 127 of file __init__.py.
| ers.pyinfo | ( | msg | ) |
Definition at line 106 of file __init__.py.
| ers.pylog | ( | msg | ) |
Definition at line 102 of file __init__.py.
| ers.pywarning | ( | issue | ) |
Definition at line 115 of file __init__.py.
| const char * ers::read_from_environment | ( | const char * | name, |
| const char * | default_value ) |
| int ers::read_from_environment | ( | const char * | name, |
| int | default_value ) |
|
inline |
This function sets up the local issue handler function. This function will be executed in the context of dedicated thread which will be created as a result of this call. All the issues which are reported via the ers::error, ers::fatal and ers::warning functions will be forwarded to this thread.
| issue | the issue to be reported |
| ers::IssueCatcherAlreadySet | for safety reasons local issue handler can be set only once |
Definition at line 60 of file ers.hpp.
| dunedaq::ersschema::Context ers::to_schema | ( | const Context & | c | ) |
Definition at line 5 of file Schema.cpp.
| void ers::to_schema | ( | const Context & | c, |
| dunedaq::ersschema::Context & | out ) |
Definition at line 27 of file Schema.cpp.
| dunedaq::ersschema::SimpleIssue ers::to_schema | ( | const Issue & | i | ) |
Definition at line 12 of file Schema.cpp.
| void ers::to_schema | ( | const Issue & | i, |
| dunedaq::ersschema::IssueChain & | out ) |
Definition at line 71 of file Schema.cpp.
| void ers::to_schema | ( | const Issue & | i, |
| dunedaq::ersschema::SimpleIssue & | out ) |
Definition at line 45 of file Schema.cpp.
| dunedaq::ersschema::IssueChain ers::to_schema_chain | ( | const Issue & | i | ) |
Definition at line 20 of file Schema.cpp.
| std::string ers::to_string | ( | ers::Severity | severity | ) |
Transforms a severity type into the corresponding string.
| s | severity |
Definition at line 42 of file Severity.cpp.
| std::string ers::to_string | ( | severity | s | ) |
| void ers::tokenize | ( | const std::string & | text, |
| const std::string & | separators, | ||
| std::vector< std::string > & | tokens ) |
Definition at line 7 of file Util.cpp.
|
inline |