The Gaudi Framework  v29r0 (ff2e7097)
EventSlot Class Reference

Class representing the event slot. More...

#include <src/EventSlot.h>

Collaboration diagram for EventSlot:

Public Member Functions

 EventSlot (const std::vector< DataObjIDColl > &algoDependencies, 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

EventContexteventContext
 Cache for the eventContext. More...
 
AlgsExecutionStates algsStates
 Vector of algorithms states. More...
 
bool complete
 Flags completion of the event. More...
 
DataFlowManager dataFlowMgr
 DataFlowManager of this slot. More...
 
std::vector< int > controlFlowState
 State of the control flow. More...
 

Detailed Description

Class representing the event slot.

Definition at line 11 of file EventSlot.h.

Constructor & Destructor Documentation

EventSlot::EventSlot ( const std::vector< DataObjIDColl > &  algoDependencies,
unsigned int  numberOfAlgorithms,
unsigned int  numberOfControlFlowNodes,
SmartIF< IMessageSvc MS 
)
inline

Definition at line 14 of file EventSlot.h.

16  : eventContext( nullptr )
17  , algsStates( numberOfAlgorithms, MS )
18  , complete( false )
19  , dataFlowMgr( algoDependencies )
20  , controlFlowState( numberOfControlFlowNodes, -1 ){};
AlgsExecutionStates algsStates
Vector of algorithms states.
Definition: EventSlot.h:37
EventContext * eventContext
Cache for the eventContext.
Definition: EventSlot.h:32
DataFlowManager dataFlowMgr
DataFlowManager of this slot.
Definition: EventSlot.h:41
std::vector< int > controlFlowState
State of the control flow.
Definition: EventSlot.h:43
bool complete
Flags completion of the event.
Definition: EventSlot.h:39
EventSlot::~EventSlot ( )
inline

Definition at line 22 of file EventSlot.h.

22 {};

Member Function Documentation

void EventSlot::reset ( EventContext theeventContext)
inline

Reset all resources in order to reuse the slot.

Definition at line 25 of file EventSlot.h.

26  {
27  eventContext = theeventContext;
28  algsStates.reset();
30  complete = false;
32  };
AlgsExecutionStates algsStates
Vector of algorithms states.
Definition: EventSlot.h:37
EventContext * eventContext
Cache for the eventContext.
Definition: EventSlot.h:32
DataFlowManager dataFlowMgr
DataFlowManager of this slot.
Definition: EventSlot.h:41
std::vector< int > controlFlowState
State of the control flow.
Definition: EventSlot.h:43
bool complete
Flags completion of the event.
Definition: EventSlot.h:39
T size(T...args)
T assign(T...args)
void reset()
Reset to default values.

Member Data Documentation

AlgsExecutionStates EventSlot::algsStates

Vector of algorithms states.

Definition at line 37 of file EventSlot.h.

bool EventSlot::complete

Flags completion of the event.

Definition at line 39 of file EventSlot.h.

std::vector<int> EventSlot::controlFlowState

State of the control flow.

Definition at line 43 of file EventSlot.h.

DataFlowManager EventSlot::dataFlowMgr

DataFlowManager of this slot.

Definition at line 41 of file EventSlot.h.

EventContext* EventSlot::eventContext

Cache for the eventContext.

Definition at line 32 of file EventSlot.h.


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