ATLAS Offline Software
Loading...
Searching...
No Matches
RoIBResultByteStreamCnv.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 TRIGT1RESULTBYTESTREAM_ROIBRESULTBYTESTREAMCNV_H
6#define TRIGT1RESULTBYTESTREAM_ROIBRESULTBYTESTREAMCNV_H
7
8// Local includes
10
11// Athena includes
15
16// Gaudi includes
17#include "GaudiKernel/Converter.h"
18#include "GaudiKernel/ServiceHandle.h"
19#include "GaudiKernel/ToolHandle.h"
20
36template< class ROBF >
38
39public:
41 RoIBResultByteStreamCnv( ISvcLocator* svcloc );
43 virtual StatusCode initialize();
45 virtual StatusCode createObj( IOpaqueAddress* pAddr, DataObject*& pObj );
47 virtual StatusCode createRep( DataObject* pObj, IOpaqueAddress*& pAddr );
48
50 virtual long repSvcType() const { return i_repSvcType(); }
52 static long storageType();
54 static const CLID& classID();
55
56private:
58 ToolHandle< RoIBResultByteStreamTool > m_tool;
64 bool m_isMT{false};
65
66}; // class RoIBResultByteStreamCnv
67
68// Include the implementation:
70
71#endif // TRIGT1RESULTBYTESTREAM_ROIBRESULTBYTESTREAMCNV_H
uint32_t CLID
The Class ID type.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
ServiceHandle< IByteStreamEventAccess > m_ByteStreamCnvSvc
Service used when writing the BS data.
ServiceHandle< IROBDataProviderSvc > m_robDataProviderSvc
Service used when reading the BS data.
ToolHandle< RoIBResultByteStreamTool > m_tool
Tool doing the actual conversion.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Function creating the multiple ROB fragments from the RoIBResult object.
static long storageType()
Function needed by the framework.
static const CLID & classID()
Function needed by the framework.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Function creating the RoIBResult object from the multiple ROB fragments.
bool m_isMT
Flag if running in athenaMT to prevent calling deprecated methods.
virtual long repSvcType() const
Function needed by the framework.
RoIBResultByteStreamCnv(ISvcLocator *svcloc)
Standard constructor.
virtual StatusCode initialize()
Function connecting to all the needed services/tools.