File: classTp_1_1RefCounted.html

package info (click to toggle)
telepathy-qt4 0.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 14,260 kB
  • ctags: 12,185
  • sloc: cpp: 29,241; xml: 23,692; ansic: 16,079; sh: 10,327; python: 3,080; makefile: 1,553
file content (162 lines) | stat: -rw-r--r-- 7,649 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>TelepathyQt4: Tp::RefCounted Class Reference</title>
  <link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="1">&nbsp;&nbsp;</td>
<td class="postheader" valign="center">
<a href="index.html">
<font color="#004faf">Home</font></a>&nbsp;&middot;
<a href="classes.html">
<font color="#004faf">All Classes</font></a>&nbsp;&middot;
<a href="namespaces.html">
<font color="#004faf">All Namespaces</font></a>&nbsp;&middot;
<a href="modules.html">
<font color="#004faf">Modules</font></a>&nbsp;&middot;
<a href="functions.html">
<font color="#004faf">Functions</font></a>&nbsp;&middot;
<a href="files.html">
<font color="#004faf">Files</font></a>
</td>
</tr>
</table>
</body>
</html>
<!-- Generated by Doxygen 1.6.3 -->
  <div class="navpath"><a class="el" href="namespaceTp.html">Tp</a>::<a class="el" href="classTp_1_1RefCounted.html">RefCounted</a>
  </div>
<div class="contents">
<h1>Tp::RefCounted Class Reference</h1><!-- doxytag: class="Tp::RefCounted" -->
<p><code>#include &lt;<a class="el" href="shared-ptr_8h_source.html">&gt;</a>&gt;</code></p>

<p>Inherited by <a class="el" href="classTp_1_1MethodInvocationContext.html">Tp::MethodInvocationContext&lt;&gt;</a>, <a class="el" href="classTp_1_1AbstractClient.html">Tp::AbstractClient</a>, <a class="el" href="classTp_1_1Account.html">Tp::Account</a>, <a class="el" href="classTp_1_1AccountManager.html">Tp::AccountManager</a>, <a class="el" href="classTp_1_1AccountSet.html">Tp::AccountSet</a>, <a class="el" href="classTp_1_1Channel.html">Tp::Channel</a>, <a class="el" href="classTp_1_1ChannelDispatchOperation.html">Tp::ChannelDispatchOperation</a>, <a class="el" href="classTp_1_1ChannelRequest.html">Tp::ChannelRequest</a>, <a class="el" href="classTp_1_1ClientRegistrar.html">Tp::ClientRegistrar</a>, <a class="el" href="classTp_1_1Connection.html">Tp::Connection</a>, <a class="el" href="classTp_1_1ConnectionManager.html">Tp::ConnectionManager</a>, <a class="el" href="classTp_1_1MediaContent.html">Tp::MediaContent</a>, <a class="el" href="classTp_1_1MediaStream.html">Tp::MediaStream</a>, <a class="el" href="classTp_1_1MethodInvocationContext.html">Tp::MethodInvocationContext&lt; T1, T2, T3, T4, T5, T6, T7, T8 &gt;</a>, and <a class="el" href="classTp_1_1ObjectFactory.html">Tp::ObjectFactory</a>.</p>

<p><a href="classTp_1_1RefCounted-members.html">List of all members.</a></p>
<h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="classTp_1_1RefCounted.html#ace03ea74806fd9a180b8863ae23c838c">RefCounted</a> ()
<li>virtual <a class="el" href="classTp_1_1RefCounted.html#a56b3618d2e02f6999c77da00d4e1bfd4">~RefCounted</a> ()
<li>void <a class="el" href="classTp_1_1RefCounted.html#ae8c4f589c83eb25f68cb3f496d6f48b8">ref</a> ()
<li>bool <a class="el" href="classTp_1_1RefCounted.html#af189ec755a2ea9963341de35ebeeb7d2">deref</a> ()
</ul>
<h2>Public Attributes</h2>
<ul>
<li>QAtomicInt <a class="el" href="classTp_1_1RefCounted.html#a76c6988cd2e89252a44e0b89893eb416">strongref</a>
<li><a class="el" href="classTp_1_1WeakData.html">WeakData</a> * <a class="el" href="classTp_1_1RefCounted.html#aa61da81faa9ba4aec451b32904842cc0">wd</a>
</ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>&lt;TelepathyQt4/SharedPtr&gt;</p>
<p>The <a class="el" href="classTp_1_1RefCounted.html">RefCounted</a> is designed to be used with <a class="el" href="classTp_1_1SharedPtr.html">SharedPtr</a> or <a class="el" href="classTp_1_1WeakPtr.html">WeakPtr</a> to implement custom  {explicitly shared} classes.</p>
<p>See <a class="el" href="classTp_1_1SharedPtr.html">SharedPtr</a> and <a class="el" href="classTp_1_1WeakPtr.html">WeakPtr</a> for details. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ace03ea74806fd9a180b8863ae23c838c"></a><!-- doxytag: member="Tp::RefCounted::RefCounted" ref="ace03ea74806fd9a180b8863ae23c838c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Tp::RefCounted::RefCounted </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructs a <a class="el" href="classTp_1_1RefCounted.html">RefCounted</a> object with a reference count of 0. </p>

</div>
</div>
<a class="anchor" id="a56b3618d2e02f6999c77da00d4e1bfd4"></a><!-- doxytag: member="Tp::RefCounted::~RefCounted" ref="a56b3618d2e02f6999c77da00d4e1bfd4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Tp::RefCounted::~RefCounted </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae8c4f589c83eb25f68cb3f496d6f48b8"></a><!-- doxytag: member="Tp::RefCounted::ref" ref="ae8c4f589c83eb25f68cb3f496d6f48b8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Tp::RefCounted::ref </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af189ec755a2ea9963341de35ebeeb7d2"></a><!-- doxytag: member="Tp::RefCounted::deref" ref="af189ec755a2ea9963341de35ebeeb7d2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Tp::RefCounted::deref </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a76c6988cd2e89252a44e0b89893eb416"></a><!-- doxytag: member="Tp::RefCounted::strongref" ref="a76c6988cd2e89252a44e0b89893eb416" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QAtomicInt <a class="el" href="classTp_1_1RefCounted.html#a76c6988cd2e89252a44e0b89893eb416">Tp::RefCounted::strongref</a><code> [mutable]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa61da81faa9ba4aec451b32904842cc0"></a><!-- doxytag: member="Tp::RefCounted::wd" ref="aa61da81faa9ba4aec451b32904842cc0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classTp_1_1WeakData.html">WeakData</a>* <a class="el" href="classTp_1_1RefCounted.html#aa61da81faa9ba4aec451b32904842cc0">Tp::RefCounted::wd</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2008-2010 Collabora Ltd. and Nokia Corporation</td>
<td width="30%" align="right"><div align="right">Telepathy-Qt4 0.3.6</div></td>
</tr></table></div></address>
</body>
</html>