ATLAS Offline Software
|
Interface for RCU service. More...
#include <IRCUSvc.h>
Public Member Functions | |
DeclareInterfaceID (IRCUSvc, 1, 0) | |
template<class T , typename... Args> | |
std::unique_ptr< RCUObject< T > > | newrcu (Args &&... args) |
Make a new RCU object. More... | |
virtual void | add (IRCUObject *obj)=0 |
Add a new RCU object to the set being managed. More... | |
virtual StatusCode | remove (IRCUObject *obj)=0 |
Remove an object from the service. More... | |
virtual size_t | getNumSlots () const =0 |
Return the number of event slots. More... | |
Interface for RCU service.
See RCUObject.h for details of the RCU facility.
The RCU service allows creating new RCU objects and registering them with the service, and also allows removing them from the service. The service will declare all registered RCU objects as quiescent at the end of an event.
|
pure virtual |
Add a new RCU object to the set being managed.
obj | The object to add. |
Athena::IRCUSvc::DeclareInterfaceID | ( | IRCUSvc | , |
1 | , | ||
0 | |||
) |
|
pure virtual |
Return the number of event slots.
|
pure virtual |
Remove an object from the service.
obj | The object to remove. |