Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas
athena
Merge requests
!74875
PerfMon: migrate to auto-declaring interfaces
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
PerfMon: migrate to auto-declaring interfaces
fwinkl/athena:perfmon_qi
into
main
Overview
3
Commits
1
Pipelines
1
Changes
15
Merged
Frank Winklmeier
requested to merge
fwinkl/athena:perfmon_qi
into
main
6 months ago
Overview
3
Commits
1
Pipelines
1
Changes
15
Expand
Remove hand-written
queryInterface
.
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
5111efaf
1 commit,
6 months ago
15 files
+
49
−
231
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
15
Search (e.g. *.vue) (Ctrl+P)
Control/PerformanceMonitoring/PerfMonComps/src/CallGraphBuilderSvc.cxx
+
3
−
22
Options
///////////////////////// -*- C++ -*- /////////////////////////////
/*
Copyright (C) 2002-202
2
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-202
4
CERN for the benefit of the ATLAS collaboration
*/
// CallGraphBuilderSvc.cxx
@@ -38,7 +38,7 @@ NodeId_t CallGraphBuilderSvc::m_uuid = 0;
////////////////
CallGraphBuilderSvc
::
CallGraphBuilderSvc
(
const
std
::
string
&
name
,
ISvcLocator
*
pSvcLocator
)
:
AthService
(
name
,
pSvcLocator
)
base_class
(
name
,
pSvcLocator
)
{
//
// Property declaration
@@ -91,26 +91,7 @@ StatusCode CallGraphBuilderSvc::finalize()
return
StatusCode
::
SUCCESS
;
}
// Query the interfaces.
// Input: riid, Requested interface ID
// ppvInterface, Pointer to requested interface
// Return: StatusCode indicating SUCCESS or FAILURE.
// N.B. Don't forget to release the interface after use!!!
StatusCode
CallGraphBuilderSvc
::
queryInterface
(
const
InterfaceID
&
riid
,
void
**
ppvInterface
)
{
if
(
ICallGraphBuilderSvc
::
interfaceID
().
versionMatch
(
riid
)
)
{
*
ppvInterface
=
dynamic_cast
<
ICallGraphBuilderSvc
*>
(
this
);
}
else
{
// Interface is not directly available : try out a base class
return
AthService
::
queryInterface
(
riid
,
ppvInterface
);
}
addRef
();
return
StatusCode
::
SUCCESS
;
}
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
// Non-const methods:
///////////////////////////////////////////////////////////////////
Loading