Classes | Typedefs | Functions

reference_counted_object.hpp File Reference

#include "boost/intrusive_ptr.hpp"
Include dependency graph for reference_counted_object.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  reference_counted_object

Typedefs

typedef boost::intrusive_ptr
< reference_counted_object
object_ptr
typedef boost::intrusive_ptr
< const
reference_counted_object
const_object_ptr

Functions

void intrusive_ptr_add_ref (const reference_counted_object *obj)
void intrusive_ptr_release (const reference_counted_object *obj)

Typedef Documentation

typedef boost::intrusive_ptr<const reference_counted_object> const_object_ptr

Definition at line 51 of file reference_counted_object.hpp.

typedef boost::intrusive_ptr<reference_counted_object> object_ptr

Definition at line 50 of file reference_counted_object.hpp.


Function Documentation

void intrusive_ptr_add_ref ( const reference_counted_object obj  )  [inline]

Definition at line 42 of file reference_counted_object.hpp.

References reference_counted_object::add_ref().

Referenced by variant::increment_refcount().

Here is the call graph for this function:

Here is the caller graph for this function:

void intrusive_ptr_release ( const reference_counted_object obj  )  [inline]

Definition at line 46 of file reference_counted_object.hpp.

References reference_counted_object::dec_ref().

Referenced by variant::release().

Here is the call graph for this function:

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:08:46 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs