The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
MinimalEventLoopMgr::AbortEventListener Class Reference
Inheritance diagram for MinimalEventLoopMgr::AbortEventListener:
Collaboration diagram for MinimalEventLoopMgr::AbortEventListener:

Public Member Functions

void handle (const Incident &i) override
 Inform that a new incident has occurred.
Public Member Functions inherited from implements< IIncidentListener >
void const * i_cast (const InterfaceID &tid) const override
 Implementation of IInterface::i_cast.
StatusCode queryInterface (const InterfaceID &ti, void **pp) override
 Implementation of IInterface::queryInterface.
std::vector< std::string > getInterfaceNames () const override
 Implementation of IInterface::getInterfaceNames.
 implements ()=default
 Default constructor.
implements & operator= (const implements &)
 Assignment operator (do not touch the reference count).
unsigned long addRef () const override
 Reference Interface instance.
unsigned long release () const override
 Release Interface instance.
unsigned long refCount () const override
 Current reference count.

Public Attributes

bool abortEvent = false
 Flag signalling that the event being processed has to be aborted (skip all following top algs).
std::string abortEventSource
 Source of the AbortEvent incident.

Additional Inherited Members

Public Types inherited from implements< IIncidentListener >
using base_class
 Typedef to this class.
using extend_interfaces_base
 Typedef to the base of this class.
using iids
Public Types inherited from extend_interfaces< Interfaces... >
using ext_iids
 take union of the ext_iids of all Interfaces...
Protected Member Functions inherited from implements< IIncidentListener >
unsigned long decRef () const override
Protected Attributes inherited from implements< IIncidentListener >
std::atomic_ulong m_refCount
 Reference counter.

Detailed Description

Definition at line 35 of file MinimalEventLoopMgr.h.

Member Function Documentation

◆ handle()

void MinimalEventLoopMgr::AbortEventListener::handle ( const Incident & i)
inlineoverride

Inform that a new incident has occurred.

Definition at line 38 of file MinimalEventLoopMgr.h.

38 {
39 if ( i.type() == IncidentType::AbortEvent ) {
40 abortEvent = true;
42 }
43 }
const std::string & type() const
Access to the incident type.
Definition Incident.h:43
const std::string & source() const
Access to the source of the incident.
Definition Incident.h:49
bool abortEvent
Flag signalling that the event being processed has to be aborted (skip all following top algs).
std::string abortEventSource
Source of the AbortEvent incident.

Member Data Documentation

◆ abortEvent

bool MinimalEventLoopMgr::AbortEventListener::abortEvent = false

Flag signalling that the event being processed has to be aborted (skip all following top algs).

Definition at line 48 of file MinimalEventLoopMgr.h.

◆ abortEventSource

std::string MinimalEventLoopMgr::AbortEventListener::abortEventSource

Source of the AbortEvent incident.

Definition at line 50 of file MinimalEventLoopMgr.h.


The documentation for this class was generated from the following file: