| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 {
19 public:
21 DeclareInterfaceID( IHiveWhiteBoard, 2, 0 );
22
29 virtual StatusCode selectStore( size_t partitionIndex ) = 0;
30
36 virtual StatusCode clearStore( size_t partitionIndex ) = 0;
37
43 virtual StatusCode setNumberOfStores( size_t slots ) = 0;
44
49 virtual size_t getNumberOfStores() const = 0;
50
55 virtual void addNewDataObjects( DataObjIDColl& products ) = 0;
56
61 virtual DataObjIDColl getNewDataObjects() = 0;
62
69 virtual bool exists( const DataObjID& ) = 0;
70
76 virtual size_t allocateStore( int evtnumber ) = 0;
77
83 virtual StatusCode freeStore( size_t partitionIndex ) = 0;
84
90 virtual size_t getPartitionNumber( int eventnumber ) const = 0;
91
93 virtual unsigned int freeSlots() = 0;
94 };
95 #endif // GAUDIKERNEL_IHIVEWHITEBOARD_H
DataObjID
Definition: DataObjID.h:37
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
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
extend_interfaces
Base class to be used to extend an interface.
Definition: extend_interfaces.h:11
std::unordered_set< DataObjID, DataObjID_Hasher >
IHiveWhiteBoard
Definition: IHiveWhiteBoard.h:17
DataObjID.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
IInterface.h