ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthLinksSA
AthLinks
A/AthLinks/DataLinkBase.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
/*
3
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
4
*/
5
#ifndef ATHLINKS_DATALINKBASE_H
6
#define ATHLINKS_DATALINKBASE_H
7
8
// System include(s):
9
extern
"C"
{
10
# include <stdint.h>
11
}
12
26
class
DataLinkBase
{
27
28
public
:
30
DataLinkBase
( uint32_t
key
= 0 );
32
virtual
~DataLinkBase
() {}
33
35
uint32_t
persKey
()
const
;
37
void
setPersKey
( uint32_t
key
);
38
40
bool
isDefault
()
const
;
41
43
void
clear
();
44
46
virtual
bool
toTransient
() = 0;
47
48
protected
:
50
uint32_t
m_persKey
;
51
60
bool
m_isDirectIO
;
61
62
};
// class DataLinkBase
63
64
#endif
// ATHLINKS_DATALINKBASE_H
DataLinkBase
Type-independent part of DataLink; holds the persistent state.
Definition
AthLinks/DataLinkBase.h:39
DataLinkBase::isDefault
bool isDefault() const
Test if the link is in the default state.
DataLinkBase::clear
void clear()
Clear the link (make it null).
DataLinkBase::toTransient
virtual bool toTransient()=0
Reset the object's internal cache.
DataLinkBase::DataLinkBase
DataLinkBase()
Default constructor.
DataLinkBase::~DataLinkBase
virtual ~DataLinkBase()
Destructor.
Definition
A/AthLinks/DataLinkBase.h:32
DataLinkBase::m_persKey
sgkey_t m_persKey
The hashed key for this link.
Definition
AthLinks/DataLinkBase.h:343
DataLinkBase::m_isDirectIO
bool m_isDirectIO
A transient variable signalling when direct I/O is happening.
Definition
A/AthLinks/DataLinkBase.h:60
DataLinkBase::key
sgkey_t key() const
Return the SG key that we reference, as a hash.
DataLinkBase::persKey
uint32_t persKey() const
Get the key/identifier of the referenced container.
Definition
DataLinkBase.cxx:13
DataLinkBase::setPersKey
void setPersKey(uint32_t key)
Set the key/identifier of the referenced container.
Definition
DataLinkBase.cxx:18
Generated on
for ATLAS Offline Software by
1.17.0