The Gaudi Framework
master (ff829712)
Loading...
Searching...
No Matches
IHiveWhiteBoard.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <
GaudiKernel/DataObjID.h
>
14
#include <
GaudiKernel/IInterface.h
>
15
#include <string>
16
23
class
GAUDI_API
IHiveWhiteBoard
:
public
extend_interfaces
<IInterface> {
24
public
:
26
DeclareInterfaceID
(
IHiveWhiteBoard
, 2, 0 );
27
34
virtual
StatusCode
selectStore
(
size_t
partitionIndex ) = 0;
35
41
virtual
StatusCode
clearStore
(
size_t
partitionIndex ) = 0;
42
48
virtual
StatusCode
setNumberOfStores
(
size_t
slots ) = 0;
49
54
virtual
size_t
getNumberOfStores
()
const
= 0;
55
62
virtual
bool
exists
(
const
DataObjID
& ) = 0;
63
69
virtual
size_t
allocateStore
(
int
evtnumber ) = 0;
70
76
virtual
StatusCode
freeStore
(
size_t
partitionIndex ) = 0;
77
83
virtual
size_t
getPartitionNumber
(
int
eventnumber )
const
= 0;
84
86
virtual
size_t
freeSlots
() = 0;
87
};
DataObjID.h
IInterface.h
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
DataObjID
Definition
DataObjID.h:47
IHiveWhiteBoard
Definition
IHiveWhiteBoard.h:23
IHiveWhiteBoard::freeStore
virtual StatusCode freeStore(size_t partitionIndex)=0
Free a store partition.
IHiveWhiteBoard::setNumberOfStores
virtual StatusCode setNumberOfStores(size_t slots)=0
Set the number of 'slots'.
IHiveWhiteBoard::exists
virtual bool exists(const DataObjID &)=0
Check if a data object exists in store.
IHiveWhiteBoard::allocateStore
virtual size_t allocateStore(int evtnumber)=0
Allocate a store partition for new event.
IHiveWhiteBoard::freeSlots
virtual size_t freeSlots()=0
Get free slots number.
IHiveWhiteBoard::clearStore
virtual StatusCode clearStore(size_t partitionIndex)=0
Clear an given 'slot'.
IHiveWhiteBoard::getPartitionNumber
virtual size_t getPartitionNumber(int eventnumber) const =0
Get the partition number corresponding to a given event.
IHiveWhiteBoard::selectStore
virtual StatusCode selectStore(size_t partitionIndex)=0
Activate an given 'slot' for all subsequent calls within the same thread id.
IHiveWhiteBoard::getNumberOfStores
virtual size_t getNumberOfStores() const =0
Get the number of 'slots'.
IHiveWhiteBoard::DeclareInterfaceID
DeclareInterfaceID(IHiveWhiteBoard, 2, 0)
InterfaceID.
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
extend_interfaces
Base class to be used to extend an interface.
Definition
extend_interfaces.h:23
GaudiKernel
include
GaudiKernel
IHiveWhiteBoard.h
Generated on Fri Sep 26 2025 11:24:27 for The Gaudi Framework by
1.13.1