CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <memory.h>
Inheritance diagram for CLHEP::sp::abstract_ctrl_block:
Public Member Functions | |
void | class_invariant () const throw () |
abstract_ctrl_block () | |
virtual | ~abstract_ctrl_block () throw () |
void | add_ref () |
bool | add_ref_lock () |
void | weak_add_ref () throw () |
virtual void * | get_deleter (std::type_info const &ti)=0 |
void | release () throw () |
void | weak_release () throw () |
virtual void | dispose ()=0 throw () |
virtual void | destroy () throw () |
long | use_count () const throw () |
Definition at line 98 of file memory.h.
CLHEP::sp::abstract_ctrl_block::abstract_ctrl_block | ( | ) | [inline] |
CLHEP::sp::abstract_ctrl_block::~abstract_ctrl_block | ( | ) | throw () [inline, virtual] |
void CLHEP::sp::abstract_ctrl_block::add_ref | ( | ) | [inline] |
Definition at line 147 of file memory.h.
References class_invariant().
Referenced by CLHEP::sp::shared_ctrl_handle::operator=().
bool CLHEP::sp::abstract_ctrl_block::add_ref_lock | ( | ) | [inline] |
Definition at line 154 of file memory.h.
References class_invariant().
Referenced by CLHEP::sp::shared_ctrl_handle::shared_ctrl_handle().
void CLHEP::sp::abstract_ctrl_block::class_invariant | ( | ) | const throw () [inline] |
Definition at line 129 of file memory.h.
Referenced by abstract_ctrl_block(), add_ref(), add_ref_lock(), release(), use_count(), weak_add_ref(), weak_release(), and ~abstract_ctrl_block().
void CLHEP::sp::abstract_ctrl_block::destroy | ( | ) | throw () [inline, virtual] |
Reimplemented in CLHEP::sp::ctrl_block_pda< P, D, A >.
Definition at line 184 of file memory.h.
Referenced by weak_release().
virtual void CLHEP::sp::abstract_ctrl_block::dispose | ( | ) | throw () [pure virtual] |
Implemented in CLHEP::sp::ctrl_block_p< P >, CLHEP::sp::ctrl_block_pd< P, D >, and CLHEP::sp::ctrl_block_pda< P, D, A >.
Referenced by release().
virtual void* CLHEP::sp::abstract_ctrl_block::get_deleter | ( | std::type_info const & | ti | ) | [pure virtual] |
Implemented in CLHEP::sp::ctrl_block_p< P >, CLHEP::sp::ctrl_block_pd< P, D >, and CLHEP::sp::ctrl_block_pda< P, D, A >.
Referenced by CLHEP::sp::shared_ctrl_handle::get_deleter().
void CLHEP::sp::abstract_ctrl_block::release | ( | ) | throw () [inline] |
Definition at line 168 of file memory.h.
References class_invariant(), dispose(), and weak_release().
Referenced by CLHEP::sp::shared_ctrl_handle::~shared_ctrl_handle().
long CLHEP::sp::abstract_ctrl_block::use_count | ( | ) | const throw () [inline] |
Definition at line 191 of file memory.h.
References class_invariant().
Referenced by CLHEP::sp::weak_ctrl_handle::use_count(), and CLHEP::sp::shared_ctrl_handle::use_count().
void CLHEP::sp::abstract_ctrl_block::weak_add_ref | ( | ) | throw () [inline] |
Definition at line 161 of file memory.h.
References class_invariant().
Referenced by CLHEP::sp::weak_ctrl_handle::operator=(), and CLHEP::sp::weak_ctrl_handle::weak_ctrl_handle().
void CLHEP::sp::abstract_ctrl_block::weak_release | ( | ) | throw () [inline] |
Definition at line 176 of file memory.h.
References class_invariant(), and destroy().
Referenced by release(), and CLHEP::sp::weak_ctrl_handle::~weak_ctrl_handle().