| The Gaudi Framework v29r0 (ff2e7097)

- 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 : virtual public IInterface
18 {
19 public:
21 DeclareInterfaceID( IHiveWhiteBoard, 1, 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
56 virtual StatusCode getNewDataObjects( DataObjIDColl& products ) = 0;
57
63 virtual bool newDataObjectsPresent() = 0;
64
71 virtual size_t allocateStore( int evtnumber ) = 0;
72
78 virtual StatusCode freeStore( size_t partitionIndex ) = 0;
79
85 virtual size_t getPartitionNumber( int eventnumber ) const = 0;
86 };
87 #endif // GAUDIKERNEL_IHIVEWHITEBOARD_H
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
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
IInterface
Definition of the basic interface.
Definition: IInterface.h:277
std::unordered_set< DataObjID, DataObjID_Hasher >
IHiveWhiteBoard
Definition: IHiveWhiteBoard.h:17
DataObjID.h
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
IInterface.h