1 #ifndef GAUDI_FUNCTIONAL_CONSUMER_H 2 #define GAUDI_FUNCTIONAL_CONSUMER_H 12 template <
typename Signature,
typename Traits_,
bool isLegacy>
15 template <
typename... In,
typename Traits_>
16 struct Consumer<void( const In&... ), Traits_,
true> : DataHandleMixin<
void, filter_evtcontext<In...>, Traits_> {
22 filter_evtcontext_t<In...>::apply( *
this, this->m_inputs );
31 virtual void operator()(
const In&... )
const = 0;
34 template <
typename... In,
typename Traits_>
35 struct Consumer<void( const In&... ), Traits_,
false> : DataHandleMixin<
void, filter_evtcontext<In...>, Traits_> {
41 filter_evtcontext_t<In...>::apply( *
this,
ctx, this->m_inputs );
50 virtual void operator()(
const In&... )
const = 0;
55 template <
typename Signature,
typename Traits_ = Traits::useDefaults>
Define general base for Gaudi exception.
virtual const std::string & message() const
error message to be printed
constexpr static const auto SUCCESS
This class represents an entry point to all the event specific data.
typename filter_evtcontext_t< In... >::type filter_evtcontext
This class is used for returning status codes from appropriate routines.
virtual const StatusCode & code() const
StatusCode for Exception.
StatusCode execute() override final
StatusCode execute(const EventContext &ctx) const override final
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.