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

Wrapper to call objects in the form of a detector element processor. More...

#include <DetectorProcessor.h>

Inheritance diagram for dd4hep::DetectorProcessorShared< T >:
dd4hep::DetectorProcessor

Public Member Functions

 DetectorProcessorShared ()=delete
 Default constructor. More...
 
 DetectorProcessorShared (std::shared_ptr< T > &p)
 Default constructor. More...
 
 DetectorProcessorShared (const DetectorProcessorShared &copy)=default
 Default copy constructor. More...
 
virtual ~DetectorProcessorShared ()=default
 Default destructor. More...
 
DetectorProcessorSharedoperator= (const DetectorProcessorShared &copy)=default
 Default assignment. More...
 
virtual int operator() (DetElement de, int level) const final
 Callback to output detector information of an single DetElement. More...
 
- Public Member Functions inherited from dd4hep::DetectorProcessor
 DetectorProcessor ()=default
 Initializing constructor. More...
 
 DetectorProcessor (DetectorProcessor &&copy)=default
 R-value copy from a temporary (Since processor is reference) More...
 
 DetectorProcessor (const DetectorProcessor &copy)=default
 Default copy constructor. More...
 
virtual ~DetectorProcessor ()
 Default destructor. More...
 
DetectorProcessoroperator= (const DetectorProcessor &copy)=default
 Default assignment. More...
 
virtual int process (DetElement de, int level, bool recursive) const
 Callback to output detector information of an entire DetElement. More...
 

Public Attributes

std::shared_ptr< T > processor
 Reference to execution object implementing operator()(DetElement de, int level) More...
 

Detailed Description

template<typename T>
class dd4hep::DetectorProcessorShared< T >

Wrapper to call objects in the form of a detector element processor.

Author
M.Frank
Version
1.0
Date
31/05/2017

Definition at line 100 of file DetectorProcessor.h.

Constructor & Destructor Documentation

◆ DetectorProcessorShared() [1/3]

template<typename T >
dd4hep::DetectorProcessorShared< T >::DetectorProcessorShared ( )
delete

Default constructor.

◆ DetectorProcessorShared() [2/3]

template<typename T >
dd4hep::DetectorProcessorShared< T >::DetectorProcessorShared ( std::shared_ptr< T > &  p)
inline

Default constructor.

Definition at line 108 of file DetectorProcessor.h.

◆ DetectorProcessorShared() [3/3]

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

Default copy constructor.

◆ ~DetectorProcessorShared()

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

Default destructor.

Member Function Documentation

◆ operator()()

template<typename T >
virtual int dd4hep::DetectorProcessorShared< T >::operator() ( DetElement  de,
int  level 
) const
inlinefinalvirtual

Callback to output detector information of an single DetElement.

Implements dd4hep::DetectorProcessor.

Definition at line 116 of file DetectorProcessor.h.

◆ operator=()

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

Default assignment.

Member Data Documentation

◆ processor

template<typename T >
std::shared_ptr<T> dd4hep::DetectorProcessorShared< T >::processor

Reference to execution object implementing operator()(DetElement de, int level)

Definition at line 103 of file DetectorProcessor.h.


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