| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | List of all members
Gaudi ::Functional::details::MultiTransformer< std::tuple< Out... >(const In &...), Traits_, true > Struct Template Referenceabstract

`#include <GaudiAlg/Transformer.h>`

Inheritance diagram for Gaudi ::Functional::details::MultiTransformer< std::tuple< Out... >(const In &...), Traits_, true >:
[legend]
Collaboration diagram for Gaudi ::Functional::details::MultiTransformer< std::tuple< Out... >(const In &...), Traits_, true >:
[legend]

## Public Member Functions
StatusCode | execute () override final
virtual std::tuple< Out... > | operator() (const In &...) const =0

## Detailed Description

### template<typename... Out, typename... In, typename Traits_>
struct Gaudi ::Functional::details::MultiTransformer< std::tuple< Out... >(const In &...), Traits_, true >

Definition at line 73 of file Transformer.h.

## Member Function Documentation

## ◆ execute()

template<typename... Out, typename... In, typename Traits_ >

StatusCode Gaudi ::Functional::details::MultiTransformer< std::tuple< Out... >(const In &...), Traits_, true >::execute | ( |  | ) |
| inline final override

Definition at line 78 of file Transformer.h.

78 {
79 try {
80 std::apply(
81 [this]( auto&... ohandle ) {
82
83 #if defined( __clang__ ) && ( __clang_major__ < 9 )
84 // clang-8 gives a spurious warning about not using the captured `ohandle`
85 # pragma clang diagnostic push
86 # pragma clang diagnostic ignored "-Wunused-lambda-capture"
87 #endif
88 std::apply(
89 [&ohandle...]( auto&&... data ) {
90 ( details::put( ohandle, std::forward<decltype( data )>( data ) ), ... );
91 },
92 details::filter_evtcontext_t<In...>::apply( *this, this->m_inputs ) );
93
94 #if defined( __clang__ ) && ( __clang_major__ < 9 )
95 # pragma clang diagnostic pop
96 #endif
97 },
98 this->m_outputs );
99 return StatusCode::SUCCESS;
100 } catch ( GaudiException& e ) {
101 ( e.code() ? this->warning() : this->error() ) << e.message() << endmsg;
102 return e.code();
103 }
104 }
GaudiException
Define general base for Gaudi exception.
Definition: GaudiException.h:21
StatusCode::SUCCESS
constexpr static const auto SUCCESS
Definition: StatusCode.h:85
GaudiException::code
virtual const StatusCode & code() const
StatusCode for Exception.
Definition: GaudiException.h:76
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:192

## ◆ operator()()

template<typename... Out, typename... In, typename Traits_ >

virtual std::tuple<Out...> Gaudi ::Functional::details::MultiTransformer< std::tuple< Out... >(const In &...), Traits_, true >::operator() | ( | const In & | ... | ) | const
| pure virtual

The documentation for this struct was generated from the following file:

- GaudiAlg/GaudiAlg/Transformer.h