ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4CountedObject< X > Class Template Reference

#include <geant4/tree/geant4-10.6-release/source/global/management/include/G4ReferenceCountedHandle.hh>

+ Collaboration diagram for G4CountedObject< X >:

Public Member Functions

 G4CountedObject (X *pObj=0)
 
 ~G4CountedObject ()
 
void AddRef ()
 
void Release ()
 
voidoperator new (size_t)
 
void operator delete (void *pObj)
 

Private Attributes

unsigned int fCount
 
XfRep
 

Friends

class G4ReferenceCountedHandle< X >
 

Detailed Description

template<class X>
class G4CountedObject< X >

Definition at line 59 of file G4ReferenceCountedHandle.hh.

View newest version in sPHENIX GitHub at line 59 of file G4ReferenceCountedHandle.hh

Constructor & Destructor Documentation

template<class X>
G4CountedObject< X >::G4CountedObject ( X pObj = 0)

Definition at line 163 of file G4ReferenceCountedHandle.hh.

View newest version in sPHENIX GitHub at line 163 of file G4ReferenceCountedHandle.hh

References G4CountedObject< X >::fCount.

template<class X >
G4CountedObject< X >::~G4CountedObject ( )

Definition at line 170 of file G4ReferenceCountedHandle.hh.

View newest version in sPHENIX GitHub at line 170 of file G4ReferenceCountedHandle.hh

Member Function Documentation

template<class X >
void G4CountedObject< X >::AddRef ( )
inline

Definition at line 176 of file G4ReferenceCountedHandle.hh.

View newest version in sPHENIX GitHub at line 176 of file G4ReferenceCountedHandle.hh

template<class X >
void G4CountedObject< X >::operator delete ( void pObj)
inline

Definition at line 196 of file G4ReferenceCountedHandle.hh.

View newest version in sPHENIX GitHub at line 196 of file G4ReferenceCountedHandle.hh

References aCountedObjectAllocator().

+ Here is the call graph for this function:

template<class X >
void * G4CountedObject< X >::operator new ( size_t  )
inline

Definition at line 188 of file G4ReferenceCountedHandle.hh.

View newest version in sPHENIX GitHub at line 188 of file G4ReferenceCountedHandle.hh

References aCountedObjectAllocator().

+ Here is the call graph for this function:

template<class X >
void G4CountedObject< X >::Release ( )
inline

Definition at line 182 of file G4ReferenceCountedHandle.hh.

View newest version in sPHENIX GitHub at line 182 of file G4ReferenceCountedHandle.hh

Friends And Related Function Documentation

template<class X>
friend class G4ReferenceCountedHandle< X >
friend

Definition at line 123 of file G4ReferenceCountedHandle.hh.

View newest version in sPHENIX GitHub at line 123 of file G4ReferenceCountedHandle.hh

Member Data Documentation

template<class X>
unsigned int G4CountedObject< X >::fCount
private

Definition at line 151 of file G4ReferenceCountedHandle.hh.

View newest version in sPHENIX GitHub at line 151 of file G4ReferenceCountedHandle.hh

Referenced by G4CountedObject< X >::G4CountedObject().

template<class X>
X* G4CountedObject< X >::fRep
private

Definition at line 153 of file G4ReferenceCountedHandle.hh.

View newest version in sPHENIX GitHub at line 153 of file G4ReferenceCountedHandle.hh


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