Go to the documentation of this file.
   25         error() << 
"failed to initialize base class" << 
endmsg;
 
   28       return handle( 
"initialize" );
 
   33         error() << 
"failed to start base class" << 
endmsg;
 
   51         this, 
"Transition", 
"", 
"In which transition to fail ['initialize', 'start', 'stop',  'finalize']" };
 
   56         if ( 
m_mode == 
"exception" ) {
 
   58         } 
else if ( 
m_mode == 
"failure" ) {
 
   61           warning() << 
"Unknown type of failure '" << 
m_mode << 
"', use 'failure' or 'exception'" << 
endmsg;
 
  
 
Gaudi::Property< std::string > m_mode
StatusCode initialize() override
StatusCode start() override
Gaudi::Property< std::string > m_transition
StatusCode start() override
StatusCode stop() override
StatusCode finalize() override
Special service that issue a failure in one of the transitions (for testing).
const std::string & name() const override
Retrieve name of the service
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
constexpr static const auto SUCCESS
StatusCode stop() override
#define DECLARE_COMPONENT(type)
Service(std::string name, ISvcLocator *svcloc)
Standard Constructor
constexpr static const auto FAILURE
StatusCode finalize() override
StatusCode handle(const std::string &transition)
StatusCode initialize() override