Geant4  10.01.p03
CLHEP::enable_shared_from_this< T > Class Template Reference

#include <G4memory.hh>

+ Collaboration diagram for CLHEP::enable_shared_from_this< T >:

Public Member Functions

shared_ptr< T > shared_from_this ()
 
shared_ptr< T const > shared_from_this () const
 
template<typename X , typename Y >
void _internal_accept_owner (shared_ptr< X > const *ppx, Y *py) const
 

Protected Member Functions

 enable_shared_from_this ()
 
 ~enable_shared_from_this ()
 
 enable_shared_from_this (enable_shared_from_this const &)
 
enable_shared_from_thisoperator= (enable_shared_from_this const &)
 

Private Attributes

weak_ptr< T > weak_this_
 

Detailed Description

template<typename T>
class CLHEP::enable_shared_from_this< T >

Definition at line 64 of file G4memory.hh.

Constructor & Destructor Documentation

template<typename T >
CLHEP::enable_shared_from_this< T >::enable_shared_from_this ( )
inlineprotected

Definition at line 67 of file G4memory.hh.

template<typename T >
CLHEP::enable_shared_from_this< T >::~enable_shared_from_this ( )
inlineprotected

Definition at line 70 of file G4memory.hh.

template<typename T >
CLHEP::enable_shared_from_this< T >::enable_shared_from_this ( enable_shared_from_this< T > const &  )
inlineprotected

Definition at line 73 of file G4memory.hh.

Member Function Documentation

template<typename T >
template<typename X , typename Y >
void CLHEP::enable_shared_from_this< T >::_internal_accept_owner ( shared_ptr< X > const *  ppx,
Y *  py 
) const
inline

Definition at line 104 of file G4memory.hh.

References CLHEP::enable_shared_from_this< T >::weak_this_.

template<typename T >
enable_shared_from_this& CLHEP::enable_shared_from_this< T >::operator= ( enable_shared_from_this< T > const &  )
inlineprotected

Definition at line 77 of file G4memory.hh.

template<typename T >
shared_ptr<T> CLHEP::enable_shared_from_this< T >::shared_from_this ( )
inline

Definition at line 84 of file G4memory.hh.

References CLHEP::enable_shared_from_this< T >::weak_this_.

template<typename T >
shared_ptr<T const> CLHEP::enable_shared_from_this< T >::shared_from_this ( ) const
inline

Definition at line 92 of file G4memory.hh.

References CLHEP::enable_shared_from_this< T >::weak_this_.

Member Data Documentation

template<typename T >
weak_ptr<T> CLHEP::enable_shared_from_this< T >::weak_this_
mutableprivate

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