DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Generic condition processor facade for the Conditons::Processor object. More...
#include <ConditionsProcessor.h>
Public Member Functions | |
ConditionsProcessorWrapper ()=default | |
Default constructor. More... | |
ConditionsProcessorWrapper (T *p) | |
Initializing constructor. More... | |
ConditionsProcessorWrapper (const ConditionsProcessorWrapper ©)=delete | |
Copy constructor. More... | |
virtual | ~ConditionsProcessorWrapper ()=default |
Default destructor. More... | |
ConditionsProcessorWrapper & | operator= (const ConditionsProcessorWrapper ©)=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 &©)=default | |
Move constructor. More... | |
Processor (const Processor ©)=default | |
Copy constructor. More... | |
Processor & | operator= (const Processor ©)=delete |
Assignment operator. More... | |
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.
Definition at line 82 of file ConditionsProcessor.h.
|
default |
Default constructor.
|
inline |
Initializing constructor.
Definition at line 88 of file ConditionsProcessor.h.
|
delete |
Copy constructor.
|
virtualdefault |
Default destructor.
|
delete |
Assignment operator.
|
inlineoverridevirtual |
Processing callback.
Implements dd4hep::Condition::Processor.
Definition at line 96 of file ConditionsProcessor.h.
|
private |
Definition at line 83 of file ConditionsProcessor.h.