Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > bd29e346140bd3fbcbf1674e576e565a > files > 538

libsigc++2.0-doc-2.2.7-1mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>libsigc++: sigc::connection Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacesigc.html">sigc</a>::<a class="el" href="structsigc_1_1connection.html">connection</a>
  </div>
</div>
<div class="contents">
<h1>sigc::connection Struct Reference<br/>
<small>
[<a class="el" href="group__signal.html">Signals</a>]</small>
</h1><!-- doxytag: class="sigc::connection" -->
<p>Convinience class for safe disconnection. <a href="#_details">More...</a></p>

<p><code>#include &lt;sigc++/connection.h&gt;</code></p>

<p><a href="structsigc_1_1connection-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#a9b74451c9a6a53bcc704a879f088cc7d">connection</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs an empty <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object. <a href="#a9b74451c9a6a53bcc704a879f088cc7d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#ad13d5e3331cc9b1494e0edb8fa37fdba">connection</a> (const <a class="el" href="structsigc_1_1connection.html">connection</a>&amp; c)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object copying an existing one. <a href="#ad13d5e3331cc9b1494e0edb8fa37fdba"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T_slot &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#a2c59699f1f6aefa74a387d62a9a85e68">connection</a> (const <a class="el" href="structsigc_1_1slot__iterator.html">slot_iterator</a>&lt; T_slot &gt;&amp; it)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object from a <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> list iterator. <a href="#a2c59699f1f6aefa74a387d62a9a85e68"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#a124709de26781e5ffcf8bbb5dcd621ed">connection</a> (<a class="el" href="classsigc_1_1slot__base.html">slot_base</a>&amp; sl)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object from a <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> object. <a href="#a124709de26781e5ffcf8bbb5dcd621ed"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structsigc_1_1connection.html">connection</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#a016094b53bafdc9ce593febb68cb00a5">operator=</a> (const <a class="el" href="structsigc_1_1connection.html">connection</a>&amp; c)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Overrides this <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object copying another one. <a href="#a016094b53bafdc9ce593febb68cb00a5"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T_slot &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structsigc_1_1connection.html">connection</a>&amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#a4ac3b12c4c55463166189db98701999d">operator=</a> (const <a class="el" href="structsigc_1_1slot__iterator.html">slot_iterator</a>&lt; T_slot &gt;&amp; it)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Overrides this <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object with another <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> list iterator. <a href="#a4ac3b12c4c55463166189db98701999d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#a95ddcc6d1009adda4f2cc19cf246d2c7">empty</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is still active. <a href="#a95ddcc6d1009adda4f2cc19cf246d2c7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#a86fcc7064a64aa15528d454b7f078225">connected</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is still active. <a href="#a86fcc7064a64aa15528d454b7f078225"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#a2c8ce2977a9e681d06c594ad90b41098">blocked</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is blocked. <a href="#a2c8ce2977a9e681d06c594ad90b41098"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#a6b09ee3010464b22abb3269935afcc49">block</a> (bool should_block=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or unsets the blocking state of this <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a>. <a href="#a6b09ee3010464b22abb3269935afcc49"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#aef87f355a73d50e8e54228a6fcbd1c6e">unblock</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Unsets the blocking state of this <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a>. <a href="#aef87f355a73d50e8e54228a6fcbd1c6e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0452bd182a61650d14a9664d6297ed1b"></a><!-- doxytag: member="sigc::connection::disconnect" ref="a0452bd182a61650d14a9664d6297ed1b" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#a0452bd182a61650d14a9664d6297ed1b">disconnect</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Disconnects the referred <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#a67441b54b559cb1f84df9293dc0f5787">operator bool</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is still active. <a href="#a67441b54b559cb1f84df9293dc0f5787"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1connection.html#ad45fe90d68fe295e76e130b070e97070">notify</a> (void* data)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback that is executed when the referred <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> is destroyed. <a href="#ad45fe90d68fe295e76e130b070e97070"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Convinience class for safe disconnection. </p>
<p>Iterators must not be used beyond the lifetime of the list they work on. A <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object can be created from a <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> list iterator and may safely be used to disconnect the referred <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> at any time (<a class="el" href="structsigc_1_1connection.html#a0452bd182a61650d14a9664d6297ed1b" title="Disconnects the referred slot.">disconnect()</a>). If the <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> has already been destroyed, <a class="el" href="structsigc_1_1connection.html#a0452bd182a61650d14a9664d6297ed1b" title="Disconnects the referred slot.">disconnect()</a> does nothing. <a class="el" href="structsigc_1_1connection.html#a95ddcc6d1009adda4f2cc19cf246d2c7" title="Returns whether the connection is still active.">empty()</a> or operator bool() can be used to test whether the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is still active. The <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> can be blocked (<a class="el" href="structsigc_1_1connection.html#a6b09ee3010464b22abb3269935afcc49" title="Sets or unsets the blocking state of this connection.">block()</a>, <a class="el" href="structsigc_1_1connection.html#aef87f355a73d50e8e54228a6fcbd1c6e" title="Unsets the blocking state of this connection.">unblock()</a>).</p>
<p>This is possible because the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object gets notified when the referred <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> dies (<a class="el" href="structsigc_1_1connection.html#ad45fe90d68fe295e76e130b070e97070" title="Callback that is executed when the referred slot is destroyed.">notify()</a>). </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9b74451c9a6a53bcc704a879f088cc7d"></a><!-- doxytag: member="sigc::connection::connection" ref="a9b74451c9a6a53bcc704a879f088cc7d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sigc::connection::connection </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs an empty <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object. </p>

</div>
</div>
<a class="anchor" id="ad13d5e3331cc9b1494e0edb8fa37fdba"></a><!-- doxytag: member="sigc::connection::connection" ref="ad13d5e3331cc9b1494e0edb8fa37fdba" args="(const connection &amp;c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sigc::connection::connection </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structsigc_1_1connection.html">connection</a>&amp;&#160;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object copying an existing one. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>c</em>&#160;</td><td>The <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object to make a copy from. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2c59699f1f6aefa74a387d62a9a85e68"></a><!-- doxytag: member="sigc::connection::connection" ref="a2c59699f1f6aefa74a387d62a9a85e68" args="(const slot_iterator&lt; T_slot &gt; &amp;it)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;typename T_slot &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">sigc::connection::connection </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structsigc_1_1slot__iterator.html">slot_iterator</a>&lt; T_slot &gt;&amp;&#160;</td>
          <td class="paramname"> <em>it</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object from a <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> list iterator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>it</em>&#160;</td><td>The <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> list iterator to take the <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> from. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a124709de26781e5ffcf8bbb5dcd621ed"></a><!-- doxytag: member="sigc::connection::connection" ref="a124709de26781e5ffcf8bbb5dcd621ed" args="(slot_base &amp;sl)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sigc::connection::connection </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsigc_1_1slot__base.html">slot_base</a>&amp;&#160;</td>
          <td class="paramname"> <em>sl</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object from a <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> object. </p>
<p>This is only useful if you create your own <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> list. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sl</em>&#160;</td><td>The <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> to operate on. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a6b09ee3010464b22abb3269935afcc49"></a><!-- doxytag: member="sigc::connection::block" ref="a6b09ee3010464b22abb3269935afcc49" args="(bool should_block=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool sigc::connection::block </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>should_block</em> = <code>true</code></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets or unsets the blocking state of this <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a>. </p>
<p>See <a class="el" href="classsigc_1_1slot__base.html#a69042c2e2b0e5449fbf8203e862192a7" title="Sets the blocking state.">slot_base::block()</a> for details. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>should_block</em>&#160;</td><td>Indicates whether the blocking state should be set or unset. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> has been in blocking state before. </dd></dl>

</div>
</div>
<a class="anchor" id="a2c8ce2977a9e681d06c594ad90b41098"></a><!-- doxytag: member="sigc::connection::blocked" ref="a2c8ce2977a9e681d06c594ad90b41098" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool sigc::connection::blocked </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is blocked. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is blocked. </dd></dl>

</div>
</div>
<a class="anchor" id="a86fcc7064a64aa15528d454b7f078225"></a><!-- doxytag: member="sigc::connection::connected" ref="a86fcc7064a64aa15528d454b7f078225" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool sigc::connection::connected </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is still active. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is still active. </dd></dl>

</div>
</div>
<a class="anchor" id="a95ddcc6d1009adda4f2cc19cf246d2c7"></a><!-- doxytag: member="sigc::connection::empty" ref="a95ddcc6d1009adda4f2cc19cf246d2c7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool sigc::connection::empty </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is still active. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>false</code> if the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is still active. </dd></dl>

</div>
</div>
<a class="anchor" id="ad45fe90d68fe295e76e130b070e97070"></a><!-- doxytag: member="sigc::connection::notify" ref="ad45fe90d68fe295e76e130b070e97070" args="(void *data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void* sigc::connection::notify </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"> <em>data</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Callback that is executed when the referred <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> is destroyed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>d</em>&#160;</td><td>The <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object notified (<code>this</code>). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a67441b54b559cb1f84df9293dc0f5787"></a><!-- doxytag: member="sigc::connection::operator bool" ref="a67441b54b559cb1f84df9293dc0f5787" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sigc::connection::operator bool </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is still active. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> is still active. </dd></dl>

</div>
</div>
<a class="anchor" id="a4ac3b12c4c55463166189db98701999d"></a><!-- doxytag: member="sigc::connection::operator=" ref="a4ac3b12c4c55463166189db98701999d" args="(const slot_iterator&lt; T_slot &gt; &amp;it)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;typename T_slot &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structsigc_1_1connection.html">connection</a>&amp; sigc::connection::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structsigc_1_1slot__iterator.html">slot_iterator</a>&lt; T_slot &gt;&amp;&#160;</td>
          <td class="paramname"> <em>it</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Overrides this <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object with another <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> list iterator. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>it</em>&#160;</td><td>The new <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> list iterator to take the <a class="el" href="classsigc_1_1slot.html" title="Convenience wrapper for the numbered sigc::slot# templates.">slot</a> from. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a016094b53bafdc9ce593febb68cb00a5"></a><!-- doxytag: member="sigc::connection::operator=" ref="a016094b53bafdc9ce593febb68cb00a5" args="(const connection &amp;c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structsigc_1_1connection.html">connection</a>&amp; sigc::connection::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structsigc_1_1connection.html">connection</a>&amp;&#160;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Overrides this <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object copying another one. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>c</em>&#160;</td><td>The <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> object to make a copy from. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aef87f355a73d50e8e54228a6fcbd1c6e"></a><!-- doxytag: member="sigc::connection::unblock" ref="aef87f355a73d50e8e54228a6fcbd1c6e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool sigc::connection::unblock </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Unsets the blocking state of this <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the <a class="el" href="structsigc_1_1connection.html" title="Convinience class for safe disconnection.">connection</a> has been in blocking state before. </dd></dl>

</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 21:44:42 2010 for libsigc++ by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>