Go to the documentation of this file.
28 m_service = service( m_serviceName,
true );
30 for (
auto k : m_inpKeys ) {
31 debug() <<
"adding input key " << k <<
endmsg;
33 declare( *m_inputObjHandles.back() );
36 for (
auto k : m_outKeys ) {
37 debug() <<
"adding output key " << k <<
endmsg;
39 declare( *m_outputObjHandles.back() );
50 if ( !inputHandle->isValid() )
continue;
53 obj = inputHandle->get();
54 if ( !obj ) logstream <<
MSG::ERROR <<
"A read object was a null pointer." <<
endmsg;
59 if ( !outputHandle->isValid() )
continue;
60 outputHandle->put( std::make_unique<DataObject>() );
62 info() <<
"Read data " << data <<
endmsg;
68 info() <<
"Finalizing " <<
endmsg;
std::vector< std::unique_ptr< DataObjectHandle< DataObject > > > m_inputObjHandles
const std::string & name() const override
The identifying name of the algorithm object.
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
StatusCode finalize() override
SmartIF< IIncidentAsyncTestSvc > m_service
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
std::vector< std::unique_ptr< DataObjectHandle< DataObject > > > m_outputObjHandles
StatusCode execute() override
StatusCode finalize() override
the default (empty) implementation of IStateful::finalize() method
constexpr static const auto SUCCESS
#define DECLARE_COMPONENT(type)