| The Gaudi Framework v32r1 (f65d50dc)

IHiveWhiteBoard.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_IHIVEWHITEBOARD_H
2 #define GAUDIKERNEL_IHIVEWHITEBOARD_H
3
4 // Framework include files
5 #include "GaudiKernel/DataObjID.h"
6 #include "GaudiKernel/IInterface.h"
7
8 // C++ include files
9 #include <string>
10
17 class GAUDI_API IHiveWhiteBoard : public extend_interfaces<IInterface> {
18 public:
20 DeclareInterfaceID( IHiveWhiteBoard, 2, 0 );
21
28 virtual StatusCode selectStore( size_t partitionIndex ) = 0;
29
35 virtual StatusCode clearStore( size_t partitionIndex ) = 0;
36
42 virtual StatusCode setNumberOfStores( size_t slots ) = 0;
43
48 virtual size_t getNumberOfStores() const = 0;
49
56 virtual bool exists( const DataObjID& ) = 0;
57
63 virtual size_t allocateStore( int evtnumber ) = 0;
64
70 virtual StatusCode freeStore( size_t partitionIndex ) = 0;
71
77 virtual size_t getPartitionNumber( int eventnumber ) const = 0;
78
80 virtual size_t freeSlots() = 0;
81 };
82 #endif // GAUDIKERNEL_IHIVEWHITEBOARD_H
DataObjID
Definition: DataObjID.h:37
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
extend_interfaces
Base class to be used to extend an interface.
Definition: extend_interfaces.h:5
IHiveWhiteBoard
Definition: IHiveWhiteBoard.h:17
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:13
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71
IInterface.h