CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
Myth::shared_ptr_base Class Reference
Inheritance diagram for Myth::shared_ptr_base:

Protected Member Functions

 shared_ptr_base (const shared_ptr_base &s)
shared_ptr_base & operator= (const shared_ptr_base &s)
bool clear_counter ()
void reset_counter ()
void swap_counter (shared_ptr_base &s)
int get_count () const
bool is_null () const

Private Attributes

OS::Atomic * pc
OS::Atomic * spare

Detailed Description

Definition at line 34 of file mythsharedptr.h.

Constructor & Destructor Documentation

◆ ~shared_ptr_base()

shared_ptr_base::~shared_ptr_base ( )
protectedvirtual

Definition at line 33 of file mythsharedptr.cpp.

◆ shared_ptr_base() [1/2]

shared_ptr_base::shared_ptr_base ( )
protected

Definition at line 29 of file mythsharedptr.cpp.

◆ shared_ptr_base() [2/2]

shared_ptr_base::shared_ptr_base ( const shared_ptr_base & s)
protected

Definition at line 40 of file mythsharedptr.cpp.

Member Function Documentation

◆ clear_counter()

bool shared_ptr_base::clear_counter ( )
protected

Definition at line 60 of file mythsharedptr.cpp.

◆ get_count()

int shared_ptr_base::get_count ( ) const
protected

Definition at line 99 of file mythsharedptr.cpp.

◆ is_null()

bool Myth::shared_ptr_base::is_null ( ) const
inlineprotected

Definition at line 48 of file mythsharedptr.h.

◆ operator=()

shared_ptr_base & shared_ptr_base::operator= ( const shared_ptr_base & s)
protected

Definition at line 48 of file mythsharedptr.cpp.

◆ reset_counter()

void shared_ptr_base::reset_counter ( )
protected

Definition at line 75 of file mythsharedptr.cpp.

◆ swap_counter()

void shared_ptr_base::swap_counter ( shared_ptr_base & s)
protected

Definition at line 92 of file mythsharedptr.cpp.

Field Documentation

◆ pc

OS::Atomic* Myth::shared_ptr_base::pc
private

Definition at line 37 of file mythsharedptr.h.

◆ spare

OS::Atomic* Myth::shared_ptr_base::spare
private

Definition at line 38 of file mythsharedptr.h.


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