ATLAS Offline Software
Loading...
Searching...
No Matches
RodHeaderByteStreamCnv.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 TRIGT1CALOBYTESTREAM_RODHEADERBYTESTREAMCNV_H
6#define TRIGT1CALOBYTESTREAM_RODHEADERBYTESTREAMCNV_H
7
8#include <string>
9
11#include "GaudiKernel/ClassID.h"
12#include "GaudiKernel/ServiceHandle.h"
13#include "GaudiKernel/ToolHandle.h"
14
15class DataObject;
16class IOpaqueAddress;
17class ISvcLocator;
18class StatusCode;
19
20template <typename> class CnvFactory;
21
22
23namespace LVL1BS {
24
26
31
33
34public:
35 RodHeaderByteStreamCnv(ISvcLocator* svcloc);
36
38
39 virtual StatusCode initialize() override;
41 virtual StatusCode createObjConst (IOpaqueAddress* pAddr, DataObject*& pObj) const override;
42
43 // Storage type and class ID
44 virtual long repSvcType() const override { return i_repSvcType(); }
45 static long storageType();
46 static const CLID& classID();
47
48private:
50 ToolHandle<LVL1BS::RodHeaderByteStreamTool> m_tool;
51};
52
53} // end namespace
54
55#endif
Gaudi converter base class with const interfaces.
uint32_t CLID
The Class ID type.
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
Abstract factory to create the converter.
virtual long repSvcType() const override
ToolHandle< LVL1BS::RodHeaderByteStreamTool > m_tool
Tool that does the actual work.
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create RodHeaders from ByteStream.
virtual StatusCode initialize() override
Tool to perform ROB fragments to ROD Header conversions.