DBus::RefPtr< T > Class Template Reference
#include <util.h>
Public Member Functions | |
RefPtr (T *ptr=0) | |
~RefPtr () | |
RefPtr & | operator= (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
DBus::RefPtr< T >::RefPtr | ( | T * | ptr = 0 |
) | [inline] |
DBus::RefPtr< T >::~RefPtr | ( | ) | [inline] |
Member Function Documentation
T* DBus::RefPtr< T >::get | ( | ) | const [inline] |
Definition at line 196 of file util.h.
Referenced by DBus::Slot< void, const SignalMessage & >::empty().
T& DBus::RefPtr< T >::operator* | ( | ) | const [inline] |
T* DBus::RefPtr< T >::operator-> | ( | ) | const [inline] |
RefPtr& DBus::RefPtr< T >::operator= | ( | const RefPtr< T > & | ref | ) | [inline] |
Member Data Documentation
RefCnt DBus::RefPtr< T >::__cnt [private] |
Definition at line 206 of file util.h.
Referenced by DBus::RefPtr< Callback_Base< bool, const Message & > >::get(), DBus::RefPtr< Callback_Base< bool, const Message & > >::operator->(), DBus::RefPtr< Callback_Base< bool, const Message & > >::operator=(), and DBus::RefPtr< Callback_Base< bool, const Message & > >::~RefPtr().
T* DBus::RefPtr< T >::__ptr [private] |
Definition at line 205 of file util.h.
Referenced by DBus::RefPtr< Callback_Base< bool, const Message & > >::get(), DBus::RefPtr< Callback_Base< bool, const Message & > >::operator*(), DBus::RefPtr< Callback_Base< bool, const Message & > >::operator->(), DBus::RefPtr< Callback_Base< bool, const Message & > >::operator=(), and DBus::RefPtr< Callback_Base< bool, const Message & > >::~RefPtr().
The documentation for this class was generated from the following file: