The Gaudi Framework
v28r1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ThreadLocalContext.h
Go to the documentation of this file.
1
#ifndef GAUDIKERNEL_THREADLOCALCONTEXT_H
2
#define GAUDIKERNEL_THREADLOCALCONTEXT_H 1
3
4
#include <cstddef>
5
6
#include "
GaudiKernel/Kernel.h
"
7
8
class
EventContext
;
9
10
namespace
Gaudi
{
11
namespace
Hive
{
13
typedef
std::size_t
ContextIdType
;
14
18
GAUDI_API
ContextIdType
currentContextId
();
19
GAUDI_API
ContextIdType
currentContextEvt
();
20
GAUDI_API
const
EventContext
&
currentContext
();
21
23
GAUDI_API
void
setCurrentContextId
(ContextIdType newId);
24
GAUDI_API
void
setCurrentContextEvt
(
long
int
evtN);
25
GAUDI_API
void
setCurrentContextId
(ContextIdType newId,
long
int
evtN);
26
GAUDI_API
void
setCurrentContextId
(
const
EventContext
* ctx);
27
GAUDI_API
void
setCurrentContext
(
const
EventContext
* ctx);
28
GAUDI_API
void
setCurrentContext
(
const
EventContext
& ctx);
29
30
}
31
}
32
33
#endif
Gaudi::Hive::ContextIdType
std::size_t ContextIdType
Internal type used for the ContextId.
Definition:
ThreadLocalContext.h:13
Gaudi::Hive::currentContextId
GAUDI_API ContextIdType currentContextId()
Return the current context id.
Definition:
ThreadLocalContext.cpp:18
Kernel.h
Gaudi::Hive::setCurrentContextId
GAUDI_API void setCurrentContextId(ContextIdType newId)
Used by the framework to change the value of the current context id.
Definition:
ThreadLocalContext.cpp:31
std::size_t
EventContext
This class represents an entry point to all the event specific data.
Definition:
EventContext.h:25
Gaudi::Hive::currentContext
GAUDI_API const EventContext & currentContext()
Definition:
ThreadLocalContext.cpp:24
Gaudi::Hive::setCurrentContext
GAUDI_API void setCurrentContext(const EventContext *ctx)
Definition:
ThreadLocalContext.cpp:45
Gaudi::Hive::currentContextEvt
GAUDI_API ContextIdType currentContextEvt()
Definition:
ThreadLocalContext.cpp:21
Hive
Definition:
HiveEventRegistryEntry.h:24
Gaudi::Hive::setCurrentContextEvt
GAUDI_API void setCurrentContextEvt(long int evtN)
Definition:
ThreadLocalContext.cpp:28
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:107
Gaudi
Helper functions to set/get the application return code.
Definition:
__init__.py:1
GaudiKernel
GaudiKernel
ThreadLocalContext.h
Generated on Tue Feb 14 2017 13:19:51 for The Gaudi Framework by
1.8.11