Public Member Functions | Protected Member Functions

gnash::ref_counted Class Reference

For stuff that's tricky to keep track of w/r/t ownership & cleanup. The only use for this class seems to be for putting derived classes in smart_ptr. More...

#include <ref_counted.h>

Inheritance diagram for gnash::ref_counted:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ref_counted ()
 ref_counted (const ref_counted &)
void add_ref () const
void drop_ref () const
long get_ref_count () const

Protected Member Functions

virtual ~ref_counted ()

Detailed Description

For stuff that's tricky to keep track of w/r/t ownership & cleanup. The only use for this class seems to be for putting derived classes in smart_ptr.


Constructor & Destructor Documentation

virtual gnash::ref_counted::~ref_counted (  )  [inline, protected, virtual]
gnash::ref_counted::ref_counted (  )  [inline]
gnash::ref_counted::ref_counted ( const ref_counted  )  [inline]

Member Function Documentation

void gnash::ref_counted::add_ref (  )  const [inline]
void gnash::ref_counted::drop_ref (  )  const [inline]
long gnash::ref_counted::get_ref_count (  )  const [inline]

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