|
| InertMessageSvc (const std::string &name, ISvcLocator *pSvcLocator) |
| Standard constructor. More...
|
|
virtual | ~InertMessageSvc () |
| Destructor. More...
|
|
virtual StatusCode | initialize () |
| Initialization of the service. More...
|
|
virtual StatusCode | finalize () |
| Finalization of the service. More...
|
|
virtual void | reportMessage (const Message &msg) |
| Implementation of IMessageSvc::reportMessage() More...
|
|
virtual void | reportMessage (const Message &msg, int outputLevel) |
| Implementation of IMessageSvc::reportMessage() More...
|
|
virtual void | reportMessage (const StatusCode &code, const std::string &source="") |
| Implementation of IMessageSvc::reportMessage() More...
|
|
| MessageSvc (const std::string &name, ISvcLocator *svcloc) |
|
| ~MessageSvc () override=default |
|
StatusCode | reinitialize () override |
| Reinitialize Service. More...
|
|
StatusCode | initialize () override |
| Initialize Service. More...
|
|
StatusCode | finalize () override |
| Finalize Service. More...
|
|
void | reportMessage (const Message &message) override |
|
void | reportMessage (const Message &msg, int outputLevel) override |
|
void | reportMessage (const StatusCode &code, const std::string &source="") override |
|
void | reportMessage (const char *source, int type, const char *message) override |
|
void | reportMessage (const std::string &source, int type, const std::string &message) override |
|
void | insertMessage (const StatusCode &code, const Message &message) override |
|
void | eraseMessage () override |
|
void | eraseMessage (const StatusCode &code) override |
|
void | eraseMessage (const StatusCode &code, const Message &message) override |
|
void | insertStream (int message_type, const std::string &name, std::ostream *stream) override |
|
void | eraseStream () override |
|
void | eraseStream (int message_type) override |
|
void | eraseStream (int message_type, std::ostream *stream) override |
|
void | eraseStream (std::ostream *stream) override |
|
std::ostream * | defaultStream () const override |
|
void | setDefaultStream (std::ostream *stream) override |
|
int | outputLevel () const override |
|
int | outputLevel (const std::string &source) const override |
|
void | setOutputLevel (int new_level) override |
|
void | setOutputLevel (const std::string &source, int new_level) override |
|
bool | useColor () const override |
|
std::string | getLogColor (int logLevel) const override |
|
int | messageCount (MSG::Level logLevel) const override |
|
void | incrInactiveCount (MSG::Level level, const std::string &src) override |
|
void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More...
|
|
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More...
|
|
std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More...
|
|
| ~extends () override=default |
| Virtual destructor. More...
|
|
void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More...
|
|
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More...
|
|
std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More...
|
|
| ~extends () override=default |
| Virtual destructor. More...
|
|
| ~extend_interfaces () override=default |
| Virtual destructor. More...
|
|
| ~extend_interfaces () override=default |
| Virtual destructor. More...
|
|
Thread safe extension to the standard MessageSvc.
The InertMessageSvc runs in a separate thread sleeping until the arrival of a message to print out therefore using a very limited amount of resources. The most important part of its implementation is the presence of a TBB concurrent bounded queue which not only allows to serialise the received messages in order to print them but also to put the thread where the service is located to sleep when the queue is empty.
- Author
- Danilo Piparo
- Date
- 12/02/2013
Definition at line 26 of file InertMessageSvc.h.