![]() |
ATLAS Offline Software
|
#include <SGHiveMgrSvc.h>
Public Member Functions | |
| virtual StatusCode | selectStore (size_t slotIndex) override |
| Activate an given 'slot' for all subsequent calls within the same thread id. | |
| virtual StatusCode | clearStore (size_t slotIndex) override |
| Clear a given 'slot'. | |
| virtual StatusCode | setNumberOfStores (size_t slots) override |
| Set the number of 'slots'. | |
| virtual size_t | getNumberOfStores () const override |
| Get the number of 'slots'. | |
| virtual bool | exists (const DataObjID &) override |
| Check if a data object exists in store. | |
| virtual size_t | allocateStore (int evtnumber) override |
| Allocate a store slot for new event. | |
| virtual StatusCode | freeStore (size_t slotIndex) override |
| Free a store slot. | |
| virtual size_t | getPartitionNumber (int eventnumber) const override |
| Get the slot number corresponding to a given event. | |
| virtual size_t | freeSlots () override |
| Get free slots number. | |
| virtual StatusCode | initialize () override |
| virtual StatusCode | finalize () override |
| virtual StatusCode | start () override |
| HiveMgrSvc (const std::string &name, ISvcLocator *svc) | |
| Standard Service Constructor. sets active store to default event store. | |
| virtual | ~HiveMgrSvc () |
Static Private Member Functions | |
| static void | setNumProcs (size_t numProcs) |
| Set number of concurrent processes. | |
Private Attributes | |
| ServiceHandle< StoreGateSvc > | m_hiveStore |
| size_t | m_nSlots |
| std::vector< SG::HiveEventSlot > | m_slots |
| std::mutex | m_mutex |
| std::atomic< size_t > | m_freeSlots {0} |
Friends | |
| class | TestSGHiveMgrSvc |
| class | ::HltEventLoopMgr |
Definition at line 30 of file SGHiveMgrSvc.h.
| HiveMgrSvc::HiveMgrSvc | ( | const std::string & | name, |
| ISvcLocator * | svc ) |
Standard Service Constructor. sets active store to default event store.
Definition at line 17 of file SGHiveMgrSvc.cxx.
|
inlinevirtual |
Definition at line 106 of file SGHiveMgrSvc.h.
|
overridevirtual |
Allocate a store slot for new event.
| evtnumber | [IN] Event number |
| slot | [OUT] Returned slot or slot number |
Definition at line 98 of file SGHiveMgrSvc.cxx.
|
overridevirtual |
Clear a given 'slot'.
| slot | [IN] Slot number (event slot) * |
Definition at line 57 of file SGHiveMgrSvc.cxx.
|
overridevirtual |
Check if a data object exists in store.
TODO: remove the method ASA a cross-experiment event data store interface emerges
Definition at line 161 of file SGHiveMgrSvc.cxx.
|
overridevirtual |
Definition at line 220 of file SGHiveMgrSvc.cxx.
|
overridevirtual |
Get free slots number.
Definition at line 157 of file SGHiveMgrSvc.cxx.
|
overridevirtual |
Free a store slot.
| slot | [IN] Slot number |
Definition at line 125 of file SGHiveMgrSvc.cxx.
|
overridevirtual |
Get the number of 'slots'.
Definition at line 86 of file SGHiveMgrSvc.cxx.
|
overridevirtual |
Get the slot number corresponding to a given event.
| evtnumber | [IN] Event number |
| evtNumber | [IN] Event number |
Definition at line 149 of file SGHiveMgrSvc.cxx.
|
overridevirtual |
Definition at line 182 of file SGHiveMgrSvc.cxx.
|
overridevirtual |
Activate an given 'slot' for all subsequent calls within the same thread id.
| slot | [IN] Slot number (event slot) * |
Definition at line 46 of file SGHiveMgrSvc.cxx.
|
overridevirtual |
Set the number of 'slots'.
| slot | [IN] Slot number (event slot) * |
Definition at line 72 of file SGHiveMgrSvc.cxx.
|
staticprivate |
Set number of concurrent processes.
This can only be called by "friends" of this class. Its sole purpose is to have a common entry point within ATLAS to call the private methods of Gaudi::ConcurrencyFlags.
| numProcs | [IN] Number of concurrent processes |
Definition at line 35 of file SGHiveMgrSvc.cxx.
|
overridevirtual |
Definition at line 234 of file SGHiveMgrSvc.cxx.
|
friend |
Definition at line 32 of file SGHiveMgrSvc.h.
|
friend |
Definition at line 31 of file SGHiveMgrSvc.h.
|
private |
Definition at line 123 of file SGHiveMgrSvc.h.
|
private |
Definition at line 119 of file SGHiveMgrSvc.h.
|
mutableprivate |
Definition at line 122 of file SGHiveMgrSvc.h.
|
private |
Definition at line 120 of file SGHiveMgrSvc.h.
|
private |
Definition at line 121 of file SGHiveMgrSvc.h.