11 #ifndef GAUDI_FUNCTIONAL_CONSUMER_H 12 #define GAUDI_FUNCTIONAL_CONSUMER_H 23 template <
typename Signature,
typename Traits_,
bool isLegacy>
26 template <
typename... In,
typename Traits_>
27 struct Consumer<void( const In&... ), Traits_,
true>
28 : DataHandleMixin<
std::tuple<>, filter_evtcontext<In...>, Traits_> {
29 using DataHandleMixin<std::tuple<>,
filter_evtcontext<In...>, Traits_>::DataHandleMixin;
34 filter_evtcontext_t<In...>::apply( *
this, this->m_inputs );
43 virtual void operator()(
const In&... )
const = 0;
46 template <
typename... In,
typename Traits_>
47 struct Consumer<void( const In&... ), Traits_,
false>
48 : DataHandleMixin<
std::tuple<>, filter_evtcontext<In...>, Traits_> {
49 using DataHandleMixin<std::tuple<>,
filter_evtcontext<In...>, Traits_>::DataHandleMixin;
54 filter_evtcontext_t<In...>::apply( *
this,
ctx, this->m_inputs );
63 virtual void operator()(
const In&... )
const = 0;
68 template <
typename Signature,
typename Traits_ = Traits::useDefaults>
Define general base for Gaudi exception.
virtual const std::string & message() const
error message to be printed
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.