1
<?xml version="1.0" encoding="iso-8859-1"?>
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
<title>Tp::StreamTubeServer::Tube Class Reference</title>
7
<link href="doxygen.css" rel="stylesheet" type="text/css" />
10
<table border="0" cellpadding="0" cellspacing="0" width="100%">
12
<td width="1"> </td>
13
<td class="postheader" valign="center">
15
<font color="#004faf">Home</font></a> ·
16
<a href="classes.html">
17
<font color="#004faf">All Classes</font></a> ·
18
<a href="namespaces.html">
19
<font color="#004faf">All Namespaces</font></a> ·
20
<a href="modules.html">
21
<font color="#004faf">Modules</font></a> ·
22
<a href="functions.html">
23
<font color="#004faf">Functions</font></a> ·
25
<font color="#004faf">Files</font></a>
29
<!-- Generated by Doxygen 1.7.6.1 -->
30
<div id="nav-path" class="navpath">
32
<li class="navelem"><a class="el" href="a00724.html">Tp</a> </li>
33
<li class="navelem"><a class="el" href="a00403.html">StreamTubeServer</a> </li>
34
<li class="navelem"><a class="el" href="a00410.html">Tube</a> </li>
40
<a href="#pub-methods">Public Member Functions</a> </div>
41
<div class="headertitle">
42
<div class="title">Tp::StreamTubeServer::Tube Class Reference</div> </div>
44
<div class="contents">
45
<!-- doxytag: class="Tp::StreamTubeServer::Tube" -->
46
<p>The <a class="el" href="a00410.html" title="The StreamTubeServer::Tube class represents a tube being handled by the server.">StreamTubeServer::Tube</a> class represents a tube being handled by the server.
47
<a href="a00410.html#details">More...</a></p>
49
<p><code>#include <<a class="el" href="a00706_source.html">TelepathyQt/StreamTubeServer</a>></code></p>
51
<p><a href="a00948.html">List of all members.</a></p>
52
<h2><a name="pub-methods"></a>
53
Public Member Functions</h2>
55
<li><a class="el" href="a00410.html#a6529318397d861649902642ae4711b77">Tube</a> ()
56
<li><a class="el" href="a00410.html#a7405a77abdebb5f0eeedeb73fb979652">Tube</a> (const AccountPtr &<a class="el" href="a00410.html#a12f8951e6ecd4162acf35404101df420">account</a>, const OutgoingStreamTubeChannelPtr &<a class="el" href="a00410.html#aa886319747f3b685f8ab9c9e9c13db4a">channel</a>)
57
<li><a class="el" href="a00410.html#a4582e0c1f763920a55241fb27d42e103">Tube</a> (const <a class="el" href="a00410.html">Tube</a> &other)
58
<li><a class="el" href="a00410.html#a71568f91c500a4e551c4f7b75ad9f971">~Tube</a> ()
59
<li>bool <a class="el" href="a00410.html#a63f048fc5177b4b652aaf8f83033c49d">isValid</a> () const
60
<li><a class="el" href="a00410.html">Tube</a> & <a class="el" href="a00410.html#a73282136752c854a99e67bbeac39bf8b">operator=</a> (const <a class="el" href="a00410.html">Tube</a> &other)
61
<li>const AccountPtr & <a class="el" href="a00410.html#a12f8951e6ecd4162acf35404101df420">account</a> () const
62
<li>const <br class="typebreak"/>
63
OutgoingStreamTubeChannelPtr & <a class="el" href="a00410.html#aa886319747f3b685f8ab9c9e9c13db4a">channel</a> () const
65
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
66
<div class="textblock"><p>The <a class="el" href="a00410.html" title="The StreamTubeServer::Tube class represents a tube being handled by the server.">StreamTubeServer::Tube</a> class represents a tube being handled by the server. </p>
67
</div><hr/><h2>Constructor & Destructor Documentation</h2>
68
<a class="anchor" id="a6529318397d861649902642ae4711b77"></a><!-- doxytag: member="Tp::StreamTubeServer::Tube::Tube" ref="a6529318397d861649902642ae4711b77" args="()" -->
70
<div class="memproto">
71
<table class="memname">
73
<td class="memname"><a class="el" href="a00410.html#a6529318397d861649902642ae4711b77">Tp::StreamTubeServer::Tube::Tube</a> </td>
75
<td class="paramname"></td><td>)</td>
81
<p>Constructs a new invalid <a class="el" href="a00410.html" title="The StreamTubeServer::Tube class represents a tube being handled by the server.">Tube</a> instance. </p>
85
<a class="anchor" id="a7405a77abdebb5f0eeedeb73fb979652"></a><!-- doxytag: member="Tp::StreamTubeServer::Tube::Tube" ref="a7405a77abdebb5f0eeedeb73fb979652" args="(const AccountPtr &account, const OutgoingStreamTubeChannelPtr &channel)" -->
87
<div class="memproto">
88
<table class="memname">
90
<td class="memname"><a class="el" href="a00410.html#a6529318397d861649902642ae4711b77">Tp::StreamTubeServer::Tube::Tube</a> </td>
92
<td class="paramtype">const AccountPtr & </td>
93
<td class="paramname"><em>account</em>, </td>
96
<td class="paramkey"></td>
98
<td class="paramtype">const OutgoingStreamTubeChannelPtr & </td>
99
<td class="paramname"><em>channel</em> </td>
109
<p>Constructs a <a class="el" href="a00410.html" title="The StreamTubeServer::Tube class represents a tube being handled by the server.">Tube</a> instance for the given tube <em>channel</em> originating from the given <em>account</em>.</p>
110
<dl class="params"><dt><b>Parameters:</b></dt><dd>
111
<table class="params">
112
<tr><td class="paramname">account</td><td>A pointer to the account object. </td></tr>
113
<tr><td class="paramname">channel</td><td>A pointer to the tube channel object. </td></tr>
120
<a class="anchor" id="a4582e0c1f763920a55241fb27d42e103"></a><!-- doxytag: member="Tp::StreamTubeServer::Tube::Tube" ref="a4582e0c1f763920a55241fb27d42e103" args="(const Tube &other)" -->
121
<div class="memitem">
122
<div class="memproto">
123
<table class="memname">
125
<td class="memname"><a class="el" href="a00410.html#a6529318397d861649902642ae4711b77">Tp::StreamTubeServer::Tube::Tube</a> </td>
127
<td class="paramtype">const <a class="el" href="a00410.html">Tube</a> & </td>
128
<td class="paramname"><em>other</em></td><td>)</td>
134
<p>Copy constructor. </p>
138
<a class="anchor" id="a71568f91c500a4e551c4f7b75ad9f971"></a><!-- doxytag: member="Tp::StreamTubeServer::Tube::~Tube" ref="a71568f91c500a4e551c4f7b75ad9f971" args="()" -->
139
<div class="memitem">
140
<div class="memproto">
141
<table class="memname">
143
<td class="memname"><a class="el" href="a00410.html#a71568f91c500a4e551c4f7b75ad9f971">Tp::StreamTubeServer::Tube::~Tube</a> </td>
145
<td class="paramname"></td><td>)</td>
151
<p>Class destructor. </p>
155
<hr/><h2>Member Function Documentation</h2>
156
<a class="anchor" id="a63f048fc5177b4b652aaf8f83033c49d"></a><!-- doxytag: member="Tp::StreamTubeServer::Tube::isValid" ref="a63f048fc5177b4b652aaf8f83033c49d" args="() const " -->
157
<div class="memitem">
158
<div class="memproto">
159
<table class="memname">
161
<td class="memname">bool <a class="el" href="a00410.html#a63f048fc5177b4b652aaf8f83033c49d">Tp::StreamTubeServer::Tube::isValid</a> </td>
163
<td class="paramname"></td><td>)</td>
164
<td> const<code> [inline]</code></td>
169
<p>Return whether or not the tube is valid or is just the null object created using the default constructor.</p>
170
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if valid, <code>false</code> otherwise. </dd></dl>
174
<a class="anchor" id="a73282136752c854a99e67bbeac39bf8b"></a><!-- doxytag: member="Tp::StreamTubeServer::Tube::operator=" ref="a73282136752c854a99e67bbeac39bf8b" args="(const Tube &other)" -->
175
<div class="memitem">
176
<div class="memproto">
177
<table class="memname">
179
<td class="memname"><a class="el" href="a00410.html">StreamTubeServer::Tube</a> & Tp::StreamTubeServer::Tube::operator= </td>
181
<td class="paramtype">const <a class="el" href="a00410.html">Tube</a> & </td>
182
<td class="paramname"><em>other</em></td><td>)</td>
188
<p>Assignment operator. </p>
192
<a class="anchor" id="a12f8951e6ecd4162acf35404101df420"></a><!-- doxytag: member="Tp::StreamTubeServer::Tube::account" ref="a12f8951e6ecd4162acf35404101df420" args="() const " -->
193
<div class="memitem">
194
<div class="memproto">
195
<table class="memname">
197
<td class="memname">AccountPtr <a class="el" href="a00410.html#a12f8951e6ecd4162acf35404101df420">Tp::StreamTubeServer::Tube::account</a> </td>
199
<td class="paramname"></td><td>)</td>
200
<td> const<code> [inline]</code></td>
205
<p>Return the account from which the tube originates.</p>
206
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the account object. </dd></dl>
210
<a class="anchor" id="aa886319747f3b685f8ab9c9e9c13db4a"></a><!-- doxytag: member="Tp::StreamTubeServer::Tube::channel" ref="aa886319747f3b685f8ab9c9e9c13db4a" args="() const " -->
211
<div class="memitem">
212
<div class="memproto">
213
<table class="memname">
215
<td class="memname">OutgoingStreamTubeChannelPtr <a class="el" href="a00410.html#aa886319747f3b685f8ab9c9e9c13db4a">Tp::StreamTubeServer::Tube::channel</a> </td>
217
<td class="paramname"></td><td>)</td>
218
<td> const<code> [inline]</code></td>
223
<p>Return the actual tube channel.</p>
224
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the channel. </dd></dl>
228
</div><!-- contents -->
229
<p /><address><hr /><div align="center">
230
<table width="100%" cellspacing="0" border="0"><tr class="address">
231
<td width="30%">Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation</td>
232
<td width="30%" align="right"><div align="right">Telepathy-Qt 0.9.3</div></td>
233
</tr></table></div></address>