Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
test
Framework
Services
Optional
MySharedService_service.cc
Go to the documentation of this file.
1
// ======================================================================
2
//
3
// MyService
4
//
5
// ======================================================================
6
7
#include "
MyServiceInterface.h
"
8
#include "
art/Framework/Services/Registry/ServiceDefinitionMacros.h
"
9
10
namespace
{
11
class
MySharedService :
public
art::test::MyServiceInterface
{
12
public
:
13
explicit
MySharedService(
fhicl::ParameterSet
const
&) noexcept {}
14
};
15
}
16
17
DECLARE_ART_SERVICE_INTERFACE_IMPL
(MySharedService,
18
art::test::MyServiceInterface
,
19
SHARED)
20
DEFINE_ART_SERVICE_INTERFACE_IMPL
(MySharedService,
21
art
::
test
::MyServiceInterface)
DECLARE_ART_SERVICE_INTERFACE_IMPL
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
test
Definition:
PandoraAnalysis_module.cc:49
MyServiceInterface.h
ServiceDefinitionMacros.h
art
Definition:
BasicOptionsHandler.h:9
art::test::MyServiceInterface
Definition:
MyServiceInterface.h:9
fhicl::ParameterSet
Definition:
ParameterSet.h:36
DEFINE_ART_SERVICE_INTERFACE_IMPL
#define DEFINE_ART_SERVICE_INTERFACE_IMPL(svc, iface)
Definition:
ServiceDefinitionMacros.h:42
Generated by
1.8.11