]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!DOCTYPE header PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" | |
3 | "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"> | |
4 | <header name="boost/signals/slot.hpp" last-revision="$Date$"> | |
5 | <namespace name="boost"> | |
6 | <class name="slot"> | |
7 | <template> | |
8 | <template-type-parameter name="SlotFunction"/> | |
9 | </template> | |
10 | ||
11 | <purpose>Pass slots as function arguments.</purpose> | |
12 | ||
13 | <constructor> | |
14 | <template> | |
15 | <template-type-parameter name="Slot"/> | |
16 | </template> | |
17 | ||
18 | <parameter name="target"> | |
19 | <paramtype>Slot</paramtype> | |
20 | </parameter> | |
21 | ||
22 | <effects><para>Invokes | |
23 | <code><functionname>visit_each</functionname></code> | |
24 | (unqualified) to discover pointers and references to | |
25 | <code><classname>signals::trackable</classname></code> | |
26 | objects in <code>target</code>.</para> | |
27 | ||
28 | <para>Initializes <code>this</code> to | |
29 | contain the incoming slot | |
30 | <code>target</code>, which may be any | |
31 | function object with which a | |
32 | <code>SlotFunction</code> can be | |
33 | constructed.</para></effects> | |
34 | </constructor> | |
35 | </class> | |
36 | </namespace> | |
37 | </header> |