ATLAS Offline Software
Public Member Functions | List of all members
Athena_test::DummyRCUSvc Class Reference

#include <DummyRCUSvc.h>

Inheritance diagram for Athena_test::DummyRCUSvc:
Collaboration diagram for Athena_test::DummyRCUSvc:

Public Member Functions

virtual StatusCode remove (Athena::IRCUObject *) override
 Remove an object from the service. More...
 
virtual size_t getNumSlots () const override
 Return the number of event slots. More...
 
virtual void add (Athena::IRCUObject *) override
 Add a new RCU object to the set being managed. More...
 
virtual unsigned long addRef () override
 
virtual unsigned long release () override
 
virtual StatusCode queryInterface (const InterfaceID &, void **) override
 
 DeclareInterfaceID (IRCUSvc, 1, 0)
 
template<class T , typename... Args>
std::unique_ptr< RCUObject< T > > newrcu (Args &&... args)
 Make a new RCU object. More...
 

Detailed Description

Definition at line 24 of file DummyRCUSvc.h.

Member Function Documentation

◆ add()

virtual void Athena_test::DummyRCUSvc::add ( Athena::IRCUObject obj)
inlineoverridevirtual

Add a new RCU object to the set being managed.

Parameters
objThe object to add.

Implements Athena::IRCUSvc.

Definition at line 33 of file DummyRCUSvc.h.

34  { }

◆ addRef()

virtual unsigned long Athena_test::DummyRCUSvc::addRef ( )
inlineoverridevirtual

Definition at line 36 of file DummyRCUSvc.h.

36 { std::abort(); }

◆ DeclareInterfaceID()

Athena::IRCUSvc::DeclareInterfaceID ( IRCUSvc  ,
,
 
)
inherited

◆ getNumSlots()

virtual size_t Athena_test::DummyRCUSvc::getNumSlots ( ) const
inlineoverridevirtual

Return the number of event slots.

Implements Athena::IRCUSvc.

Definition at line 32 of file DummyRCUSvc.h.

32 { return 1; }

◆ newrcu()

template<class T , typename... Args>
std::unique_ptr<RCUObject<T> > Athena::IRCUSvc::newrcu ( Args &&...  args)
inlineinherited

Make a new RCU object.

Parameters
args...Arguments to pass to the T constructor.

The object will be registered with the service.

Definition at line 52 of file IRCUSvc.h.

53  {
54  return std::make_unique<RCUObject<T> > (*this, std::forward<Args>(args)...);
55  }

◆ queryInterface()

virtual StatusCode Athena_test::DummyRCUSvc::queryInterface ( const InterfaceID &  ,
void **   
)
inlineoverridevirtual

Definition at line 38 of file DummyRCUSvc.h.

38 { std::abort(); }

◆ release()

virtual unsigned long Athena_test::DummyRCUSvc::release ( )
inlineoverridevirtual

Definition at line 37 of file DummyRCUSvc.h.

37 { std::abort(); }

◆ remove()

virtual StatusCode Athena_test::DummyRCUSvc::remove ( Athena::IRCUObject obj)
inlineoverridevirtual

Remove an object from the service.

Parameters
objThe object to remove.

Implements Athena::IRCUSvc.

Definition at line 28 of file DummyRCUSvc.h.

29  {
30  return StatusCode::SUCCESS;
31  }

The documentation for this class was generated from the following file:
python.CaloScaleNoiseConfig.args
args
Definition: CaloScaleNoiseConfig.py:80