| The Gaudi Framework v29r1 (5cd95fa2)

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

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

Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ > Class Template Reference

`#include <GaudiAlg/FunctionalDetails.h>`

Inheritance diagram for Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >:
[legend]
Collaboration diagram for Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >:
[legend]

## Public Types
using | KeyValue = std::pair< std::string, std::string >

## Public Member Functions
| DataHandleMixin (const std::string &name, ISvcLocator *pSvcLocator, const std::array< KeyValue, N_in > &inputs)
| DataHandleMixin (const std::string &name, ISvcLocator *locator, const KeyValue &input)
template<std::size_t N = 0>
const std::string & | inputLocation () const
unsigned int | inputLocationSize () const

## Static Public Attributes
static constexpr std::size_t | N_in = sizeof...( In )

## Protected Attributes
std::tuple< details::InputHandle_t< Traits_, In >... > | m_inputs

## Detailed Description

### template<typename... In, typename Traits_>
class Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >

Definition at line 503 of file FunctionalDetails.h.

## Member Typedef Documentation

template<typename... In, typename Traits_ >

using Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >::KeyValue = std::pair<std::string, std::string>

Definition at line 509 of file FunctionalDetails.h.

## Constructor & Destructor Documentation

template<typename... In, typename Traits_ >

Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >::DataHandleMixin | ( | const std::string & | name,
|  | ISvcLocator * | pSvcLocator,
|  | const std::array< KeyValue, N_in > & | inputs
| ) |  |
| inline

Definition at line 513 of file FunctionalDetails.h.

514 : BaseClass_t<Traits_>( name, pSvcLocator )
515 , m_inputs( make_tuple_of_handles<decltype( m_inputs )>( this, inputs, Gaudi::DataHandle::Reader ) )
516 {
517 declare_tuple_of_properties( *this, inputs, m_inputs );
518 // make sure this algorithm is seen as reentrant by Gaudi
519 BaseClass_t<Traits_>::setProperty( "Cardinality", 0 );
520 }
Gaudi::Utils::setProperty
StatusCode setProperty(IProperty *component, const std::string &name, const TYPE &value, const std::string &doc)
simple function to set the property of the given object from the value
Definition: Property.h:1173
gaudiComponentHelp.name
name
Definition: gaudiComponentHelp.py:32
Gaudi::Functional::details::declare_tuple_of_properties
void declare_tuple_of_properties(Algorithm &owner, const KeyValues &inputs, Properties &props)
Definition: FunctionalDetails.h:415
Gaudi::DataHandle::Reader
Definition: DataHandle.h:31
BrunelScenarioForwardScheduler.inputs
inputs
Definition: BrunelScenarioForwardScheduler.py:133
Gaudi::Functional::details::make_tuple_of_handles
Tuple make_tuple_of_handles(IDataHandleHolder *owner, const KeyValues &initvalue, Gaudi::DataHandle::Mode mode)
Definition: FunctionalDetails.h:408
Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >::m_inputs
std::tuple< details::InputHandle_t< Traits_, In >... > m_inputs
Definition: FunctionalDetails.h:537
template<typename... In, typename Traits_ >

Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >::DataHandleMixin | ( | const std::string & | name,
|  | ISvcLocator * | locator,
|  | const KeyValue & | input
| ) |  |
| inline

Definition at line 524 of file FunctionalDetails.h.

525 : DataHandleMixin( name, locator, std::array<KeyValue, 1>{input} )
526 {
527 }
Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >::DataHandleMixin
DataHandleMixin(const std::string &name, ISvcLocator *pSvcLocator, const std::array< KeyValue, N_in > &inputs)
Definition: FunctionalDetails.h:513
std::array
STL class.

## Member Function Documentation

template<typename... In, typename Traits_ >
template<std::size_t N = 0>

const std::string& Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >::inputLocation | ( |  | ) | const
| inline

Definition at line 530 of file FunctionalDetails.h.

531 {
532 return std::get<N>( m_inputs ).objKey();
533 }
Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >::m_inputs
std::tuple< details::InputHandle_t< Traits_, In >... > m_inputs
Definition: FunctionalDetails.h:537
template<typename... In, typename Traits_ >

unsigned int Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >::inputLocationSize | ( |  | ) | const
| inline

Definition at line 534 of file FunctionalDetails.h.

534 { return std::tuple_size<decltype( m_inputs )>::value; }

## Member Data Documentation

template<typename... In, typename Traits_ >

std::tuple<details::InputHandle_t<Traits_, In>...> Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >::m_inputs
| protected

Definition at line 537 of file FunctionalDetails.h.

template<typename... In, typename Traits_ >

constexpr std::size_t Gaudi::Functional::details::DataHandleMixin< void, std::tuple< In... >, Traits_ >::N_in = sizeof...( In )
| static

Definition at line 510 of file FunctionalDetails.h.

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

- GaudiAlg/GaudiAlg/FunctionalDetails.h