ATLAS Offline Software
Loading...
Searching...
No Matches
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
18#include <cstdlib>
19
20
21namespace Athena_test {
22
23
25 : public implements<Athena::IRCUSvc>
26{
27public:
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
read-copy-update (RCU) style synchronization for Athena.
Base object class for RCU-style synchronization for Athena.
Definition RCUObject.h:147
virtual void add(Athena::IRCUObject *) override
Definition DummyRCUSvc.h:33
virtual StatusCode remove(Athena::IRCUObject *) override
Definition DummyRCUSvc.h:28
virtual size_t getNumSlots() const override
Definition DummyRCUSvc.h:32
functions & macros to test the difference between floats