Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
test
Framework
Services
Optional
MyServiceUsingIface_service.cc
Go to the documentation of this file.
1
#include "
MyService.h
"
2
#include "
art/Framework/Services/Registry/ServiceDefinitionMacros.h
"
3
#include "
art/Framework/Services/Registry/ServiceHandle.h
"
4
5
namespace
arttest
{
6
class
ServiceUsingIface;
7
}
8
9
using
art::test::MyService
;
10
11
class
arttest::ServiceUsingIface
{
12
public
:
13
ServiceUsingIface
(
fhicl::ParameterSet
const
&);
14
};
15
16
arttest::ServiceUsingIface::ServiceUsingIface
(
fhicl::ParameterSet
const
&)
17
{
18
art::ServiceHandle<MyService>
h
[[maybe_unused]];
19
}
20
21
// The DECLARE macro call should be moved to the header file, should you
22
// create one.
23
DECLARE_ART_SERVICE
(
arttest::ServiceUsingIface
, LEGACY)
24
DEFINE_ART_SERVICE
(
arttest::ServiceUsingIface
)
art::ServiceHandle
Definition:
ServiceHandle.h:37
MyService.h
ServiceHandle.h
reco_momentum_tuples.h
h
Definition:
reco_momentum_tuples.py:66
DECLARE_ART_SERVICE
#define DECLARE_ART_SERVICE(svc, scope)
Definition:
ServiceDeclarationMacros.h:77
arttest
Definition:
GroupSelector_t.h:4
DEFINE_ART_SERVICE
#define DEFINE_ART_SERVICE(svc)
Definition:
ServiceDefinitionMacros.h:36
ServiceDefinitionMacros.h
MyService
MyServiceTemplate< MyProvider > MyService
Definition:
ServiceUtil_test.cc:55
arttest::ServiceUsingIface::ServiceUsingIface
ServiceUsingIface(fhicl::ParameterSet const &)
Definition:
MyServiceUsingIface_service.cc:16
arttest::ServiceUsingIface
Definition:
MyServiceUsingIface_service.cc:11
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11