Skip to content

Commit

Permalink
Updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarBot committed Jun 12, 2017
1 parent 0e1fc62 commit 3f75ee5
Show file tree
Hide file tree
Showing 648 changed files with 10,714 additions and 5,411 deletions.
2 changes: 1 addition & 1 deletion docs/html/HPX_DEFINE_COMPONENT_ACTION.html
Expand Up @@ -26,7 +26,7 @@ <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="re

</span>HPX_DEFINE_COMPONENT_ACTION(...)</pre></div>
<div class="refsect1">
<a name="idm140613856601472"></a><h2>Description</h2>
<a name="idm140317732078512"></a><h2>Description</h2>
<p>The macro <span class="emphasis"><em>HPX_DEFINE_COMPONENT_ACTION</em></span> can be used to register a member function of a component as an action type named <span class="emphasis"><em>action_type</em></span>.</p>
<p>The parameter <span class="emphasis"><em>component</em></span> is the type of the component exposing the member function <span class="emphasis"><em>func</em></span> which should be associated with the newly defined action type. The parameter <code class="computeroutput">action_type</code> is the name of the action type to register with HPX.</p>
<p><b>Example:&#160;</b></p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/HPX_DEFINE_PLAIN_ACTION.html
Expand Up @@ -26,7 +26,7 @@ <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="re

</span>HPX_DEFINE_PLAIN_ACTION(...)</pre></div>
<div class="refsect1">
<a name="idm140613856541216"></a><h2>Description</h2>
<a name="idm140317732024432"></a><h2>Description</h2>
<p><b>Example:&#160;</b></p>
<p>
</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/HPX_PLAIN_ACTION.html
Expand Up @@ -26,7 +26,7 @@ <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="re

</span>HPX_PLAIN_ACTION(...)</pre></div>
<div class="refsect1">
<a name="idm140613856504304"></a><h2>Description</h2>
<a name="idm140317731991136"></a><h2>Description</h2>
<p>The macro <span class="emphasis"><em>HPX_PLAIN_ACTION</em></span> can be used to define a plain action (e.g. an action encapsulating a global or free function) based on the given function <span class="emphasis"><em>func</em></span>. It defines the action type <span class="emphasis"><em>name</em></span> representing the given function. This macro additionally registers the newly define action type with HPX.</p>
<p>The parameter <code class="computeroutput">func</code> is a global or free (non-member) function which should be encapsulated into a plain action. The parameter <code class="computeroutput">name</code> is the name of the action type defined by this macro.</p>
<p><b>Example:&#160;</b></p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/HPX_PLAIN_ACTION_ID.html
Expand Up @@ -26,7 +26,7 @@ <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="re

</span>HPX_PLAIN_ACTION_ID(func, name, id)</pre></div>
<div class="refsect1">
<a name="idm140613856465376"></a><h2>Description</h2>
<a name="idm140317731952320"></a><h2>Description</h2>
<p>The macro <span class="emphasis"><em>HPX_PLAIN_ACTION_ID</em></span> can be used to define a plain action (e.g. an action encapsulating a global or free function) based on the given function <span class="emphasis"><em>func</em></span>. It defines the action type <span class="emphasis"><em>actionname</em></span> representing the given function. The parameter <span class="emphasis"><em>actionid</em></span> </p>
<p>The parameter <span class="emphasis"><em>actionid</em></span> specifies an unique integer value which will be used to represent the action during serialization.</p>
<p>The parameter <code class="computeroutput">func</code> is a global or free (non-member) function which should be encapsulated into a plain action. The parameter <code class="computeroutput">name</code> is the name of the action type defined by this macro.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/HPX_REGISTER_ACTION.html
Expand Up @@ -26,7 +26,7 @@ <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="re

</span>HPX_REGISTER_ACTION(...)</pre></div>
<div class="refsect1">
<a name="idm140613856627248"></a><h2>Description</h2>
<a name="idm140317732100592"></a><h2>Description</h2>
<p>The macro <span class="emphasis"><em>HPX_REGISTER_ACTION</em></span> can be used to define all the boilerplate code which is required for proper functioning of component actions in the context of HPX.</p>
<p>The parameter <span class="emphasis"><em>action</em></span> is the type of the action to define the boilerplate for.</p>
<p>This macro can be invoked with an optional second parameter. This parameter specifies a unique name of the action to be used for serialization purposes. The second parameter has to be specified if the first parameter is not usable as a plain (non-qualified) C++ identifier, i.e. the first parameter contains special characters which cannot be part of a C++ identifier, such as '&lt;', '&gt;', or ':'.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/HPX_REGISTER_ACTION_DECLARATION.html
Expand Up @@ -26,7 +26,7 @@ <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="re

</span>HPX_REGISTER_ACTION_DECLARATION(...)</pre></div>
<div class="refsect1">
<a name="idm140613856686800"></a><h2>Description</h2>
<a name="idm140317732155600"></a><h2>Description</h2>
<p>The macro <span class="emphasis"><em>HPX_REGISTER_ACTION_DECLARATION</em></span> can be used to declare all the boilerplate code which is required for proper functioning of component actions in the context of HPX.</p>
<p>The parameter <span class="emphasis"><em>action</em></span> is the type of the action to declare the boilerplate for.</p>
<p>This macro can be invoked with an optional second parameter. This parameter specifies a unique name of the action to be used for serialization purposes. The second parameter has to be specified if the first parameter is not usable as a plain (non-qualified) C++ identifier, i.e. the first parameter contains special characters which cannot be part of a C++ identifier, such as '&lt;', '&gt;', or ':'.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/HPX_REGISTER_ACTION_ID.html
Expand Up @@ -26,7 +26,7 @@ <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="re

</span>HPX_REGISTER_ACTION_ID(action, actionname, actionid)</pre></div>
<div class="refsect1">
<a name="idm140613856616752"></a><h2>Description</h2>
<a name="idm140317732091328"></a><h2>Description</h2>
<p>The macro <span class="emphasis"><em>HPX_REGISTER_ACTION</em></span> can be used to define all the boilerplate code which is required for proper functioning of component actions in the context of HPX.</p>
<p>The parameter <span class="emphasis"><em>action</em></span> is the type of the action to define the boilerplate for.</p>
<p>The parameter <span class="emphasis"><em>actionname</em></span> specifies an unique name of the action to be used for serialization purposes. The second parameter has to be usable as a plain (non-qualified) C++ identifier, it should not contain special characters which cannot be part of a C++ identifier, such as '&lt;', '&gt;', or ':'.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/HPX_REGISTER_COMPONENT.html
Expand Up @@ -26,7 +26,7 @@ <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="re

</span>HPX_REGISTER_COMPONENT(type, name, mode)</pre></div>
<div class="refsect1">
<a name="idm140613855296464"></a><h2>Description</h2>
<a name="idm140317730785408"></a><h2>Description</h2>
<p>This macro is used create and to register a minimal component factory for a component type which allows it to be remotely created using the <span class="emphasis"><em>hpx::new_&lt;&gt;</em></span> function.</p>
<p>This macro can be invoked with one, two or three arguments</p>
<p>
Expand Down
8 changes: 4 additions & 4 deletions docs/html/HPX_THROWS_IF.html
Expand Up @@ -7,13 +7,13 @@
<link rel="home" href="index.html" title="HPX 1.1.0">
<link rel="up" href="header/hpx/throw_exception_hpp.html" title="Header &lt;hpx/throw_exception.hpp&gt;">
<link rel="prev" href="HPX_THROW_EXCEPTION.html" title="Macro HPX_THROW_EXCEPTION">
<link rel="next" href="header/hpx/util/invoke_hpp.html" title="Header &lt;hpx/util/invoke.hpp&gt;">
<link rel="next" href="header/hpx/traits/is_execution_policy_hpp.html" title="Header &lt;hpx/traits/is_execution_policy.hpp&gt;">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="HPX" width="531" height="105" src="images/hpx_1_1_0_draft.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="HPX_THROW_EXCEPTION.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/hpx/throw_exception_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="header/hpx/util/invoke_hpp.html"><img src="images/next.png" alt="Next"></a>
<a accesskey="p" href="HPX_THROW_EXCEPTION.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/hpx/throw_exception_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="header/hpx/traits/is_execution_policy_hpp.html"><img src="images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="HPX_THROWS_IF"></a><div class="titlepage"></div>
Expand All @@ -26,7 +26,7 @@ <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="re

</span>HPX_THROWS_IF(ec, errcode, f, msg)</pre></div>
<div class="refsect1">
<a name="idm140613850279408"></a><h2>Description</h2>
<a name="idm140317725819888"></a><h2>Description</h2>
<p>The macro <span class="emphasis"><em>HPX_THROWS_IF</em></span> can be used to either throw a <span class="emphasis"><em><a class="link" href="hpx/exception.html" title="Class exception">hpx::exception</a></em></span> or to initialize a <span class="emphasis"><em><a class="link" href="hpx/error_code.html" title="Class error_code">hpx::error_code</a></em></span> from the given parameters. If &amp;ec == &amp;hpx::throws, the semantics of this macro are equivalent to <span class="emphasis"><em>HPX_THROW_EXCEPTION</em></span>. If &amp;ec != &amp;hpx::throws, the <span class="emphasis"><em><a class="link" href="hpx/error_code.html" title="Class error_code">hpx::error_code</a></em></span> instance <code class="computeroutput">ec</code> is initialized instead.</p>
<p>The parameter <code class="computeroutput">errcode</code> holds the hpx::error code from which the new exception should be initialized. The parameter <code class="computeroutput">f</code> is expected to hold the name of the function exception is thrown from and the parameter <code class="computeroutput">msg</code> holds the error message the new exception should encapsulate. </p>
</div>
Expand All @@ -42,7 +42,7 @@ <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="re
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="HPX_THROW_EXCEPTION.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/hpx/throw_exception_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="header/hpx/util/invoke_hpp.html"><img src="images/next.png" alt="Next"></a>
<a accesskey="p" href="HPX_THROW_EXCEPTION.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="header/hpx/throw_exception_hpp.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="header/hpx/traits/is_execution_policy_hpp.html"><img src="images/next.png" alt="Next"></a>
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/html/HPX_THROW_EXCEPTION.html
Expand Up @@ -26,7 +26,7 @@ <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="re

</span>HPX_THROW_EXCEPTION(errcode, f, msg)</pre></div>
<div class="refsect1">
<a name="idm140613850309248"></a><h2>Description</h2>
<a name="idm140317725849792"></a><h2>Description</h2>
<p>The macro <span class="emphasis"><em>HPX_THROW_EXCEPTION</em></span> can be used to throw a <a class="link" href="hpx/exception.html" title="Class exception">hpx::exception</a>. The purpose of this macro is to prepend the source file name and line number of the position where the exception is thrown to the error message. Moreover, this associates additional diagnostic information with the exception, such as file name and line number, locality id and thread id, and stack backtrace from the point where the exception was thrown.</p>
<p>The parameter <code class="computeroutput">errcode</code> holds the hpx::error code the new exception should encapsulate. The parameter <code class="computeroutput">f</code> is expected to hold the name of the function exception is thrown from and the parameter <code class="computeroutput">msg</code> holds the error message the new exception should encapsulate.</p>
<p><b>Example:&#160;</b></p>
Expand Down
16 changes: 8 additions & 8 deletions docs/html/code/hpx/error_code.hpp
Expand Up @@ -13,9 +13,9 @@
#include <hpx/error.hpp>
#include <hpx/exception_fwd.hpp>

#include <boost/exception_ptr.hpp>
#include <boost/system/error_code.hpp>

#include <exception>
#include <stdexcept>
#include <string>

Expand All @@ -25,7 +25,7 @@ namespace hpx
/// \cond NODETAIL
namespace detail
{
HPX_EXPORT boost::exception_ptr access_exception(error_code const&);
HPX_EXPORT std::exception_ptr access_exception(error_code const&);

///////////////////////////////////////////////////////////////////////
struct command_line_error : std::logic_error
Expand Down Expand Up @@ -212,7 +212,7 @@ namespace hpx
void clear()
{
this->boost::system::error_code::assign(success, get_hpx_category());
exception_ = boost::exception_ptr();
exception_ = std::exception_ptr();
}

/// Assignment operator for error_code
Expand All @@ -222,14 +222,14 @@ namespace hpx
HPX_EXPORT error_code& operator=(error_code const& rhs);

private:
friend boost::exception_ptr detail::access_exception(error_code const&);
friend std::exception_ptr detail::access_exception(error_code const&);
friend class exception;
friend error_code make_error_code(boost::exception_ptr const&);
friend error_code make_error_code(std::exception_ptr const&);

HPX_EXPORT error_code(int err, hpx::exception const& e);
HPX_EXPORT explicit error_code(boost::exception_ptr const& e);
HPX_EXPORT explicit error_code(std::exception_ptr const& e);

boost::exception_ptr exception_;
std::exception_ptr exception_;
};

/// @{
Expand Down Expand Up @@ -272,7 +272,7 @@ namespace hpx
return error_code(e, msg, func, file, line, mode);
}
inline error_code
make_error_code(boost::exception_ptr const& e)
make_error_code(std::exception_ptr const& e)
{
return error_code(e);
}
Expand Down

0 comments on commit 3f75ee5

Please sign in to comment.