NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | List of all members
nvbio::internals::CountedBase_impl< PtrT, DeleterT, CounterT > Class Template Reference

Detailed description

template< typename PtrT, typename DeleterT, typename CounterT>
class nvbio::internals::CountedBase_impl< PtrT, DeleterT, CounterT >

Definition at line 106 of file shared_pointer.h.

#include <shared_pointer.h>

Inheritance diagram for nvbio::internals::CountedBase_impl< PtrT, DeleterT, CounterT >:
nvbio::internals::CountedBase< CounterT >

Public Methods

 CountedBase_impl (PtrT p, DeleterT d)
 
virtual void dispose ()
 called when m_shcount goes to 0 More...
 
virtual void * get_deleter (const std::type_info &ti)
 
- Public Methods inherited from nvbio::internals::CountedBase< CounterT >
 CountedBase ()
 
virtual ~CountedBase ()
 
virtual void destroy ()
 called when m_wkcount goes to 0 More...
 
void add_ref_copy ()
 
void add_ref_lock ()
 
void release ()
 
void weak_add_ref ()
 
void weak_release ()
 
Counter_Type use_count () const
 

Additional Inherited Members

- Public Types inherited from nvbio::internals::CountedBase< CounterT >
typedef CounterT Counter_Type
 

Constructor & Destructor Documentation

template<typename PtrT, typename DeleterT, typename CounterT>
nvbio::internals::CountedBase_impl< PtrT, DeleterT, CounterT >::CountedBase_impl ( PtrT  p,
DeleterT  d 
)
inline

Definition at line 109 of file shared_pointer.h.

Member Function Documentation

template<typename PtrT, typename DeleterT, typename CounterT>
virtual void nvbio::internals::CountedBase_impl< PtrT, DeleterT, CounterT >::dispose ( )
inlinevirtual

called when m_shcount goes to 0

Implements nvbio::internals::CountedBase< CounterT >.

Definition at line 115 of file shared_pointer.h.

template<typename PtrT, typename DeleterT, typename CounterT>
virtual void* nvbio::internals::CountedBase_impl< PtrT, DeleterT, CounterT >::get_deleter ( const std::type_info &  ti)
inlinevirtual

Implements nvbio::internals::CountedBase< CounterT >.

Definition at line 117 of file shared_pointer.h.


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