The Gaudi Framework
master (37c0b60a)
|
Class representing an event slot. More...
#include </builds/gaudi/Gaudi/GaudiHive/src/EventSlot.h>
Public Member Functions | |
EventSlot (unsigned int numberOfAlgorithms, unsigned int numberOfControlFlowNodes, SmartIF< IMessageSvc > MS) | |
Construct a slot. More... | |
EventSlot (const EventSlot &)=delete | |
Copy constructor. More... | |
EventSlot & | operator= (const EventSlot &)=delete |
Assignment operator. More... | |
EventSlot (EventSlot &&)=default | |
Move constructor. More... | |
EventSlot & | operator= (EventSlot &&)=default |
Move assignment. More... | |
EventSlot (EventSlot &original, std::unique_ptr< EventContext > theeventContext, const std::string &nodeName) | |
Construct a (sub)slot, nested to 'original' parent slot, with CF states copied from the parent. More... | |
void | reset (EventContext *theeventContext) |
Reset all resources in order to reuse the slot (thread-unsafe) More... | |
void | addSubSlot (std::unique_ptr< EventContext > viewContext, const std::string &nodeName) |
Add a subslot to the slot (this constructs a new slot and registers it with the parent one) More... | |
void | disableSubSlots (const std::string &nodeName) |
Disable event views for a given CF view node by registering an empty container Contact B. More... | |
Public Attributes | |
std::unique_ptr< EventContext > | eventContext |
Cache for the eventContext. More... | |
AlgsExecutionStates | algsStates |
Vector of algorithms states. More... | |
std::vector< int > | controlFlowState |
State of the control flow. More... | |
bool | complete = false |
Flags completion of the event. More... | |
std::string | entryPoint |
Event Views bookkeeping (TODO: optimize view bookkeeping) More... | |
EventSlot * | parentSlot = nullptr |
Pointer to parent slot (null for top level) More... | |
std::unordered_map< std::string, std::vector< unsigned int > > | subSlotsByNode |
Listing of sub-slots by the node (name) they are attached to. More... | |
std::vector< EventSlot > | allSubSlots |
Actual sub-slot instances. More... | |
Class representing an event slot.
Definition at line 24 of file EventSlot.h.
|
inline |
|
delete |
Copy constructor.
|
default |
Move constructor.
|
inline |
Construct a (sub)slot, nested to 'original' parent slot, with CF states copied from the parent.
Definition at line 39 of file EventSlot.h.
|
inline |
Add a subslot to the slot (this constructs a new slot and registers it with the parent one)
Definition at line 61 of file EventSlot.h.
|
inline |
Disable event views for a given CF view node by registering an empty container Contact B.
W. Wynne for more details on the reasoning about this design choice
Definition at line 78 of file EventSlot.h.
|
inline |
Reset all resources in order to reuse the slot (thread-unsafe)
Definition at line 49 of file EventSlot.h.
AlgsExecutionStates EventSlot::algsStates |
Vector of algorithms states.
Definition at line 85 of file EventSlot.h.
std::vector<EventSlot> EventSlot::allSubSlots |
Actual sub-slot instances.
Definition at line 100 of file EventSlot.h.
bool EventSlot::complete = false |
Flags completion of the event.
Definition at line 89 of file EventSlot.h.
std::vector<int> EventSlot::controlFlowState |
State of the control flow.
Definition at line 87 of file EventSlot.h.
std::string EventSlot::entryPoint |
Event Views bookkeeping (TODO: optimize view bookkeeping)
Name of the node this slot is attached to ("" for top level)
Definition at line 94 of file EventSlot.h.
std::unique_ptr<EventContext> EventSlot::eventContext |
Cache for the eventContext.
Definition at line 83 of file EventSlot.h.
EventSlot* EventSlot::parentSlot = nullptr |
Pointer to parent slot (null for top level)
Definition at line 96 of file EventSlot.h.
std::unordered_map<std::string, std::vector<unsigned int> > EventSlot::subSlotsByNode |
Listing of sub-slots by the node (name) they are attached to.
Definition at line 98 of file EventSlot.h.