1 #ifndef MESSAGESVC_INERTMESSAGESVC_H 2 #define MESSAGESVC_INERTMESSAGESVC_H 1 11 #include "tbb/concurrent_queue.h" 64 #endif // MESSAGESVC_INERTMESSAGESVC_H InertMessageSvc(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
StatusCode initialize() override
Initialization of the service.
MsgStream & msg() const
shortcut for the method msgStream(MSG::INFO)
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
const std::string & name() const override
Retrieve name of the service.
~InertMessageSvc() override
Destructor.
void reportMessage(const Message &msg) override
Implementation of IMessageSvc::reportMessage()
std::shared_ptr< messageAction > messageActionPtr
This is done since the copy of the lambda storage is too expensive.
StatusCode finalize() override
Finalization of the service.
This class is used for returning status codes from appropriate routines.
void reportMessage(const Message &message) override
int outputLevel() const override
tbb::concurrent_bounded_queue< messageActionPtr > m_messageActionsQueue
std::function< void()> messageAction