summaryrefslogtreecommitdiff
path: root/doc/html/signals2/api_changes.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/signals2/api_changes.html')
-rw-r--r--doc/html/signals2/api_changes.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/signals2/api_changes.html b/doc/html/signals2/api_changes.html
index 9f346e42a1..b0b3f34acf 100644
--- a/doc/html/signals2/api_changes.html
+++ b/doc/html/signals2/api_changes.html
@@ -73,7 +73,7 @@
<p>
Automatic connection management is now achieved through the use of
<code class="computeroutput">shared_ptr</code>/<code class="computeroutput">weak_ptr</code>
- and <code class="computeroutput"><a class="link" href="../boost/signals2/slot.html#idp746817216-bb">signals2::slot::track</a></code>(), as described in the
+ and <code class="computeroutput"><a class="link" href="../boost/signals2/slot.html#idp728559776-bb">signals2::slot::track</a></code>(), as described in the
<a class="link" href="tutorial.html#signals2.tutorial.connection-management" title="Automatic Connection Management (Intermediate)">tutorial</a>.
However, the old (thread-unsafe) Boost.Signals scheme of automatic connection management
is still supported via the <code class="computeroutput"><a class="link" href="../boost/signals2/trackable.html" title="Class trackable">boost::signals2::trackable</a></code> class.
@@ -107,7 +107,7 @@
move the connection creation from the constructor to to the an
<code class="computeroutput">adl_postconstruct</code> function, where
a reference to the owning <code class="computeroutput">shared_ptr</code> is available for
- passing to <code class="computeroutput"><a class="link" href="../boost/signals2/slot.html#idp746817216-bb">signals2::slot::track</a></code>.
+ passing to <code class="computeroutput"><a class="link" href="../boost/signals2/slot.html#idp728559776-bb">signals2::slot::track</a></code>.
The <code class="computeroutput"><a class="link" href="../boost/signals2/deconstruct.html" title="Function deconstruct">deconstruct</a></code> function would be used create objects
of the class and run their associated <code class="computeroutput">adl_postconstruct</code> function.
You can enforce use of <code class="computeroutput"><a class="link" href="../boost/signals2/deconstruct.html" title="Function deconstruct">deconstruct</a></code> by
@@ -161,7 +161,7 @@
<p>
The <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html" title="Class template signal">signals2::signal</a></code> class has an additional typedef
<code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#boost.signals2.signal.extended_slot_type">signals2::signal::extended_slot_type</a></code>
- and new <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp746578784-bb">signals2::signal::connect_extended</a></code>()
+ and new <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp728321344-bb">signals2::signal::connect_extended</a></code>()
methods. These allow connection of slots
which take an additional <code class="computeroutput"><a class="link" href="../boost/signals2/connection.html" title="Class connection">signals2::connection</a></code> argument, giving them thread-safe
access to their signal/slot connection when they are invoked. There is also a
@@ -174,7 +174,7 @@
if you have slots which need access to their <code class="computeroutput"><a class="link" href="../boost/signals2/connection.html" title="Class connection">signals2::connection</a></code>
to the signal invoking them (for example to block or disconnect their connection)
you may wish to connect the slots with
- <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp746578784-bb">signals2::signal::connect_extended</a></code>().
+ <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp728321344-bb">signals2::signal::connect_extended</a></code>().
This also requires adding an additional connection argument to the slot.
More information on how and why to use extended slots is available
in the <a class="link" href="tutorial.html#signals2.tutorial.extended-slot-type" title="Giving a Slot Access to its Connection (Advanced)">tutorial</a>.
@@ -197,14 +197,14 @@
</li>
<li class="listitem">
<p>The <code class="computeroutput">signal::combiner()</code> method, which formerly returned a reference to the
- signal's combiner has been replaced by <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp746636544-bb">signals2::signal::combiner</a></code>
- (which now returns the combiner by value) and <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp746639152-bb">signals2::signal::set_combiner</a></code>.
+ signal's combiner has been replaced by <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp728379104-bb">signals2::signal::combiner</a></code>
+ (which now returns the combiner by value) and <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp728381712-bb">signals2::signal::set_combiner</a></code>.
</p>
<p>
During porting it should be straightforward to replace uses of the old reference-returning
<code class="computeroutput">signal::combiner()</code>
- function with the new "by-value" <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp746636544-bb">signals2::signal::combiner</a></code>
- and <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp746639152-bb">signals2::signal::set_combiner</a></code> functions.
+ function with the new "by-value" <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp728379104-bb">signals2::signal::combiner</a></code>
+ and <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp728381712-bb">signals2::signal::set_combiner</a></code> functions.
However, you will need to inspect each call of the <code class="computeroutput">combiner</code> method in your code
to determine if your program logic has been broken by the changed
return type.
@@ -271,7 +271,7 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="signals2.api_history.1-45"></a>Version 1.45</h4></div></div></div>
<p>
- Version 1.45 added <code class="computeroutput"><a class="link" href="../boost/signals2/slot.html#idp746831232-bb">slot::track_foreign</a></code>(). This method allows tracking
+ Version 1.45 added <code class="computeroutput"><a class="link" href="../boost/signals2/slot.html#idp728573792-bb">slot::track_foreign</a></code>(). This method allows tracking
of objects owned by <code class="computeroutput">shared_ptr</code> classes other than <code class="computeroutput">boost::shared_ptr</code>,
for example <code class="computeroutput">std::shared_ptr</code>.
</p>
@@ -292,7 +292,7 @@
immediately blocking its connection.
</p></li>
<li class="listitem"><p>
- The <code class="computeroutput"><a class="link" href="../boost/signals2/shared_connection_block.html#idp746493728-bb">shared_connection_block::connection</a></code>() query has been
+ The <code class="computeroutput"><a class="link" href="../boost/signals2/shared_connection_block.html#idp728236288-bb">shared_connection_block::connection</a></code>() query has been
added, to provide access to the <code class="computeroutput">shared_connection_block</code>s associated
connection.
</p></li>