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

EventContext * eventContext
 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 13 of file EventSlot.h.

16  :
17  eventContext(nullptr),
18  algsStates(numberOfAlgorithms,MS),
19  complete(false),
20  dataFlowMgr(algoDependencies),
21  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 23 of file EventSlot.h.

23 {};

Member Function Documentation

void EventSlot::reset ( EventContext *  theeventContext)
inline

Reset all resources in order to reuse the slot.

Definition at line 26 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: