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

PlacedVolume scanner using a Processor object. More...

#include <VolumeProcessor.h>

Inheritance diagram for dd4hep::PlacementProcessor< T >:
dd4hep::PlacedVolumeProcessor

Public Member Functions

 PlacementProcessor ()=delete
 Default constructor. More...
 
 PlacementProcessor (T &p)
 Default constructor. More...
 
 PlacementProcessor (T &&p)=delete
 Default move constructor is disabled. More...
 
 PlacementProcessor (PlacementProcessor &&copy)=default
 R-value copy from a temporary (Since processor is reference) More...
 
 PlacementProcessor (const PlacementProcessor &copy)=default
 Default copy constructor. More...
 
virtual ~PlacementProcessor ()=default
 Default destructor. More...
 
PlacementProcessoroperator= (const PlacementProcessor &copy)=default
 Default assignment. More...
 
virtual int operator() (PlacedVolume pv, int level) final
 Callback to output detector information of an single placement. More...
 
- Public Member Functions inherited from dd4hep::PlacedVolumeProcessor
 PlacedVolumeProcessor ()=default
 Initializing constructor. More...
 
 PlacedVolumeProcessor (PlacedVolumeProcessor &&copy)=default
 R-value copy from a temporary (Since processor is reference) More...
 
 PlacedVolumeProcessor (const PlacedVolumeProcessor &copy)=default
 Default copy constructor. More...
 
virtual ~PlacedVolumeProcessor () noexcept(false)
 Default destructor. More...
 
PlacedVolumeProcessoroperator= (const PlacedVolumeProcessor &copy)=default
 Default assignment. More...
 
virtual int process (PlacedVolume pv, int level, bool recursive)
 Callback to output PlacedVolume information of an entire Placement. More...
 

Public Attributes

T & processor
 Reference to execution object implementing operator()(PlacedVolume pv, int level) More...
 

Detailed Description

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

PlacedVolume scanner using a Processor object.

Please see the documentation of the PlacedVolumeProcessor base class for further information. The only requirement to the object is to fullfill the callback signature.

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

Definition at line 66 of file VolumeProcessor.h.

Constructor & Destructor Documentation

◆ PlacementProcessor() [1/5]

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

Default constructor.

◆ PlacementProcessor() [2/5]

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

Default constructor.

Definition at line 74 of file VolumeProcessor.h.

◆ PlacementProcessor() [3/5]

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

Default move constructor is disabled.

◆ PlacementProcessor() [4/5]

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

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

◆ PlacementProcessor() [5/5]

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

Default copy constructor.

◆ ~PlacementProcessor()

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

Default destructor.

Member Function Documentation

◆ operator()()

template<typename T >
virtual int dd4hep::PlacementProcessor< T >::operator() ( PlacedVolume  pv,
int  level 
)
inlinefinalvirtual

Callback to output detector information of an single placement.

Implements dd4hep::PlacedVolumeProcessor.

Definition at line 86 of file VolumeProcessor.h.

◆ operator=()

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

Default assignment.

Member Data Documentation

◆ processor

template<typename T >
T& dd4hep::PlacementProcessor< T >::processor

Reference to execution object implementing operator()(PlacedVolume pv, int level)

Definition at line 69 of file VolumeProcessor.h.


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