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

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

#include <ConditionsProcessor.h>

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

Public Member Functions

 ConditionsProcessor ()=delete
 Default constructor. More...
 
 ConditionsProcessor (T &p)
 Initializing constructor. More...
 
 ConditionsProcessor (T &&p)=delete
 This move constructor is disabled to void temporary references. More...
 
 ConditionsProcessor (ConditionsProcessor &&copy)=default
 R-value copy from a temporary copy (Since processor is reference) More...
 
 ConditionsProcessor (const ConditionsProcessor &copy)=default
 Copy constructor. More...
 
virtual ~ConditionsProcessor ()=default
 Default destructor. More...
 
ConditionsProcessoroperator= (const ConditionsProcessor &copy)=default
 Assignment operator. More...
 
virtual int process (Condition condition) 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

T & processor
 Reference to the actual processor. More...
 

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::ConditionsProcessor< 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 42 of file ConditionsProcessor.h.

Constructor & Destructor Documentation

◆ ConditionsProcessor() [1/5]

template<typename T >
dd4hep::cond::ConditionsProcessor< T >::ConditionsProcessor ( )
delete

Default constructor.

◆ ConditionsProcessor() [2/5]

template<typename T >
dd4hep::cond::ConditionsProcessor< T >::ConditionsProcessor ( T &  p)
inline

Initializing constructor.

Definition at line 49 of file ConditionsProcessor.h.

◆ ConditionsProcessor() [3/5]

template<typename T >
dd4hep::cond::ConditionsProcessor< T >::ConditionsProcessor ( T &&  p)
delete

This move constructor is disabled to void temporary references.

◆ ConditionsProcessor() [4/5]

template<typename T >
dd4hep::cond::ConditionsProcessor< T >::ConditionsProcessor ( ConditionsProcessor< T > &&  copy)
default

R-value copy from a temporary copy (Since processor is reference)

◆ ConditionsProcessor() [5/5]

template<typename T >
dd4hep::cond::ConditionsProcessor< T >::ConditionsProcessor ( const ConditionsProcessor< T > &  copy)
default

Copy constructor.

◆ ~ConditionsProcessor()

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

Default destructor.

Member Function Documentation

◆ operator=()

template<typename T >
ConditionsProcessor& dd4hep::cond::ConditionsProcessor< T >::operator= ( const ConditionsProcessor< T > &  copy)
default

Assignment operator.

◆ process()

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

Processing callback.

Implements dd4hep::Condition::Processor.

Definition at line 61 of file ConditionsProcessor.h.

Member Data Documentation

◆ processor

template<typename T >
T& dd4hep::cond::ConditionsProcessor< T >::processor
private

Reference to the actual processor.

Definition at line 44 of file ConditionsProcessor.h.


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