| The Gaudi Framework v28r2-patches (bc4ad17a)

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

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

Public Member Functions | List of all members
Gaudi::Functional::Producer< Out(), Traits_ > Class Template Referenceabstract

`#include <GaudiAlg/Producer.h>`

Inheritance diagram for Gaudi::Functional::Producer< Out(), Traits_ >:
[legend]
Collaboration diagram for Gaudi::Functional::Producer< Out(), Traits_ >:
[legend]

## Public Member Functions
StatusCode | execute () override final
virtual Out | operator() () const =0

## Detailed Description

### template<typename Out, typename Traits_>
class Gaudi::Functional::Producer< Out(), Traits_ >

Definition at line 43 of file Producer.h.

## Member Function Documentation

template<typename Out , typename Traits_ >

StatusCode Gaudi::Functional::Producer< Out(), Traits_ >::execute | ( |  | ) |
| inline final override

Definition at line 48 of file Producer.h.

48 {
49 using details::as_const; using details::put;
50 try {
51 put(std::get<0>(this->m_outputs),as_const(*this)() );
52 } catch ( GaudiException& e ) {
53 this->error() << "Error during transform: " << e.message() << " returning " << e.code() << endmsg;
54 return e.code();
55 }
56 return StatusCode::SUCCESS;
57 }
GaudiException::message
virtual const std::string & message() const
error message to be printed
Definition: GaudiException.h:111
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
GaudiException::code
virtual const StatusCode & code() const
StatusCode for Exception.
Definition: GaudiException.h:127
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:244
Gaudi::Functional::details::put
Out1 * put(DataObjectHandle< Out1 > &out_handle, Out2 &&out)
Definition: FunctionalDetails.h:87
template<typename Out , typename Traits_ >

virtual Out Gaudi::Functional::Producer< Out(), Traits_ >::operator() | ( |  | ) | const
| pure virtual

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

- GaudiAlg/GaudiAlg/Producer.h