ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthToolSupport
AsgTools
Root
AsgComponent.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
//
8
// includes
9
//
10
11
#include <
AsgTools/AsgComponent.h
>
12
13
//
14
// method implementations
15
//
16
17
namespace
asg
18
{
19
AsgComponent ::
20
AsgComponent (
const
std::string& val_name)
21
:
AsgMessaging
(this)
22
,
m_name
(val_name)
23
, m_properties (
new
PropertyMgr)
24
{
25
msg
().declarePropertyFor (*
this
);
26
}
27
28
29
30
AsgComponent ::
31
~AsgComponent () noexcept
32
{
33
delete
m_properties;
34
}
35
36
37
38
void
AsgComponent ::
39
addCleanup (
const
std::shared_ptr<void>& cleanup)
40
{
41
m_cleanup.push_back (cleanup);
42
}
43
44
45
54
StatusCode
AsgComponent ::
55
setProperty (
const
std::string& name,
const
char
*value)
56
{
57
return
m_properties->setProperty (name, value);
58
}
59
60
61
62
PropertyMgr *AsgComponent ::
63
getPropertyMgr () noexcept
64
{
65
return
m_properties;
66
}
67
68
69
70
const
PropertyMgr *AsgComponent ::
71
getPropertyMgr()
const
noexcept
72
{
73
return
m_properties;
74
}
75
76
77
78
const
std::string& AsgComponent ::
79
name ()
const
80
{
81
return
m_name
;
82
}
83
}
AsgComponent.h
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition
AsgMessaging.h:40
const
CSV_InDetExporter.new
new
Definition
CSV_InDetExporter.py:145
CxxUtils::m_name
std::string m_name
The primary name part of this expression.
Definition
CxxUtils/CxxUtils/ClassName.h:486
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
asg
Definition
DataHandleTestTool.h:28
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0