#include "../assert.hpp"
#include "../bitfield.hpp"
#include "../callable_ref.hpp"
#include "../main_ctx_fwd.hpp"
#include "../memory/buffer_pool.hpp"
#include "../memory/copy.hpp"
#include "../memory/span_algo.hpp"
#include "../message_id.hpp"
#include "../reflect/map_enumerators.hpp"
#include "../serialize/size_and_data.hpp"
#include "context_fwd.hpp"
#include "types.hpp"
#include "verification.hpp"
#include <chrono>
#include <cstdint>
#include <limits>
#include <vector>
#include <eagine/message_bus/message.inl>
Go to the source code of this file.
Classes | |
struct | eagine::msgbus::message_info |
Structure storing information about a sigle message bus message. More... | |
struct | eagine::msgbus::message_view |
Combines message information and a non-owning view to message content. More... | |
class | eagine::msgbus::stored_message |
Combines message information and an owned message content buffer. More... | |
class | eagine::msgbus::message_storage |
Class storing message bus messages. More... | |
Namespaces | |
eagine | |
Common code is placed in this namespace. | |
eagine::msgbus | |
Message bus code is placed in this namespace. | |
Typedefs | |
using | eagine::msgbus::message_timestamp = std::chrono::steady_clock::time_point |
Alias for message timestamp type. More... | |
using | eagine::msgbus::message_age = std::chrono::duration< float > |
Alias for message age type. More... | |
using | eagine::msgbus::message_crypto_flags = bitfield< message_crypto_flag > |
Alias for message crypto flags bitfield. | |
Enumerations | |
enum | eagine::msgbus::message_priority : std::uint8_t { eagine::msgbus::message_priority::idle, eagine::msgbus::message_priority::low, eagine::msgbus::message_priority::normal, eagine::msgbus::message_priority::high, eagine::msgbus::message_priority::critical } |
Message priority enumeration. More... | |
enum | eagine::msgbus::message_crypto_flag : std::uint8_t { eagine::msgbus::message_crypto_flag::asymmetric, eagine::msgbus::message_crypto_flag::signed_header, eagine::msgbus::message_crypto_flag::signed_content } |
Message cryptography-related flag bits enumeration. More... | |
Functions | |
static constexpr auto | eagine::msgbus::is_special_message (message_id msg_id) noexcept |
Indicates if the specified message id denotes a special message bus message. | |
static constexpr auto | eagine::msgbus::broadcast_endpoint_id () noexcept -> identifier_t |
Returns the special broadcase message bus endpoint id. | |
Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt