4 #include "GaudiKernel/SvcFactory.h"
33 info() <<
"Activating in a separate thread" <<
endmsg;
42 StatusCode InertMessageSvc::InertMessageSvc::finalize() {
59 (*thisMessageAction)();
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
virtual void i_reportMessage(const Message &msg, int outputLevel)
Internal implementation of reportMessage(const Message&,int) without lock.
std::shared_ptr< messageAction > messageActionPtr
This is done since the copy of the lambda storage is too expensive.
bool isFailure() const
Test for a status code of FAILURE.
virtual ~InertMessageSvc()
Destructor.
StatusCode initialize() override
Initialize Service.
This class is used for returning status codes from appropriate routines.
virtual void reportMessage(const Message &msg)
Implementation of IMessageSvc::reportMessage()
#define DECLARE_SERVICE_FACTORY(x)
virtual StatusCode initialize()
Initialization of the service.
StatusCode finalize() override
Finalize Service.
tbb::concurrent_bounded_queue< messageActionPtr > m_messageActionsQueue
const std::string & getSource() const
Get the message source.
int outputLevel() const override
std::function< void()> messageAction