ATLAS Offline Software
Control
AthenaKernel
AthenaKernel
DummyRCUSvc.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
* Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
4
*/
13
#ifndef ATHENAKERNEL_DUMMYRCUSVC_H
14
#define ATHENAKERNEL_DUMMYRCUSVC_H
15
16
17
#include "
AthenaKernel/IRCUSvc.h
"
18
#include <cstdlib>
19
20
21
namespace
Athena_test
{
22
23
24
class
DummyRCUSvc
25
:
public
implements<Athena::IRCUSvc>
26
{
27
public
:
28
virtual
StatusCode
remove
(
Athena::IRCUObject
*
/*obj*/
)
override
29
{
30
return
StatusCode::SUCCESS;
31
}
32
virtual
size_t
getNumSlots
()
const override
{
return
1; }
33
virtual
void
add
(
Athena::IRCUObject
*
/*obj*/
)
override
34
{ }
35
};
36
37
38
}
// namespace Athena_test
39
40
41
#endif // not ATHENAKERNEL_DUMMYRCUSVC_H
Athena_test::DummyRCUSvc::add
virtual void add(Athena::IRCUObject *) override
Definition:
DummyRCUSvc.h:33
Athena_test::DummyRCUSvc::getNumSlots
virtual size_t getNumSlots() const override
Definition:
DummyRCUSvc.h:32
IRCUSvc.h
read-copy-update (RCU) style synchronization for Athena.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Athena_test
functions & macros to test the difference between floats
Definition:
InitGaudiGoogleTest.h:30
Athena_test::DummyRCUSvc
Definition:
DummyRCUSvc.h:26
Athena::IRCUObject
Base object class for RCU-style synchronization for Athena.
Definition:
RCUObject.h:146
Athena_test::DummyRCUSvc::remove
virtual StatusCode remove(Athena::IRCUObject *) override
Definition:
DummyRCUSvc.h:28
Generated on Thu Nov 7 2024 21:13:51 for ATLAS Offline Software by
1.8.18