CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

CLHEP::sp::abstract_ctrl_block Class Reference

#include <memory.h>

Inheritance diagram for CLHEP::sp::abstract_ctrl_block:

CLHEP::noncopyable CLHEP::sp::ctrl_block_p< P > CLHEP::sp::ctrl_block_pd< P, D > CLHEP::sp::ctrl_block_pda< P, D, A > List of all members.

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 ()

Detailed Description

Definition at line 98 of file memory.h.


Constructor & Destructor Documentation

CLHEP::sp::abstract_ctrl_block::abstract_ctrl_block (  )  [inline]

Definition at line 134 of file memory.h.

References class_invariant().

CLHEP::sp::abstract_ctrl_block::~abstract_ctrl_block (  )  throw () [inline, virtual]

Definition at line 141 of file memory.h.

References class_invariant().


Member Function Documentation

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().


The documentation for this class was generated from the following file:
Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7