Go to the documentation of this file.
   47     m_inc->removeListener( 
this );
 
   52   numSlots      = ( 1 > numSlots ) ? 1 : numSlots;
 
   53   if ( numSlots > 1000 ) {
 
   54     warning() << 
"Num Slots are greater than 1000. Is this correct? numSlots=" << numSlots << 
endmsg;
 
   56     warning() << 
"Setting numSlots to " << numSlots << 
endmsg;
 
   58   m_inEvtLoop.resize( numSlots, 0 );
 
   63       error() << 
"Could not locate 'IncidentSvc'" << 
endmsg;
 
   66     m_inc->addListener( 
this, IncidentType::BeginEvent );
 
   67     m_inc->addListener( 
this, IncidentType::EndEvent );
 
   69   if ( m_algorithms.get() && !m_algorithms->empty() ) {
 
   70     warning() << 
"Non-empty stack of algorithms #" << m_algorithms->size() << 
endmsg;
 
   82   numSlots      = ( 1 > numSlots ) ? 1 : numSlots;
 
   83   if ( numSlots > 1000 ) {
 
   84     warning() << 
"Num Slots are greater than 1000. Is this correct? numSlots=" << numSlots << 
endmsg;
 
  101     m_inc->removeListener( 
this );
 
  112     warning() << 
"IAlgorithm* points to NULL" << 
endmsg;
 
  134     warning() << 
"IAlgorithm* points to NULL" << 
endmsg;
 
  142   if ( a->
type() != 
"IncidentProcAlg" ) {
 
  166   if ( inc.
type() == 
"BeginEvent" ) {
 
  168   } 
else if ( inc.
type() == 
"EndEvent" ) {
 
  
 
IAlgorithm * currentAlg() const override
accessor to current algorithm:
 
StatusCode initialize() override
 
SmartIF< IIncidentSvc > m_inc
pointer to Incident Service
 
void handle(const Incident &) override
handle incident
 
std::vector< int > m_inEvtLoop
 
StatusCode start() override
 
StatusCode start() override
 
void reset(TYPE *ptr=nullptr)
Set the internal pointer to the passed one disposing of the old one.
 
StatusCode setCurrentAlg(IAlgorithm *a, const EventContext &context) override
set the currently executing algorithm ("push_back")
 
boost::thread_specific_ptr< IAlgContextSvc::Algorithms > m_algorithms
the stack of current algorithms
 
static constexpr ContextID_t INVALID_CONTEXT_ID
 
virtual const std::string & type() const =0
The type of the algorithm.
 
Gaudi::Property< bool > m_bypassInc
 
StatusCode finalize() override
 
static GAUDI_API std::size_t numConcurrentEvents()
number of Concurrent Events (for MT)
 
EventContext context() const
Access to the EventContext of the source of the incident.
 
StatusCode unSetCurrentAlg(IAlgorithm *a, const EventContext &context) override
remove the algorithm ("pop_back")
 
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
 
StatusCode finalize() override
standard finalization of the service
 
constexpr static const auto SUCCESS
 
#define DECLARE_COMPONENT(type)
 
const std::string & type() const
Access to the incident type.
 
constexpr static const auto FAILURE
 
constexpr static const auto RECOVERABLE
 
StatusCode service(const std::string &name, const T *&psvc, bool createIf=true) const
Access a service by name, creating it if it doesn't already exist.