IHiveWhiteBoard.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_IHIVEWHITEBOARD_H
2 #define GAUDIKERNEL_IHIVEWHITEBOARD_H
3 
4 // Framework include files
7 
8 // C++ include files
9 #include <string>
10 
17 class GAUDI_API IHiveWhiteBoard: virtual public IInterface {
18 public:
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 
55  virtual StatusCode getNewDataObjects(DataObjIDColl& products) = 0;
56 
62  virtual bool newDataObjectsPresent() = 0;
63 
70  virtual size_t allocateStore( int evtnumber ) = 0;
71 
77  virtual StatusCode freeStore( size_t partitionIndex ) = 0;
78 
79 
85  virtual size_t getPartitionNumber(int eventnumber) const = 0;
86 
87 };
88 #endif // GAUDIKERNEL_IHIVEWHITEBOARD_H
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:14
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
Definition of the basic interface.
Definition: IInterface.h:234
#define GAUDI_API
Definition: Kernel.h:107