refcount.h File Reference


Detailed Description

Defines the reference countable type omgui::RefCountable.

Date:
Crated: 2005-04-05

#include <omgui/dllimpexp.h>
#include <functional>
#include <assert.h>

Go to the source code of this file.

Namespaces

namespace  omgui

Classes

class  omgui::Pointer< T >
class  omgui::RefCountable
class  omgui::RefCounted
 Implements RefCountable as simply as possible. More...

Functions

void intrusive_ptr_add_ref (omgui::RefCountable *countable)
void intrusive_ptr_release (omgui::RefCountable *countable)
template<typename T, typename U>
bool omgui::operator!= (T *lhs, const Pointer< U > &rhs)
template<typename T, typename U>
bool omgui::operator!= (const Pointer< T > &lhs, U *rhs)
template<typename T, typename U>
bool omgui::operator!= (const Pointer< T > &lhs, const Pointer< U > &rhs)
template<typename T>
bool omgui::operator< (const Pointer< T > &lhs, const Pointer< T > &rhs)
template<typename T, typename U>
bool omgui::operator== (T *lhs, const Pointer< U > &rhs)
template<typename T, typename U>
bool omgui::operator== (const Pointer< T > &lhs, U *rhs)
template<typename T, typename U>
bool omgui::operator== (const Pointer< T > &lhs, const Pointer< U > &rhs)
template<typename U>
void omgui::swap (Pointer< U > &lhs, Pointer< U > &rhs)


Function Documentation

void intrusive_ptr_add_ref ( omgui::RefCountable countable  ) 

Supports Pointer reference counting

void intrusive_ptr_release ( omgui::RefCountable countable  ) 

Supports Pointer reference counting


doxygen SourceForge.net Logo