The Gaudi Framework
v33r1 (b1225454)
IHiveWhiteBoard.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 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
#ifndef GAUDIKERNEL_IHIVEWHITEBOARD_H
12
#define GAUDIKERNEL_IHIVEWHITEBOARD_H
13
14
// Framework include files
15
#include "
GaudiKernel/DataObjID.h
"
16
#include "
GaudiKernel/IInterface.h
"
17
18
// C++ include files
19
#include <string>
20
27
class
GAUDI_API
IHiveWhiteBoard
:
public
extend_interfaces
<IInterface> {
28
public
:
30
DeclareInterfaceID
(
IHiveWhiteBoard
, 2, 0 );
31
38
virtual
StatusCode
selectStore(
size_t
partitionIndex ) = 0;
39
45
virtual
StatusCode
clearStore(
size_t
partitionIndex ) = 0;
46
52
virtual
StatusCode
setNumberOfStores(
size_t
slots ) = 0;
53
58
virtual
size_t
getNumberOfStores()
const
= 0;
59
66
virtual
bool
exists(
const
DataObjID
& ) = 0;
67
73
virtual
size_t
allocateStore(
int
evtnumber ) = 0;
74
80
virtual
StatusCode
freeStore(
size_t
partitionIndex ) = 0;
81
87
virtual
size_t
getPartitionNumber(
int
eventnumber )
const
= 0;
88
90
virtual
size_t
freeSlots() = 0;
91
};
92
#endif // GAUDIKERNEL_IHIVEWHITEBOARD_H
DataObjID
Definition:
DataObjID.h:47
StatusCode
This class is used for returning status codes from appropriate routines.
Definition:
StatusCode.h:61
extend_interfaces
Base class to be used to extend an interface.
Definition:
extend_interfaces.h:15
IHiveWhiteBoard
Definition:
IHiveWhiteBoard.h:27
DataObjID.h
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition:
IInterface.h:23
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
IInterface.h
GaudiKernel
GaudiKernel
IHiveWhiteBoard.h
Generated on Mon Mar 23 2020 15:31:02 for The Gaudi Framework by
1.8.15