#include <MessageLoggerScribe.h>
Public Member Functions | |
~MessageLoggerScribe () | |
MessageLoggerScribe (std::string const &applicationName) | |
MessageLoggerScribe (MessageLoggerScribe const &)=delete | |
MessageLoggerScribe & | operator= (MessageLoggerScribe const &)=delete |
void | runCommand (OpCode opcode, void *operand) override |
void | setApplication (std::string const &application) override |
void | setHostName (std::string const &hostName) override |
void | setHostAddr (std::string const &hostAddr) override |
void | setPID (long pid) override |
Public Member Functions inherited from mf::service::AbstractMLscribe | |
AbstractMLscribe ()=default | |
virtual | ~AbstractMLscribe () noexcept=default |
AbstractMLscribe (AbstractMLscribe const &)=delete | |
AbstractMLscribe & | operator= (AbstractMLscribe const &)=delete |
virtual void | setApplication (std::string const &application[[gnu::unused]]) |
virtual void | setHostName (std::string const &hostName[[gnu::unused]]) |
virtual void | setHostAddr (std::string const &hostAddr[[gnu::unused]]) |
virtual void | setPID (long pid[[gnu::unused]]) |
Private Member Functions | |
void | log (ErrorObj *errorobj_p) |
void | triggerStatisticsSummaries () |
void | configure_errorlog (std::unique_ptr< MessageLoggerQ::Config > &&dests_config) |
void | fetchDestinations (std::unique_ptr< MessageLoggerQ::Config > dests_config) |
void | makeDestinations (fhicl::ParameterSet const &dests, ELdestConfig::dest_config const config) |
std::vector< std::string > | parseCategories (std::string const &s) |
std::string | createId (std::set< std::string > &existing_ids, std::string const &type, std::string const &filename, fhicl::ParameterSet const &pset={}, bool const should_throw=true) |
bool | duplicateDestination (std::string const &output_id, ELdestConfig::dest_config const config, bool const should_throw) |
std::unique_ptr< ELdestination > | makePlugin_ (cet::BasicPluginFactory &pluginFactory, std::string const &libspec, std::string const &psetname, fhicl::ParameterSet const &pset) |
Private Attributes | |
ELadministrator | admin_ |
cet::BasicPluginFactory | pluginFactory_ {"mfPlugin"} |
cet::BasicPluginFactory | pluginStatsFactory_ {"mfStatsPlugin"} |
ELdestination & | earlyDest_ |
bool | cleanSlateConfiguration_ {true} |
bool | active_ {true} |
std::atomic< bool > | purgeMode_ {false} |
std::atomic< int > | count_ {0} |
std::atomic< bool > | messageBeingSent_ {false} |
tbb::concurrent_queue< ErrorObj * > | waitingMessages_ {} |
Definition at line 25 of file MessageLoggerScribe.h.
mf::service::MessageLoggerScribe::~MessageLoggerScribe | ( | ) |
Definition at line 79 of file MessageLoggerScribe.cc.
mf::service::MessageLoggerScribe::MessageLoggerScribe | ( | std::string const & | applicationName | ) |
Definition at line 60 of file MessageLoggerScribe.cc.
|
delete |
|
private |
Definition at line 222 of file MessageLoggerScribe.cc.
|
private |
Definition at line 391 of file MessageLoggerScribe.cc.
|
private |
Definition at line 422 of file MessageLoggerScribe.cc.
|
private |
Definition at line 236 of file MessageLoggerScribe.cc.
|
private |
Definition at line 194 of file MessageLoggerScribe.cc.
|
private |
Definition at line 265 of file MessageLoggerScribe.cc.
|
private |
Definition at line 484 of file MessageLoggerScribe.cc.
|
delete |
|
private |
Definition at line 349 of file MessageLoggerScribe.cc.
|
overridevirtual |
Implements mf::service::AbstractMLscribe.
Definition at line 97 of file MessageLoggerScribe.cc.
|
override |
Definition at line 169 of file MessageLoggerScribe.cc.
|
override |
Definition at line 181 of file MessageLoggerScribe.cc.
|
override |
Definition at line 175 of file MessageLoggerScribe.cc.
|
override |
Definition at line 187 of file MessageLoggerScribe.cc.
|
private |
Definition at line 379 of file MessageLoggerScribe.cc.
|
private |
Definition at line 67 of file MessageLoggerScribe.h.
|
private |
Definition at line 62 of file MessageLoggerScribe.h.
|
private |
Definition at line 66 of file MessageLoggerScribe.h.
|
private |
Definition at line 69 of file MessageLoggerScribe.h.
|
private |
Definition at line 65 of file MessageLoggerScribe.h.
|
private |
Definition at line 70 of file MessageLoggerScribe.h.
|
private |
Definition at line 63 of file MessageLoggerScribe.h.
|
private |
Definition at line 64 of file MessageLoggerScribe.h.
|
private |
Definition at line 68 of file MessageLoggerScribe.h.
|
private |
Definition at line 71 of file MessageLoggerScribe.h.