ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
*/
11
12
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
IRCUSvc.h
read-copy-update (RCU) style synchronization for Athena.
Athena::IRCUObject
Base object class for RCU-style synchronization for Athena.
Definition
RCUObject.h:147
Athena_test::DummyRCUSvc
Definition
DummyRCUSvc.h:26
Athena_test::DummyRCUSvc::add
virtual void add(Athena::IRCUObject *) override
Definition
DummyRCUSvc.h:33
Athena_test::DummyRCUSvc::remove
virtual StatusCode remove(Athena::IRCUObject *) override
Definition
DummyRCUSvc.h:28
Athena_test::DummyRCUSvc::getNumSlots
virtual size_t getNumSlots() const override
Definition
DummyRCUSvc.h:32
Athena_test
functions & macros to test the difference between floats
Definition
InitGaudiGoogleTest.h:30
Generated on
for ATLAS Offline Software by
1.17.0