ATLAS Offline Software
Loading...
Searching...
No Matches
SGTools/SGTools/CurrentEventStore.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/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id$
14
15
16#ifndef SGTOOLS_CURRENTEVENTSTORE_H
17#define SGTOOLS_CURRENTEVENTSTORE_H
18
19class IProxyDict;
20
21
22namespace SG {
23
24
25
36class CurrentEventStore
37{
38public:
40 static IProxyDict* store();
41
42
44 static IProxyDict* storeOol();
45
46
49 static IProxyDict* setStore (IProxyDict* store);
50
51
57 class Push
58 {
59 public:
60 Push (IProxyDict* store);
62
63 private:
65 };
66
67
68private:
70 static thread_local IProxyDict* m_curStore;
71};
72
73
74} // namespace SG
75
76
78
79
80#endif // not SGTOOLS_CURRENTEVENTSTORE_H
Push(IProxyDict *store)
TestStore store
Definition TestStore.cxx:23
Forward declaration.
void setStore(const SG::IConstAuxStore *store)
Set the store associated with this object.
static IProxyDict * m_curStore
The current event store.