Gnash  0.8.10
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:
gnash::CachedBitmap gnash::Font gnash::sound_sample gnash::SWF::ControlTag gnash::agg_bitmap_info gnash::renderer::openvg::OpenVGBitmap gnash::SWF::DefineSceneAndFrameLabelDataTag gnash::SWF::DefinitionTag gnash::SWF::DisplayListTag gnash::SWF::DoABCTag gnash::SWF::DoActionTag gnash::SWF::DoInitActionTag gnash::SWF::ExportAssetsTag gnash::SWF::ImportAssetsTag gnash::SWF::ScriptLimitsTag gnash::SWF::SetBackgroundColorTag gnash::SWF::StartSoundTag gnash::SWF::StreamSoundBlockTag gnash::SWF::SymbolClassTag

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]

References assert.

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]

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]

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