1 #ifndef GAUDI_FUNCTIONAL_CONSUMER_H 2 #define GAUDI_FUNCTIONAL_CONSUMER_H 8 namespace Gaudi {
namespace Functional {
10 template <
typename Signature,
typename Traits_ = Traits::useDefaults>
class Consumer;
12 template <
typename... In,
typename Traits_>
20 {
return invoke(std::index_sequence_for<In...>{}); }
23 virtual void operator()(
const In&...)
const = 0;
31 ( e.
code() ? this->warning() : this->error() )
virtual const std::string & message() const
error message to be printed
constexpr std::add_const< T >::type & as_const(T &t) noexcept
Define general base for Gaudi exception.
StatusCode invoke(std::index_sequence< I... >) const
class MergingTransformer< Out(const vector_of_const_< In > void
virtual const StatusCode & code() const
StatusCode for Exception.
class MergingTransformer< Out(const vector_of_const_< In > Traits_
This class is used for returning status codes from appropriate routines.
std::vector< InputHandle_t< In > > m_inputs
virtual Out operator()(const vector_of_const_< In > &inputs) const =0
StatusCode execute() override final
Helper functions to set/get the application return code.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.