ATLAS Offline Software
Loading...
Searching...
No Matches
MdtCsmContByteStreamCnv.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONBYTESTREAM_MDTCSMCONTRAWEVENTCNV_H
6#define MUONBYTESTREAM_MDTCSMCONTRAWEVENTCNV_H
7
8#include <string>
9
12#include "GaudiKernel/ToolHandle.h"
14
16public:
17 MdtCsmContByteStreamCnv(ISvcLocator* svcloc);
18
19 virtual StatusCode initialize() override;
20 virtual StatusCode createObjConst(IOpaqueAddress* , DataObject*& ) const override { return StatusCode::FAILURE; }
21 virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
22
24 virtual long repSvcType() const override { return i_repSvcType(); }
25 static long storageType();
26 static const CLID& classID();
27
28private:
29 ToolHandle<Muon::IMDT_RDOtoByteStreamTool> m_tool;
30};
31#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)
MdtCsmContByteStreamCnv(ISvcLocator *svcloc)
virtual StatusCode createObjConst(IOpaqueAddress *, DataObject *&) const override
Create the transient representation of an object.
virtual StatusCode initialize() override
virtual long repSvcType() const override
Storage type and class ID.
ToolHandle< Muon::IMDT_RDOtoByteStreamTool > m_tool
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.