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