The Gaudi Framework  v30r3 (a5ef0a68)
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 : public extend_interfaces<IInterface>
18 {
19 public:
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 size_t freeSlots() = 0;
94 };
95 #endif // GAUDIKERNEL_IHIVEWHITEBOARD_H
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
#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
Base class to be used to extend an interface.
#define GAUDI_API
Definition: Kernel.h:104