#include <bookkeeping.h>
Public Types | |
typedef NoType | BaseObjectType |
typedef void | BaseType |
typedef TDeleter | DeleterType |
typedef TObject | ObjectType |
typedef RefCountedObject < TObject, TDeleter, NoType > | ThisType |
Public Member Functions | |
const DeleterType & | deleter (void) const |
DeleterType & | deleter (void) |
bool | isNull (void) const |
const ObjectType * | object (void) const |
ObjectType * | object (void) |
void | ref (void) |
int | refCount (void) const |
RefCountedObject (ObjectType *object, const DeleterType &deleter) | |
void | setNull (bool deleteObject) |
void | unref (void) |
~RefCountedObject (void) | |
Private Member Functions | |
void | destroyObject (void) |
ThisType & | operator= (const ThisType &other) |
RefCountedObject (const ThisType &other) | |
Private Attributes | |
DeleterType | m_deleter |
ObjectType * | m_object |
int | m_refCount |
Definition at line 54 of file bookkeeping.h.
typedef NoType glw::detail::RefCountedObject< TObject, TDeleter, NoType >::BaseObjectType |
Definition at line 62 of file bookkeeping.h.
typedef void glw::detail::RefCountedObject< TObject, TDeleter, NoType >::BaseType |
Definition at line 58 of file bookkeeping.h.
typedef TDeleter glw::detail::RefCountedObject< TObject, TDeleter, NoType >::DeleterType |
Definition at line 61 of file bookkeeping.h.
typedef TObject glw::detail::RefCountedObject< TObject, TDeleter, NoType >::ObjectType |
Definition at line 60 of file bookkeeping.h.
typedef RefCountedObject<TObject, TDeleter, NoType> glw::detail::RefCountedObject< TObject, TDeleter, NoType >::ThisType |
Definition at line 59 of file bookkeeping.h.
glw::detail::RefCountedObject< TObject, TDeleter, NoType >::RefCountedObject | ( | ObjectType * | object, |
const DeleterType & | deleter | ||
) | [inline] |
Definition at line 64 of file bookkeeping.h.
glw::detail::RefCountedObject< TObject, TDeleter, NoType >::~RefCountedObject | ( | void | ) | [inline] |
Definition at line 72 of file bookkeeping.h.
glw::detail::RefCountedObject< TObject, TDeleter, NoType >::RefCountedObject | ( | const ThisType & | other | ) | [private] |
const DeleterType& glw::detail::RefCountedObject< TObject, TDeleter, NoType >::deleter | ( | void | ) | const [inline] |
Definition at line 101 of file bookkeeping.h.
DeleterType& glw::detail::RefCountedObject< TObject, TDeleter, NoType >::deleter | ( | void | ) | [inline] |
Definition at line 106 of file bookkeeping.h.
void glw::detail::RefCountedObject< TObject, TDeleter, NoType >::destroyObject | ( | void | ) | [inline, private] |
Definition at line 140 of file bookkeeping.h.
bool glw::detail::RefCountedObject< TObject, TDeleter, NoType >::isNull | ( | void | ) | const [inline] |
Definition at line 77 of file bookkeeping.h.
const ObjectType* glw::detail::RefCountedObject< TObject, TDeleter, NoType >::object | ( | void | ) | const [inline] |
Definition at line 91 of file bookkeeping.h.
ObjectType* glw::detail::RefCountedObject< TObject, TDeleter, NoType >::object | ( | void | ) | [inline] |
Definition at line 96 of file bookkeeping.h.
ThisType& glw::detail::RefCountedObject< TObject, TDeleter, NoType >::operator= | ( | const ThisType & | other | ) | [private] |
void glw::detail::RefCountedObject< TObject, TDeleter, NoType >::ref | ( | void | ) | [inline] |
Definition at line 111 of file bookkeeping.h.
int glw::detail::RefCountedObject< TObject, TDeleter, NoType >::refCount | ( | void | ) | const [inline] |
Definition at line 126 of file bookkeeping.h.
void glw::detail::RefCountedObject< TObject, TDeleter, NoType >::setNull | ( | bool | deleteObject | ) | [inline] |
Definition at line 82 of file bookkeeping.h.
void glw::detail::RefCountedObject< TObject, TDeleter, NoType >::unref | ( | void | ) | [inline] |
Definition at line 116 of file bookkeeping.h.
DeleterType glw::detail::RefCountedObject< TObject, TDeleter, NoType >::m_deleter [private] |
Definition at line 135 of file bookkeeping.h.
ObjectType* glw::detail::RefCountedObject< TObject, TDeleter, NoType >::m_object [private] |
Definition at line 133 of file bookkeeping.h.
int glw::detail::RefCountedObject< TObject, TDeleter, NoType >::m_refCount [private] |
Definition at line 134 of file bookkeeping.h.