ATLAS Offline Software
|
This is a tool that implements the IAthenaOutputStreamTool for copying ByteStream from input. More...
#include <ByteStreamOutputStreamCopyTool.h>
Public Member Functions | |
ByteStreamOutputStreamCopyTool (const std::string &type, const std::string &name, const IInterface *parent) | |
Constructor. More... | |
virtual StatusCode | initialize () override |
Initialize. More... | |
virtual StatusCode | connectOutput (const std::string &outputName="") override |
Connect to the output stream Must connectOutput BEFORE streaming Only specify "outputName" if one wants to override jobOptions. More... | |
virtual StatusCode | commitOutput (bool doCommit=false) override |
Commit the output stream after having streamed out objects Must commitOutput AFTER streaming. More... | |
virtual StatusCode | finalizeOutput () override |
Finalize the output stream after the last commit, e.g. More... | |
virtual StatusCode | connectServices (const std::string &dataStore, const std::string &cnvSvc, bool extendProvenenceRecord=false) override |
No need to connect Services. More... | |
virtual StatusCode | streamObjects (const TypeKeyPairs &typeKeys, const std::string &outputName="") override |
No object written for this tool. More... | |
virtual StatusCode | streamObjects (const DataObjectVec &dataObjects, const std::string &outputName="") override |
no stream of vector of objects either. More... | |
virtual StatusCode | getInputItemList (SG::IFolder *m_p2BWrittenFromTool) override |
Get ItemList from the OutputStreamTool (e.g. all input objects) More... | |
Private Attributes | |
ServiceHandle< IByteStreamOutputSvc > | m_outputSvc |
Handle for BS output Svc. More... | |
ServiceHandle< IByteStreamInputSvc > | m_inputSvc |
Handle for BS input Svc. More... | |
This is a tool that implements the IAthenaOutputStreamTool for copying ByteStream from input.
Definition at line 38 of file ByteStreamOutputStreamCopyTool.h.
ByteStreamOutputStreamCopyTool::ByteStreamOutputStreamCopyTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
|
overridevirtual |
Commit the output stream after having streamed out objects Must commitOutput AFTER streaming.
Definition at line 56 of file ByteStreamOutputStreamCopyTool.cxx.
|
overridevirtual |
Connect to the output stream Must connectOutput BEFORE streaming Only specify "outputName" if one wants to override jobOptions.
Do nothing for connectOutput
Definition at line 51 of file ByteStreamOutputStreamCopyTool.cxx.
|
overridevirtual |
No need to connect Services.
Do nothing for connectServices
Definition at line 44 of file ByteStreamOutputStreamCopyTool.cxx.
|
overridevirtual |
Finalize the output stream after the last commit, e.g.
in finalize
Definition at line 72 of file ByteStreamOutputStreamCopyTool.cxx.
|
overridevirtual |
Get ItemList from the OutputStreamTool (e.g. all input objects)
Definition at line 92 of file ByteStreamOutputStreamCopyTool.cxx.
|
overridevirtual |
|
overridevirtual |
no stream of vector of objects either.
Definition at line 84 of file ByteStreamOutputStreamCopyTool.cxx.
|
overridevirtual |
|
private |
Handle for BS input Svc.
Definition at line 79 of file ByteStreamOutputStreamCopyTool.h.
|
private |
Handle for BS output Svc.
Definition at line 76 of file ByteStreamOutputStreamCopyTool.h.