Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 07118dbc7175a4a7d1e779ad4c1549db > files > 75

flowcanvas-devel-0.6.4-1.fc14.1.i686.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>FlowCanvas: FlowCanvas::Connectable Class 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.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;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>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespaceFlowCanvas.html">FlowCanvas</a>      </li>
      <li><a class="el" href="classFlowCanvas_1_1Connectable.html">FlowCanvas::Connectable</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<h1>FlowCanvas::Connectable Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="FlowCanvas::Connectable" -->
<p><code>#include &lt;<a class="el" href="Connectable_8hpp_source.html">Connectable.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for FlowCanvas::Connectable:</div>
<div class="dyncontent">
<div class="center"><img src="classFlowCanvas_1_1Connectable__inherit__graph.png" border="0" usemap="#FlowCanvas_1_1Connectable_inherit__map" alt="Inheritance graph"/></div>
<map name="FlowCanvas_1_1Connectable_inherit__map" id="FlowCanvas_1_1Connectable_inherit__map">
<area shape="rect" id="node3" href="classFlowCanvas_1_1Ellipse.html" title="A named circle (possibly)." alt="" coords="5,83,147,112"/><area shape="rect" id="node5" href="classFlowCanvas_1_1Port.html" title="A port on a Module." alt="" coords="171,83,296,112"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classFlowCanvas_1_1Connectable-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::list<br class="typebreak"/>
&lt; boost::weak_ptr&lt; <a class="el" href="classFlowCanvas_1_1Connection.html">Connection</a> &gt; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowCanvas_1_1Connectable.html#ac19c44f9ba4d9570babe527d8e8fb071">Connections</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowCanvas_1_1Connectable.html#ab619a0fe3cc0583124123a906a5dfad0">~Connectable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual Gnome::Art::Point&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowCanvas_1_1Connectable.html#aa62799763a7353ec5fb0feb43f60000e">src_connection_point</a> ()=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual Gnome::Art::Point&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowCanvas_1_1Connectable.html#a6009e9ef07e5c046cc478f554c4555f2">dst_connection_point</a> (const Gnome::Art::Point &amp;src)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual Gnome::Art::Point&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowCanvas_1_1Connectable.html#a2a2fd6cf84976c6d84ba25420b5d693a">connection_point_vector</a> (double dx, double dy)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowCanvas_1_1Connectable.html#a5266312a4674cb5b724b9cbc48bdc13e">add_connection</a> (boost::shared_ptr&lt; <a class="el" href="classFlowCanvas_1_1Connection.html">Connection</a> &gt; c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowCanvas_1_1Connectable.html#ab7247ec3fadce0d451cea2d39a716c33">remove_connection</a> (boost::shared_ptr&lt; <a class="el" href="classFlowCanvas_1_1Connection.html">Connection</a> &gt; c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowCanvas_1_1Connectable.html#a710402705b5d2ccae71a78923822d9a5">move_connections</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowCanvas_1_1Connectable.html#a4d67d407c6ad323666da837d3889a5ed">raise_connections</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowCanvas_1_1Connectable.html#af191c902f92429508921ec825d3bd0d6">is_connected_to</a> (boost::shared_ptr&lt; <a class="el" href="classFlowCanvas_1_1Connectable.html">Connectable</a> &gt; other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFlowCanvas_1_1Connectable.html#ac19c44f9ba4d9570babe527d8e8fb071">Connections</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowCanvas_1_1Connectable.html#ac742b75cc03e1647b86e260c04e13467">connections</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFlowCanvas_1_1Connectable.html#ac19c44f9ba4d9570babe527d8e8fb071">Connections</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFlowCanvas_1_1Connectable.html#a2d66ad654d0c8ac3d6e8ef14911354f5">_connections</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">needed for dragging  <a href="#a2d66ad654d0c8ac3d6e8ef14911354f5"></a><br/></td></tr>
</table>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="ac19c44f9ba4d9570babe527d8e8fb071"></a><!-- doxytag: member="FlowCanvas::Connectable::Connections" ref="ac19c44f9ba4d9570babe527d8e8fb071" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::list&lt; boost::weak_ptr&lt;<a class="el" href="classFlowCanvas_1_1Connection.html">Connection</a>&gt; &gt; <a class="el" href="classFlowCanvas_1_1Connectable.html#ac19c44f9ba4d9570babe527d8e8fb071">FlowCanvas::Connectable::Connections</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab619a0fe3cc0583124123a906a5dfad0"></a><!-- doxytag: member="FlowCanvas::Connectable::~Connectable" ref="ab619a0fe3cc0583124123a906a5dfad0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual FlowCanvas::Connectable::~Connectable </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="aa62799763a7353ec5fb0feb43f60000e"></a><!-- doxytag: member="FlowCanvas::Connectable::src_connection_point" ref="aa62799763a7353ec5fb0feb43f60000e" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gnome::Art::Point FlowCanvas::Connectable::src_connection_point </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classFlowCanvas_1_1Ellipse.html#aba8a36def069697d63d585885c01972a">FlowCanvas::Ellipse</a>, and <a class="el" href="classFlowCanvas_1_1Port.html#a7d86a638f427480fa7c22b843e7cb1f5">FlowCanvas::Port</a>.</p>

</div>
</div>
<a class="anchor" id="a6009e9ef07e5c046cc478f554c4555f2"></a><!-- doxytag: member="FlowCanvas::Connectable::dst_connection_point" ref="a6009e9ef07e5c046cc478f554c4555f2" args="(const Gnome::Art::Point &amp;src)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gnome::Art::Point FlowCanvas::Connectable::dst_connection_point </td>
          <td>(</td>
          <td class="paramtype">const Gnome::Art::Point &amp;&nbsp;</td>
          <td class="paramname"> <em>src</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classFlowCanvas_1_1Ellipse.html#ac1964e59481b73574deca66464c48525">FlowCanvas::Ellipse</a>, and <a class="el" href="classFlowCanvas_1_1Port.html#a55812f1570f88e049459b282b5ffef61">FlowCanvas::Port</a>.</p>

</div>
</div>
<a class="anchor" id="a2a2fd6cf84976c6d84ba25420b5d693a"></a><!-- doxytag: member="FlowCanvas::Connectable::connection_point_vector" ref="a2a2fd6cf84976c6d84ba25420b5d693a" args="(double dx, double dy)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gnome::Art::Point FlowCanvas::Connectable::connection_point_vector </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dy</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classFlowCanvas_1_1Ellipse.html#a8fb8719285889986ec33e23fb14cce6e">FlowCanvas::Ellipse</a>, and <a class="el" href="classFlowCanvas_1_1Port.html#a886bc2f49dd0c4f175f3d475a38cc973">FlowCanvas::Port</a>.</p>

</div>
</div>
<a class="anchor" id="a5266312a4674cb5b724b9cbc48bdc13e"></a><!-- doxytag: member="FlowCanvas::Connectable::add_connection" ref="a5266312a4674cb5b724b9cbc48bdc13e" args="(boost::shared_ptr&lt; Connection &gt; c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void FlowCanvas::Connectable::add_connection </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="classFlowCanvas_1_1Connection.html">Connection</a> &gt;&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="classFlowCanvas_1_1Ellipse.html#ac2d60c903eae42e3aa5d5eceacfc6b27">FlowCanvas::Ellipse</a>.</p>

</div>
</div>
<a class="anchor" id="ab7247ec3fadce0d451cea2d39a716c33"></a><!-- doxytag: member="FlowCanvas::Connectable::remove_connection" ref="ab7247ec3fadce0d451cea2d39a716c33" args="(boost::shared_ptr&lt; Connection &gt; c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void FlowCanvas::Connectable::remove_connection </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="classFlowCanvas_1_1Connection.html">Connection</a> &gt;&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a710402705b5d2ccae71a78923822d9a5"></a><!-- doxytag: member="FlowCanvas::Connectable::move_connections" ref="a710402705b5d2ccae71a78923822d9a5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void FlowCanvas::Connectable::move_connections </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4d67d407c6ad323666da837d3889a5ed"></a><!-- doxytag: member="FlowCanvas::Connectable::raise_connections" ref="a4d67d407c6ad323666da837d3889a5ed" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void FlowCanvas::Connectable::raise_connections </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af191c902f92429508921ec825d3bd0d6"></a><!-- doxytag: member="FlowCanvas::Connectable::is_connected_to" ref="af191c902f92429508921ec825d3bd0d6" args="(boost::shared_ptr&lt; Connectable &gt; other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool FlowCanvas::Connectable::is_connected_to </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="classFlowCanvas_1_1Connectable.html">Connectable</a> &gt;&nbsp;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac742b75cc03e1647b86e260c04e13467"></a><!-- doxytag: member="FlowCanvas::Connectable::connections" ref="ac742b75cc03e1647b86e260c04e13467" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classFlowCanvas_1_1Connectable.html#ac19c44f9ba4d9570babe527d8e8fb071">Connections</a>&amp; FlowCanvas::Connectable::connections </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>References <a class="el" href="classFlowCanvas_1_1Connectable.html#a2d66ad654d0c8ac3d6e8ef14911354f5">_connections</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a2d66ad654d0c8ac3d6e8ef14911354f5"></a><!-- doxytag: member="FlowCanvas::Connectable::_connections" ref="a2d66ad654d0c8ac3d6e8ef14911354f5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classFlowCanvas_1_1Connectable.html#ac19c44f9ba4d9570babe527d8e8fb071">Connections</a> <a class="el" href="classFlowCanvas_1_1Connectable.html#a2d66ad654d0c8ac3d6e8ef14911354f5">FlowCanvas::Connectable::_connections</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>needed for dragging </p>

<p>Referenced by <a class="el" href="classFlowCanvas_1_1Connectable.html#ac742b75cc03e1647b86e260c04e13467">connections()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/builddir/build/BUILD/flowcanvas-0.6.4/flowcanvas/<a class="el" href="Connectable_8hpp_source.html">Connectable.hpp</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 30 2010 for FlowCanvas by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>