ATLAS Offline Software
Event
EventContainers
EventContainers
IDC_WriteHandleBase.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#ifndef IDC_WRITEHANDLEBASE_H
7
#define IDC_WRITEHANDLEBASE_H
8
#include <atomic>
9
10
namespace
EventContainers
{
11
12
13
class
IDC_WriteHandleBase
{
14
protected
:
15
std::atomic<const void*>*
m_atomic
;
16
17
IDC_WriteHandleBase
() :
m_atomic
(nullptr)
18
{ }
19
public
:
20
21
void
LockOn
(std::atomic<const void*>* in) noexcept {
22
m_atomic
= in;
23
}
24
void
DropLock
() noexcept;
25
void
ReleaseLock
();
26
27
~
IDC_WriteHandleBase
();
28
};
29
30
}
31
#endif
32
EventContainers::IDC_WriteHandleBase::LockOn
void LockOn(std::atomic< const void * > *in) noexcept
Definition:
IDC_WriteHandleBase.h:21
EventContainers::IDC_WriteHandleBase::IDC_WriteHandleBase
IDC_WriteHandleBase()
Definition:
IDC_WriteHandleBase.h:17
EventContainers::IDC_WriteHandleBase::DropLock
void DropLock() noexcept
Definition:
IDC_WriteHandleBase.cxx:36
EventContainers
Definition:
T_AthenaPoolCreateFuncs.h:33
EventContainers::IDC_WriteHandleBase::m_atomic
std::atomic< const void * > * m_atomic
Definition:
IDC_WriteHandleBase.h:15
EventContainers::IDC_WriteHandleBase::ReleaseLock
void ReleaseLock()
Definition:
IDC_WriteHandleBase.cxx:17
EventContainers::IDC_WriteHandleBase
Definition:
IDC_WriteHandleBase.h:13
Generated on Sat Dec 21 2024 21:11:23 for ATLAS Offline Software by
1.8.18