|
Gnash
0.8.10
|
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>
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 () |
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.
| virtual gnash::ref_counted::~ref_counted | ( | ) | [inline, protected, virtual] |
References assert.
| gnash::ref_counted::ref_counted | ( | ) | [inline] |
| gnash::ref_counted::ref_counted | ( | const ref_counted & | ) | [inline] |
| void gnash::ref_counted::add_ref | ( | ) | const [inline] |
References assert.
Referenced by gnash::intrusive_ptr_add_ref().
| void gnash::ref_counted::drop_ref | ( | ) | const [inline] |
References assert.
Referenced by gnash::intrusive_ptr_release().
| long gnash::ref_counted::get_ref_count | ( | ) | const [inline] |
1.7.5