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

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

#include <VolumeProcessor.h>

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

Public Member Functions

 PlacementProcessorShared ()=delete
 Default constructor. More...
 
 PlacementProcessorShared (std::shared_ptr< T > &p)
 Default constructor. More...
 
 PlacementProcessorShared (const PlacementProcessorShared &copy)=default
 Default copy constructor. More...
 
virtual ~PlacementProcessorShared ()=default
 Default destructor. More...
 
PlacementProcessorSharedoperator= (const PlacementProcessorShared &copy)=default
 Default assignment. More...
 
virtual int operator() (PlacedVolume pv, int level) final
 Callback to output detector information of an single DetElement. 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

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

Detailed Description

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

Wrapper to call objects in the form of a PlacedVolume processor.

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

Definition at line 102 of file VolumeProcessor.h.

Constructor & Destructor Documentation

◆ PlacementProcessorShared() [1/3]

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

Default constructor.

◆ PlacementProcessorShared() [2/3]

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

Default constructor.

Definition at line 110 of file VolumeProcessor.h.

◆ PlacementProcessorShared() [3/3]

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

Default copy constructor.

◆ ~PlacementProcessorShared()

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

Default destructor.

Member Function Documentation

◆ operator()()

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

Callback to output detector information of an single DetElement.

Implements dd4hep::PlacedVolumeProcessor.

Definition at line 118 of file VolumeProcessor.h.

◆ operator=()

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

Default assignment.

Member Data Documentation

◆ processor

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

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

Definition at line 105 of file VolumeProcessor.h.


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