The Gaudi Framework  v30r0 (c919700c)
EventSlot Class Reference

Class representing the event slot. More...

#include <src/EventSlot.h>

Collaboration diagram for EventSlot:

Public Member Functions

 EventSlot (unsigned int numberOfAlgorithms, unsigned int numberOfControlFlowNodes, SmartIF< IMessageSvc > MS)
 
 ~EventSlot ()
 
void reset (EventContext *theeventContext)
 Reset all resources in order to reuse the slot. More...
 

Public Attributes

EventContext * eventContext
 Cache for the eventContext. More...
 
AlgsExecutionStates algsStates
 Vector of algorithms states. More...
 
bool complete
 Flags completion of the event. More...
 
std::vector< int > controlFlowState
 State of the control flow. More...
 

Detailed Description

Class representing the event slot.

Definition at line 10 of file EventSlot.h.

Constructor & Destructor Documentation

EventSlot::EventSlot ( unsigned int  numberOfAlgorithms,
unsigned int  numberOfControlFlowNodes,
SmartIF< IMessageSvc >  MS 
)
inline

Definition at line 13 of file EventSlot.h.

14  : eventContext( nullptr )
15  , algsStates( numberOfAlgorithms, MS )
16  , complete( false )
17  , controlFlowState( numberOfControlFlowNodes, -1 ){};
AlgsExecutionStates algsStates
Vector of algorithms states.
Definition: EventSlot.h:33
EventContext * eventContext
Cache for the eventContext.
Definition: EventSlot.h:28
std::vector< int > controlFlowState
State of the control flow.
Definition: EventSlot.h:37
bool complete
Flags completion of the event.
Definition: EventSlot.h:35
EventSlot::~EventSlot ( )
inline

Definition at line 19 of file EventSlot.h.

19 {};

Member Function Documentation

void EventSlot::reset ( EventContext *  theeventContext)
inline

Reset all resources in order to reuse the slot.

Definition at line 22 of file EventSlot.h.

23  {
24  eventContext = theeventContext;
25  algsStates.reset();
26  complete = false;
28  };
AlgsExecutionStates algsStates
Vector of algorithms states.
Definition: EventSlot.h:33
EventContext * eventContext
Cache for the eventContext.
Definition: EventSlot.h:28
std::vector< int > controlFlowState
State of the control flow.
Definition: EventSlot.h:37
bool complete
Flags completion of the event.
Definition: EventSlot.h:35
T size(T...args)
T assign(T...args)

Member Data Documentation

AlgsExecutionStates EventSlot::algsStates

Vector of algorithms states.

Definition at line 33 of file EventSlot.h.

bool EventSlot::complete

Flags completion of the event.

Definition at line 35 of file EventSlot.h.

std::vector<int> EventSlot::controlFlowState

State of the control flow.

Definition at line 37 of file EventSlot.h.

EventContext* EventSlot::eventContext

Cache for the eventContext.

Definition at line 28 of file EventSlot.h.


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