~ubuntu-branches/ubuntu/trusty/glibmm2.4/trusty

« back to all changes in this revision

Viewing changes to docs/reference/html/classGlib_1_1Dispatcher.html

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-06-18 12:13:18 UTC
  • mfrom: (1.2.73)
  • Revision ID: package-import@ubuntu.com-20120618121318-88t4ppyo8lq7s4ph
Tags: 2.33.1-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libglib2.0-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
 
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
5
<title>glibmm: Glib::Dispatcher Class Reference</title>
7
6
 
8
7
<link href="tabs.css" rel="stylesheet" type="text/css"/>
23
22
  
24
23
  <td style="padding-left: 0.5em;">
25
24
   <div id="projectname">glibmm
26
 
   &#160;<span id="projectnumber">2.32.0</span>
 
25
   &#160;<span id="projectnumber">2.33.1</span>
27
26
   </div>
28
27
   
29
28
  </td>
35
34
</table>
36
35
</div>
37
36
 
38
 
<!-- Generated by Doxygen 1.7.6.1 -->
 
37
<!-- Generated by Doxygen 1.7.5 -->
39
38
  <div id="navrow1" class="tabs">
40
39
    <ul class="tablist">
41
40
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
66
65
<a href="#pub-methods">Public Member Functions</a> </div>
67
66
  <div class="headertitle">
68
67
<div class="title">Glib::Dispatcher Class Reference<div class="ingroups"><a class="el" href="group__Threads.html">Threads</a></div></div> </div>
69
 
</div><!--header-->
 
68
</div>
70
69
<div class="contents">
71
70
<!-- doxytag: class="Glib::Dispatcher" -->
72
71
<p>Signal class for inter-thread communication.  <a href="classGlib_1_1Dispatcher.html#details">More...</a></p>
105
104
</ul>
106
105
<p>Using <a class="el" href="classGlib_1_1Dispatcher.html" title="Signal class for inter-thread communication.">Glib::Dispatcher</a> on Windows:</p>
107
106
<p><a class="el" href="classGlib_1_1Dispatcher.html" title="Signal class for inter-thread communication.">Glib::Dispatcher</a> also works on win32-based systems. Unfortunately though, the implementation cannot use a pipe on win32 and therefore does have to lock a mutex on emission, too. However, the impact on performance is likely minor and the notification still happens asynchronously. Apart from the additional lock the behavior matches the Unix implementation. </p>
108
 
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="thread_2dispatcher_8cc-example.html#_a3">thread/dispatcher.cc</a>.</dd>
109
 
</dl></div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
 
107
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
110
108
<a class="anchor" id="a1883255c63f36e1d218ccf3f1abfa992"></a><!-- doxytag: member="Glib::Dispatcher::Dispatcher" ref="a1883255c63f36e1d218ccf3f1abfa992" args="()" -->
111
109
<div class="memitem">
112
110
<div class="memproto">
113
111
      <table class="memname">
114
112
        <tr>
115
 
          <td class="memname"><a class="el" href="classGlib_1_1Dispatcher.html#a1883255c63f36e1d218ccf3f1abfa992">Glib::Dispatcher::Dispatcher</a> </td>
 
113
          <td class="memname">Glib::Dispatcher::Dispatcher </td>
116
114
          <td>(</td>
117
115
          <td class="paramname"></td><td>)</td>
118
116
          <td></td>
122
120
<div class="memdoc">
123
121
 
124
122
<p>Create new <a class="el" href="classGlib_1_1Dispatcher.html" title="Signal class for inter-thread communication.">Dispatcher</a> instance using the default main context. </p>
125
 
<dl class="exception"><dt><b>Exceptions:</b></dt><dd>
 
123
<dl><dt><b>Exceptions:</b></dt><dd>
126
124
  <table class="exception">
127
125
    <tr><td class="paramname"><a class="el" href="classGlib_1_1FileError.html" title="Exception class for file-related errors.">Glib::FileError</a></td><td></td></tr>
128
126
  </table>
136
134
<div class="memproto">
137
135
      <table class="memname">
138
136
        <tr>
139
 
          <td class="memname"><a class="el" href="classGlib_1_1Dispatcher.html#a1883255c63f36e1d218ccf3f1abfa992">Glib::Dispatcher::Dispatcher</a> </td>
 
137
          <td class="memname">Glib::Dispatcher::Dispatcher </td>
140
138
          <td>(</td>
141
139
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGlib_1_1MainContext.html">MainContext</a> &gt;&amp;&#160;</td>
142
140
          <td class="paramname"><em>context</em></td><td>)</td>
147
145
<div class="memdoc">
148
146
 
149
147
<p>Create new <a class="el" href="classGlib_1_1Dispatcher.html" title="Signal class for inter-thread communication.">Dispatcher</a> instance using an arbitrary main context. </p>
150
 
<dl class="exception"><dt><b>Exceptions:</b></dt><dd>
 
148
<dl><dt><b>Exceptions:</b></dt><dd>
151
149
  <table class="exception">
152
150
    <tr><td class="paramname"><a class="el" href="classGlib_1_1FileError.html" title="Exception class for file-related errors.">Glib::FileError</a></td><td></td></tr>
153
151
  </table>
161
159
<div class="memproto">
162
160
      <table class="memname">
163
161
        <tr>
164
 
          <td class="memname"><a class="el" href="classGlib_1_1Dispatcher.html#a6d220afa9063f8cf1364d5a1c73eb010">Glib::Dispatcher::~Dispatcher</a> </td>
 
162
          <td class="memname">Glib::Dispatcher::~Dispatcher </td>
165
163
          <td>(</td>
166
164
          <td class="paramname"></td><td>)</td>
167
165
          <td></td>
178
176
<div class="memproto">
179
177
      <table class="memname">
180
178
        <tr>
181
 
          <td class="memname"><a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1connection.html">sigc::connection</a> <a class="el" href="classGlib_1_1Dispatcher.html#a63645395ac79c03b5ec9e81d8099dea7">Glib::Dispatcher::connect</a> </td>
 
179
          <td class="memname"><a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1connection.html">sigc::connection</a> Glib::Dispatcher::connect </td>
182
180
          <td>(</td>
183
181
          <td class="paramtype">const <a class="elRef" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>&lt; void &gt; &amp;&#160;</td>
184
182
          <td class="paramname"><em>slot</em></td><td>)</td>
195
193
<div class="memproto">
196
194
      <table class="memname">
197
195
        <tr>
198
 
          <td class="memname">void <a class="el" href="classGlib_1_1Dispatcher.html#a07b89c90f931db118c8c184d0615ce92">Glib::Dispatcher::emit</a> </td>
 
196
          <td class="memname">void Glib::Dispatcher::emit </td>
199
197
          <td>(</td>
200
198
          <td class="paramname"></td><td>)</td>
201
199
          <td></td>
222
220
 
223
221
</div>
224
222
</div>
225
 
</div><!-- contents -->
 
223
</div>
226
224
 
227
225
 
228
226
<hr class="footer"/><address class="footer"><small>
229
 
Generated on Tue Apr 10 2012 14:20:40 for glibmm by &#160;<a href="http://www.doxygen.org/index.html">
 
227
Generated on Tue Jun 12 2012 09:21:31 for glibmm by &#160;<a href="http://www.doxygen.org/index.html">
230
228
<img class="footer" src="doxygen.png" alt="doxygen"/>
231
 
</a> 1.7.6.1
 
229
</a> 1.7.5
232
230
</small></address>
233
231
 
234
232
</body>