| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
EventSlot Class Reference

Class representing the event slot. More...

`#include <src/EventSlot.h>`

Collaboration diagram for EventSlot:
[legend]

## 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 ){};
EventSlot::algsStates
AlgsExecutionStates algsStates
Vector of algorithms states.
Definition: EventSlot.h:33
EventSlot::eventContext
EventContext * eventContext
Cache for the eventContext.
Definition: EventSlot.h:28
EventSlot::controlFlowState
std::vector< int > controlFlowState
State of the control flow.
Definition: EventSlot.h:37
EventSlot::complete
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;
27 controlFlowState.assign( controlFlowState.size(), -1 );
28 };
EventSlot::algsStates
AlgsExecutionStates algsStates
Vector of algorithms states.
Definition: EventSlot.h:33
EventSlot::eventContext
EventContext * eventContext
Cache for the eventContext.
Definition: EventSlot.h:28
EventSlot::controlFlowState
std::vector< int > controlFlowState
State of the control flow.
Definition: EventSlot.h:37
EventSlot::complete
bool complete
Flags completion of the event.
Definition: EventSlot.h:35
std::vector::size
T size(T...args)
std::vector::assign
T assign(T...args)
AlgsExecutionStates::reset
void reset()
Definition: AlgsExecutionStates.h:51

## 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:

- GaudiHive/src/EventSlot.h