ATLAS Offline Software
TrigSerializeCnvSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGSERIALIZECONVERSIONSVC_H
6 #define TRIGSERIALIZECONVERSIONSVC_H
7 
8 #include "GaudiKernel/IService.h"
9 #include "GaudiKernel/ConversionSvc.h"
11 
12 template <class TYPE> class SvcFactory;
13 
14 
15 class TrigSerializeCnvSvc : public ConversionSvc {
16 public:
17  static long int storageType() { return TrigStreamAddress::storageType(); }
18  virtual long int repSvcType() const override { return storageType(); }
19 
20  virtual StatusCode initialize() override;
21 
22  TrigSerializeCnvSvc(const std::string &name, ISvcLocator* svc) :
23  ConversionSvc(name,svc,storageType()) {}
24 };
25 
26 
27 #endif //
TrigStreamAddress::storageType
static constexpr long storageType()
Definition: TrigStreamAddress.h:34
TrigSerializeCnvSvc::repSvcType
virtual long int repSvcType() const override
Definition: TrigSerializeCnvSvc.h:18
SvcFactory
Definition: AthCnvSvc.h:28
TrigSerializeCnvSvc::initialize
virtual StatusCode initialize() override
Definition: TrigSerializeCnvSvc.cxx:10
TrigStreamAddress.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrigSerializeCnvSvc::TrigSerializeCnvSvc
TrigSerializeCnvSvc(const std::string &name, ISvcLocator *svc)
Definition: TrigSerializeCnvSvc.h:22
TrigSerializeCnvSvc::storageType
static long int storageType()
Definition: TrigSerializeCnvSvc.h:17
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrigSerializeCnvSvc
Definition: TrigSerializeCnvSvc.h:15