root/doc/html/classitpp_1_1Slot.html @ 354

Revision 353, 10.2 kB (checked in by smidl, 16 years ago)

doc

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: itpp::Slot&lt; ObjectType, DataType &gt; Class Template Reference</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
5<link href="doxygen.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.8 -->
8<script type="text/javascript">
9<!--
10function changeDisplayState (e){
11  var num=this.id.replace(/[^[0-9]/g,'');
12  var button=this.firstChild;
13  var sectionDiv=document.getElementById('dynsection'+num);
14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
15    sectionDiv.style.display='block';
16    button.src='open.gif';
17  }else{
18    sectionDiv.style.display='none';
19    button.src='closed.gif';
20  }
21}
22function initDynSections(){
23  var divs=document.getElementsByTagName('div');
24  var sectionCounter=1;
25  for(var i=0;i<divs.length-1;i++){
26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
27      var header=divs[i];
28      var section=divs[i+1];
29      var button=header.firstChild;
30      if (button!='IMG'){
31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
32        button=document.createElement('img');
33        divs[i].insertBefore(button,divs[i].firstChild);
34      }
35      header.style.cursor='pointer';
36      header.onclick=changeDisplayState;
37      header.id='dynheader'+sectionCounter;
38      button.src='closed.gif';
39      section.id='dynsection'+sectionCounter;
40      section.style.display='none';
41      section.style.marginLeft='14px';
42      sectionCounter++;
43    }
44  }
45}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li><a href="modules.html"><span>Modules</span></a></li>
55      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
56      <li><a href="files.html"><span>Files</span></a></li>
57    </ul>
58  </div>
59  <div class="tabs">
60    <ul>
61      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
62      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
63      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
64      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
65    </ul>
66  </div>
67  <div class="navpath"><b>itpp</b>::<a class="el" href="classitpp_1_1Slot.html">Slot</a>
68  </div>
69</div>
70<div class="contents">
71<h1>itpp::Slot&lt; ObjectType, DataType &gt; Class Template Reference<br>
72<small>
73[<a class="el" href="group__protocol.html">Protocols Module</a>]</small>
74</h1><!-- doxytag: class="itpp::Slot" --><!-- doxytag: inherits="Base_Slot&lt; DataType &gt;" --><a class="el" href="classitpp_1_1Slot.html" title="Slot Class.">Slot</a> Class. 
75<a href="#_details">More...</a>
76<p>
77<code>#include &lt;<a class="el" href="signals__slots_8h-source.html">signals_slots.h</a>&gt;</code>
78<p>
79
80<p>
81<a href="classitpp_1_1Slot-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
82<tr><td></td></tr>
83<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
84<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="geccd572d05e2bed561de07fc97afa505"></a><!-- doxytag: member="itpp::Slot::Slot" ref="geccd572d05e2bed561de07fc97afa505" args="(const std::string _name=&quot;Unamed Slot&quot;)" -->
85&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__protocol.html#geccd572d05e2bed561de07fc97afa505">Slot</a> (const std::string _name=&quot;Unamed <a class="el" href="classitpp_1_1Slot.html">Slot</a>&quot;)</td></tr>
86
87<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr>
88<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gd1dc9e2216a8e4f623efa1201781200e"></a><!-- doxytag: member="itpp::Slot::forward" ref="gd1dc9e2216a8e4f623efa1201781200e" args="(ObjectType *object_pointer, void(ObjectType::*object_function_pointer)(DataType u))" -->
89void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__protocol.html#gd1dc9e2216a8e4f623efa1201781200e">forward</a> (ObjectType *object_pointer, void(ObjectType::*object_function_pointer)(DataType u))</td></tr>
90
91<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADD DOCUMENTATION HERE. <br></td></tr>
92<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g6141c6ab7124f18bb3cf72cf55b846da"></a><!-- doxytag: member="itpp::Slot::~Slot" ref="g6141c6ab7124f18bb3cf72cf55b846da" args="()" -->
93&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__protocol.html#g6141c6ab7124f18bb3cf72cf55b846da">~Slot</a> ()</td></tr>
94
95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <br></td></tr>
96<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g66cdc4cc386c1fa9bb1f3697e6d35c71"></a><!-- doxytag: member="itpp::Slot::operator()" ref="g66cdc4cc386c1fa9bb1f3697e6d35c71" args="(DataType u)" -->
97void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__protocol.html#g66cdc4cc386c1fa9bb1f3697e6d35c71">operator()</a> (DataType u)</td></tr>
98
99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADD DOCUMENTATION HERE. <br></td></tr>
100<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gb7ab2e7102400aaddc25b4d2391a362c"></a><!-- doxytag: member="itpp::Slot::set_name" ref="gb7ab2e7102400aaddc25b4d2391a362c" args="(const std::string &amp;slot_name)" -->
101void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__protocol.html#gb7ab2e7102400aaddc25b4d2391a362c">set_name</a> (const std::string &amp;slot_name)</td></tr>
102
103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set slot name <br></td></tr>
104<tr><td colspan="2"><br><h2>Protected Types</h2></td></tr>
105<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e5a52d4322d97ec903a7df48c501eaa6"></a><!-- doxytag: member="itpp::Slot::Signal_Iterator" ref="e5a52d4322d97ec903a7df48c501eaa6" args="" -->
106typedef std::list&lt; <a class="el" href="classitpp_1_1Signal.html">Signal</a><br class="typebreak">
107&lt; DataType &gt; *, std::allocator<br class="typebreak">
108&lt; <a class="el" href="classitpp_1_1Signal.html">Signal</a>&lt; DataType &gt;<br class="typebreak">
109 * &gt; &gt;::iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Base__Slot.html#e5a52d4322d97ec903a7df48c501eaa6">Signal_Iterator</a></td></tr>
110
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADD DOCUMENTATION HERE. <br></td></tr>
112<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
113<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g31624456935b5358663f149a2ce17cc3"></a><!-- doxytag: member="itpp::Slot::_connect" ref="g31624456935b5358663f149a2ce17cc3" args="(Signal&lt; DataType &gt; *signal)" -->
114void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__protocol.html#g31624456935b5358663f149a2ce17cc3">_connect</a> (<a class="el" href="classitpp_1_1Signal.html">Signal</a>&lt; DataType &gt; *signal)</td></tr>
115
116<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADD DOCUMENTATION HERE. <br></td></tr>
117<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gd4c19805d68186dc424bdf254fc76ff7"></a><!-- doxytag: member="itpp::Slot::_disconnect" ref="gd4c19805d68186dc424bdf254fc76ff7" args="(Signal&lt; DataType &gt; *signal)" -->
118void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__protocol.html#gd4c19805d68186dc424bdf254fc76ff7">_disconnect</a> (<a class="el" href="classitpp_1_1Signal.html">Signal</a>&lt; DataType &gt; *signal)</td></tr>
119
120<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADD DOCUMENTATION HERE. <br></td></tr>
121<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
122<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5d915f5e558e9bb4bd0a7ba29a9b4bb"></a><!-- doxytag: member="itpp::Slot::name" ref="a5d915f5e558e9bb4bd0a7ba29a9b4bb" args="" -->
123std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Base__Slot.html#a5d915f5e558e9bb4bd0a7ba29a9b4bb">name</a></td></tr>
124
125<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADD DOCUMENTATION HERE. <br></td></tr>
126<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="666a416de59acb28ed0928cd56c679ae"></a><!-- doxytag: member="itpp::Slot::connected_signals" ref="666a416de59acb28ed0928cd56c679ae" args="" -->
127std::list&lt; <a class="el" href="classitpp_1_1Signal.html">Signal</a>&lt; DataType &gt;<br class="typebreak">
128 *, std::allocator&lt; <a class="el" href="classitpp_1_1Signal.html">Signal</a><br class="typebreak">
129&lt; DataType &gt; * &gt; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Base__Slot.html#666a416de59acb28ed0928cd56c679ae">connected_signals</a></td></tr>
130
131<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ADD DOCUMENTATION HERE. <br></td></tr>
132<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
133<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c330ce25e1c6ec446ea93cd77195f314"></a><!-- doxytag: member="itpp::Slot::Signal&lt; DataType &gt;" ref="c330ce25e1c6ec446ea93cd77195f314" args="" -->
134class&nbsp;</td><td class="memItemRight" valign="bottom"><b>Signal&lt; DataType &gt;</b></td></tr>
135
136</table>
137<hr><a name="_details"></a><h2>Detailed Description</h2>
138<h3>template&lt;class ObjectType, class DataType&gt;<br>
139 class itpp::Slot&lt; ObjectType, DataType &gt;</h3>
140
141<a class="el" href="classitpp_1_1Slot.html" title="Slot Class.">Slot</a> Class. <hr>The documentation for this class was generated from the following file:<ul>
142<li><a class="el" href="signals__slots_8h-source.html">signals_slots.h</a></ul>
143</div>
144<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:19 2009 for mixpp by&nbsp;
145<a href="http://www.doxygen.org/index.html">
146<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
147</body>
148</html>
Note: See TracBrowser for help on using the browser.