18 :
MessageSvc( name, pSvcLocator ), m_isActive( false )
33 info() <<
"Activating in a separate thread" <<
endmsg;
41 StatusCode InertMessageSvc::InertMessageSvc::finalize()
59 ( *thisMessageAction )();
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...
~InertMessageSvc() override
Destructor.
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
void reportMessage(const Message &msg) override
Implementation of IMessageSvc::reportMessage()
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.
StatusCode initialize() override
Initialize Service.
This class is used for returning status codes from appropriate routines.
#define DECLARE_SERVICE_FACTORY(x)
StatusCode finalize() override
Finalize Service.
int outputLevel() const override
tbb::concurrent_bounded_queue< messageActionPtr > m_messageActionsQueue
std::function< void()> messageAction
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.