| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Private Member Functions | List of all members
Gaudi::Functional::MultiTransformerFilter< std::tuple< Out... >(const In &...), Traits_ > Class Template Referenceabstract

`#include <GaudiAlg/Transformer.h>`

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

## Public Member Functions
StatusCode | execute () override final
virtual std::tuple< bool, Out... > | operator() (const In &...) const =0
Public Member Functions inherited from Gaudi::Functional::details::DataHandleMixin< std::tuple< Out... >, std::tuple< In... >, Traits_ >
| DataHandleMixin (const std::string &name, ISvcLocator *pSvcLocator, const std::array< KeyValue, N_in > &inputs, const std::array< KeyValue, N_out > &outputs)
| DataHandleMixin (const std::string &name, ISvcLocator *locator, const KeyValue &input, const KeyValue &output)
| DataHandleMixin (const std::string &name, ISvcLocator *locator, const KeyValue &input, const std::array< KeyValue, N_out > &outputs)
| DataHandleMixin (const std::string &name, ISvcLocator *locator, const std::array< KeyValue, N_in > &inputs, const KeyValue &output)
template<std::size_t N = 0>
const std::string & | inputLocation () const
unsigned int | inputLocationSize () const
template<std::size_t N = 0>
const std::string & | outputLocation () const
unsigned int | outputLocationSize () const

## Private Member Functions
template<std::size_t... I, std::size_t... O>
StatusCode | invoke (std::index_sequence< I... >, std::index_sequence< O... >)

## Additional Inherited Members
Public Types inherited from Gaudi::Functional::details::DataHandleMixin< std::tuple< Out... >, std::tuple< In... >, Traits_ >
using | KeyValue = std::pair< std::string, std::string >
Static Public Attributes inherited from Gaudi::Functional::details::DataHandleMixin< std::tuple< Out... >, std::tuple< In... >, Traits_ >
static constexpr std::size_t | N_in = sizeof...(In)
static constexpr std::size_t | N_out = sizeof...(Out)
Protected Attributes inherited from Gaudi::Functional::details::DataHandleMixin< std::tuple< Out... >, std::tuple< In... >, Traits_ >
std::tuple< details::InputHandle_t< Traits_, In >... > | m_inputs
std::tuple< details::OutputHandle_t< Traits_, Out >... > | m_outputs

## Detailed Description

### template<typename... Out, typename... In, typename Traits_>
class Gaudi::Functional::MultiTransformerFilter< std::tuple< Out... >(const In &...), Traits_ >

Definition at line 93 of file Transformer.h.

## Member Function Documentation

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

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

Definition at line 100 of file Transformer.h.

101 { return invoke(std::index_sequence_for<In...>{},std::index_sequence_for<Out...>{}); }
Gaudi::Functional::MultiTransformerFilter< std::tuple< Out... >(const In &...), Traits_ >::invoke
StatusCode invoke(std::index_sequence< I... >, std::index_sequence< O... >)
Definition: Transformer.h:108
template<typename... Out, typename... In, typename Traits_ >
template<std::size_t... I, std::size_t... O>

StatusCode Gaudi::Functional::MultiTransformerFilter< std::tuple< Out... >(const In &...), Traits_ >::invoke | ( | std::index_sequence< I... > | ,
|  | std::index_sequence< O... > |
| ) |  |
| inline private

Definition at line 108 of file Transformer.h.

108 {
109 using details::as_const; using details::put;
110 try {
111 auto out = as_const(*this)( as_const(*std::get<I>(this->m_inputs).get())... );
112 this->setFilterPassed(std::get<0>(out));
113 (void)std::initializer_list<int> {
114 (put(std::get<O>(this->m_outputs),std::move(std::get<O+1>(out))),0)...
115 };
116 } catch ( GaudiException& e ) {
117 (e.code() ? this->warning() : this->error() )
118 << e.message() << endmsg;
119 return e.code();
120 }
121 return StatusCode::SUCCESS;
122 }
Gaudi::Functional::details::DataHandleMixin< std::tuple< Out... >, std::tuple< In... >, Traits_ >::m_inputs
std::tuple< details::InputHandle_t< Traits_, In >... > m_inputs
Definition: FunctionalDetails.h:371
StatusCode::SUCCESS
Definition: StatusCode.h:30
Gaudi::Functional::details::as_const
constexpr std::add_const< T >::type & as_const(T &t) noexcept
Definition: FunctionalDetails.h:77
GaudiException
Define general base for Gaudi exception.
Definition: GaudiException.h:23
Gaudi::Functional::void
class MergingTransformer< Out(const vector_of_const_< In > void
Definition: MergingTransformer.h:19
Gaudi::Functional::details::DataHandleMixin< std::tuple< Out... >, std::tuple< In... >, Traits_ >::m_outputs
std::tuple< details::OutputHandle_t< Traits_, Out >... > m_outputs
Definition: FunctionalDetails.h:372
GaudiException::code
virtual const StatusCode & code() const
StatusCode for Exception.
Definition: GaudiException.h:127
std::move
T move(T...args)
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:244
std::initializer_list
Gaudi::Functional::details::put
Out1 * put(DataObjectHandle< Out1 > &out_handle, Out2 &&out)
Definition: FunctionalDetails.h:87
template<typename... Out, typename... In, typename Traits_ >

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

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

- GaudiAlg/GaudiAlg/Transformer.h