hpx/parcelset_base/parcelset_base_fwd.hpp
hpx/parcelset_base/parcelset_base_fwd.hpp#
Defined in header hpx/parcelset_base/parcelset_base_fwd.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
Defines
-
HPX_PARCELPORT_BACKGROUND_MODE_ENUM_DEPRECATION_MSG#
-
namespace hpx
-
namespace parcelset#
Typedefs
-
using parcel_write_handler_type = hpx::function<void(std::error_code const&, parcelset::parcel const&)>#
The type of the function that can be registered as a parcel write handler using the function hpx::set_parcel_write_handler.
Note
A parcel write handler is a function which is called by the parcel layer whenever a parcel has been sent by the underlying networking library and if no explicit parcel handler function was specified for the parcel.
Enums
-
enum class parcelport_background_mode : std::uint8_t#
Type of background work to perform.
Values:
-
enumerator flush_buffers#
perform buffer flush operations
-
enumerator send#
perform send operations (includes buffer flush)
-
enumerator receive#
perform receive operations
-
enumerator all#
perform all operations
-
enumerator flush_buffers#
Functions
-
inline bool operator&(parcelport_background_mode lhs, parcelport_background_mode rhs)#
-
char const *get_parcelport_background_mode_name(parcelport_background_mode mode)#
Variables
-
parcel empty_parcel#
-
constexpr parcelport_background_mode parcelport_background_mode_flush_buffers = parcelport_background_mode::flush_buffers#
-
constexpr parcelport_background_mode parcelport_background_mode_send = parcelport_background_mode::send#
-
constexpr parcelport_background_mode parcelport_background_mode_receive = parcelport_background_mode::receive#
-
constexpr parcelport_background_mode parcelport_background_mode_all = parcelport_background_mode::all#
-
using parcel_write_handler_type = hpx::function<void(std::error_code const&, parcelset::parcel const&)>#
-
namespace parcelset#