The Gaudi Framework
master (37c0b60a)
Incident.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#define _inc_types_impl_
12
#include <
GaudiKernel/Incident.h
>
13
#include <
GaudiKernel/ThreadLocalContext.h
>
14
15
Incident::Incident
(
const
std::string
& source,
const
std::string
&
type
) : m_source( source ), m_type(
type
) {
16
m_ctx
=
Gaudi::Hive::currentContext
();
17
}
std::string
STL class.
Gaudi::Hive::currentContext
GAUDI_API const EventContext & currentContext()
Definition:
ThreadLocalContext.cpp:30
Incident::Incident
Incident(const std::string &source, const std::string &type)
Default Constructor.
Definition:
Incident.cpp:15
gaudirun.type
type
Definition:
gaudirun.py:160
ThreadLocalContext.h
Incident::m_ctx
EventContext m_ctx
Event Context when Incident created.
Definition:
Incident.h:65
Incident.h
GaudiKernel
src
Lib
Incident.cpp
Generated on Thu Dec 19 2024 15:35:03 for The Gaudi Framework by
1.8.18