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

Helper class to count call stack depths of certain functions. More...

#include <InstanceCount.h>

Public Member Functions

 Increment ()
 
 ~Increment ()
 

Static Public Member Functions

static int & counter ()
 

Detailed Description

template<typename T>
struct dd4hep::Increment< T >

Helper class to count call stack depths of certain functions.

Small class to count re-entrancy calls

Author
M.Frank
Version
1.0

Definition at line 143 of file InstanceCount.h.

Constructor & Destructor Documentation

◆ Increment()

template<typename T >
dd4hep::Increment< T >::Increment ( )
inline

Definition at line 145 of file InstanceCount.h.

◆ ~Increment()

template<typename T >
dd4hep::Increment< T >::~Increment ( )
inline

Definition at line 146 of file InstanceCount.h.

Member Function Documentation

◆ counter()

template<typename T >
static int& dd4hep::Increment< T >::counter ( )
inlinestatic

Definition at line 144 of file InstanceCount.h.


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