DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

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

Definition at line 145 of file InstanceCount.h.

References DD4hep::Increment< T >::counter().

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

Definition at line 146 of file InstanceCount.h.

References DD4hep::Increment< T >::counter().

Member Function Documentation

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

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