DBus::RefPtr< T > Class Template Reference

#include <util.h>

Inheritance diagram for DBus::RefPtr< T >:

List of all members.

Public Member Functions

 RefPtr (T *ptr=0)
 ~RefPtr ()
RefPtroperator= (const RefPtr &ref)
T & operator* () const
T * operator-> () const
T * get () const

Private Attributes

T * __ptr
RefCnt __cnt

Detailed Description

template<class T>
class DBus::RefPtr< T >

Definition at line 159 of file util.h.


Constructor & Destructor Documentation

template<class T>
DBus::RefPtr< T >::RefPtr ( T *  ptr = 0  )  [inline]

Definition at line 163 of file util.h.

template<class T>
DBus::RefPtr< T >::~RefPtr (  )  [inline]

Definition at line 167 of file util.h.


Member Function Documentation

template<class T>
T* DBus::RefPtr< T >::get (  )  const [inline]

Definition at line 196 of file util.h.

Referenced by DBus::Slot< void, const SignalMessage & >::empty().

template<class T>
T& DBus::RefPtr< T >::operator* (  )  const [inline]

Definition at line 184 of file util.h.

template<class T>
T* DBus::RefPtr< T >::operator-> (  )  const [inline]

Definition at line 189 of file util.h.

template<class T>
RefPtr& DBus::RefPtr< T >::operator= ( const RefPtr< T > &  ref  )  [inline]

Definition at line 172 of file util.h.


Member Data Documentation


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