Home · All Classes · All Namespaces · Modules · Functions · Files

RefCounted Class Reference

#include <TelepathyQt4/SharedPtr>

Inherited by MethodInvocationContext<>, AbstractClient, Account, AccountManager, Channel, ChannelDispatchOperation, ChannelRequest, ClientRegistrar, Connection, ConnectionManager, MediaStream, and MethodInvocationContext< T1, T2, T3, T4, T5, T6, T7, T8 >.

List of all members.

Public Member Functions

Public Attributes


Detailed Description

The RefCounted is designed to be used with SharedPtr or WeakPtr to implement custom {explicitly shared} classes.

See SharedPtr and WeakPtr for details.


Constructor & Destructor Documentation

RefCounted (  )  [inline]

Constructs a RefCounted object with a reference count of 0.

virtual ~RefCounted (  )  [inline, virtual]


Member Function Documentation

void ref (  )  [inline]

bool deref (  )  [inline]


Member Data Documentation

QAtomicInt strongref [mutable]


Copyright © 2009 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.1.10