DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Private Attributes | List of all members
dd4hep::cond::ConditionsProcessorWrapper< T > Class Template Reference

Generic condition processor facade for the Conditons::Processor object. More...

#include <ConditionsProcessor.h>

Inheritance diagram for dd4hep::cond::ConditionsProcessorWrapper< T >:
dd4hep::Condition::Processor

Public Member Functions

 ConditionsProcessorWrapper ()=default
 Default constructor. More...
 
 ConditionsProcessorWrapper (T *p)
 Initializing constructor. More...
 
 ConditionsProcessorWrapper (const ConditionsProcessorWrapper &copy)=delete
 Copy constructor. More...
 
virtual ~ConditionsProcessorWrapper ()=default
 Default destructor. More...
 
ConditionsProcessorWrapperoperator= (const ConditionsProcessorWrapper &copy)=delete
 Assignment operator. More...
 
virtual int process (Condition c) const override
 Processing callback. More...
 
- Public Member Functions inherited from dd4hep::Condition::Processor
 Processor ()=default
 Default constructor. More...
 
virtual ~Processor ()=default
 Default destructor. More...
 
virtual int operator() (Condition c) const
 Conditions callback for object processing. More...
 
virtual int operator() (const std::pair< Condition::key_type, Condition > &e) const
 Conditions callback for object processing in maps. More...
 

Private Attributes

std::unique_ptr< T > processor
 

Additional Inherited Members

- Protected Member Functions inherited from dd4hep::Condition::Processor
 Processor (Processor &&copy)=default
 Move constructor. More...
 
 Processor (const Processor &copy)=default
 Copy constructor. More...
 
Processoroperator= (const Processor &copy)=delete
 Assignment operator. More...
 

Detailed Description

template<typename T>
class dd4hep::cond::ConditionsProcessorWrapper< T >

Generic condition processor facade for the Conditons::Processor object.

This wrapper converts any object, which has the signature int operator()(Condition cond) const The object is automatically wrapped to a Condition::Processor object and allows to scan trees using e.g. DetElementProcessors etc.

Author
M.Frank
Version
1.0
Date
01/04/2016

Definition at line 82 of file ConditionsProcessor.h.

Constructor & Destructor Documentation

◆ ConditionsProcessorWrapper() [1/3]

Default constructor.

◆ ConditionsProcessorWrapper() [2/3]

template<typename T >
dd4hep::cond::ConditionsProcessorWrapper< T >::ConditionsProcessorWrapper ( T *  p)
inline

Initializing constructor.

Definition at line 88 of file ConditionsProcessor.h.

◆ ConditionsProcessorWrapper() [3/3]

template<typename T >
dd4hep::cond::ConditionsProcessorWrapper< T >::ConditionsProcessorWrapper ( const ConditionsProcessorWrapper< T > &  copy)
delete

Copy constructor.

◆ ~ConditionsProcessorWrapper()

template<typename T >
virtual dd4hep::cond::ConditionsProcessorWrapper< T >::~ConditionsProcessorWrapper ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ operator=()

template<typename T >
ConditionsProcessorWrapper& dd4hep::cond::ConditionsProcessorWrapper< T >::operator= ( const ConditionsProcessorWrapper< T > &  copy)
delete

Assignment operator.

◆ process()

template<typename T >
virtual int dd4hep::cond::ConditionsProcessorWrapper< T >::process ( Condition  c) const
inlineoverridevirtual

Processing callback.

Implements dd4hep::Condition::Processor.

Definition at line 96 of file ConditionsProcessor.h.

Member Data Documentation

◆ processor

template<typename T >
std::unique_ptr<T> dd4hep::cond::ConditionsProcessorWrapper< T >::processor
private

Definition at line 83 of file ConditionsProcessor.h.


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