Warning, file /include/GaudiKernel/ThreadLocalContext.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef GAUDIKERNEL_THREADLOCALCONTEXT_H
0012 #define GAUDIKERNEL_THREADLOCALCONTEXT_H 1
0013
0014 #include <cstddef>
0015
0016 #include <GaudiKernel/Kernel.h>
0017
0018 class EventContext;
0019
0020 namespace Gaudi {
0021 namespace Hive {
0022
0023 typedef std::size_t ContextIdType;
0024
0025
0026
0027
0028 GAUDI_API ContextIdType currentContextId();
0029 GAUDI_API ContextIdType currentContextEvt();
0030 GAUDI_API const EventContext& currentContext();
0031
0032
0033 GAUDI_API void setCurrentContextId( ContextIdType newId );
0034 GAUDI_API void setCurrentContextEvt( long int evtN );
0035 GAUDI_API void setCurrentContextId( ContextIdType newId, long int evtN );
0036 GAUDI_API void setCurrentContextId( const EventContext* ctx );
0037 GAUDI_API void setCurrentContext( const EventContext* ctx );
0038 GAUDI_API void setCurrentContext( const EventContext& ctx );
0039 }
0040 }
0041
0042 #endif