Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gaudi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository 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
lhcb-nightlies
Gaudi
Commits
c813fb76
Commit
c813fb76
authored
3 years ago
by
Frank Winklmeier
Browse files
Options
Downloads
Patches
Plain Diff
Add private tool to SvcWithTool example
parent
82b26efb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GaudiExamples/src/AlgTools/MyServiceWithTool.cpp
+2
-1
2 additions, 1 deletion
GaudiExamples/src/AlgTools/MyServiceWithTool.cpp
with
2 additions
and
1 deletion
GaudiExamples/src/AlgTools/MyServiceWithTool.cpp
+
2
−
1
View file @
c813fb76
/***********************************************************************************\
* (c) Copyright 1998-201
9
CERN for the benefit of the LHCb and ATLAS collaborations *
* (c) Copyright 1998-20
2
1 CERN for the benefit of the LHCb and ATLAS collaborations *
* *
* This software is distributed under the terms of the Apache version 2 licence, *
* copied verbatim in the file "LICENSE". *
...
...
@@ -22,6 +22,7 @@ namespace GaudiTesting {
private:
PublicToolHandle
<
IMyTool
>
m_tool
{
this
,
"MyTool"
,
"MyTool"
};
ToolHandle
<
IMyTool
>
m_privTool
{
this
,
"MyPrivateTool"
,
""
};
};
DECLARE_COMPONENT
(
SvcWithTool
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment