summaryrefslogtreecommitdiff
path: root/doc/html/signals2/api_changes.html
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 11:24:46 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 11:25:39 +0900
commit4fadd968fa12130524c8380f33fcfe25d4de79e5 (patch)
treefd26a490cd15388d42fc6652b3c5c13012e7f93e /doc/html/signals2/api_changes.html
parentb5c87084afaef42b2d058f68091be31988a6a874 (diff)
downloadboost-upstream/1.65.0.tar.gz
boost-upstream/1.65.0.tar.bz2
boost-upstream/1.65.0.zip
Imported Upstream version 1.65.0upstream/1.65.0
Change-Id: Icf8400b375482cb11bcf77440a6934ba360d6ba4 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
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 4a74fd11cf..9f346e42a1 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#idp720124368-bb">signals2::slot::track</a></code>(), as described in the
+ and <code class="computeroutput"><a class="link" href="../boost/signals2/slot.html#idp746817216-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#idp720124368-bb">signals2::slot::track</a></code>.
+ passing to <code class="computeroutput"><a class="link" href="../boost/signals2/slot.html#idp746817216-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#idp719885936-bb">signals2::signal::connect_extended</a></code>()
+ and new <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp746578784-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#idp719885936-bb">signals2::signal::connect_extended</a></code>().
+ <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp746578784-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#idp719943696-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#idp719946304-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#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>.
</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#idp719943696-bb">signals2::signal::combiner</a></code>
- and <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp719946304-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#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.
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#idp720138384-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#idp746831232-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#idp719800880-bb">shared_connection_block::connection</a></code>() query has been
+ 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
added, to provide access to the <code class="computeroutput">shared_connection_block</code>s associated
connection.
</p></li>