Function basic_dispatcher
Summary
#include <src/entt/signal/dispatcher.hpp>
(1) basic_dispatcher()
(2) explicit basic_dispatcher(const allocator_type &allocator)
(3) basic_dispatcher(basic_dispatcher &&other)
(4) basic_dispatcher(basic_dispatcher &&other, const allocator_type &allocator)
Function overload
Synopsis
#include <src/entt/signal/dispatcher.hpp>
basic_dispatcher()
Description
Default constructor.
Source
Lines 160-161 in src/entt/signal/dispatcher.hpp.
basic_dispatcher()
: basic_dispatcher{allocator_type{}} {}
Synopsis
#include <src/entt/signal/dispatcher.hpp>
explicit basic_dispatcher(const allocator_type &allocator)
Description
Constructs a dispatcher with a given allocator.
- Parameters
allocator
- The allocator to use.
Source
Lines 167-168 in src/entt/signal/dispatcher.hpp.
explicit basic_dispatcher(const allocator_type &allocator)
: pools{allocator, allocator} {}
Synopsis
#include <src/entt/signal/dispatcher.hpp>
basic_dispatcher(basic_dispatcher &&other)
Description
Move constructor.
- Parameters
other
- The instance to move from.
Source
Lines 174-175 in src/entt/signal/dispatcher.hpp.
basic_dispatcher(basic_dispatcher &&other) ENTT_NOEXCEPT
: pools{std::move(other.pools)} {}
Synopsis
#include <src/entt/signal/dispatcher.hpp>
basic_dispatcher(basic_dispatcher &&other, const allocator_type &allocator)
Description
Allocator-extended move constructor.
- Parameters
other
- The instance to move from.allocator
- The allocator to use.
Source
Lines 182-183 in src/entt/signal/dispatcher.hpp.
basic_dispatcher(basic_dispatcher &&other, const allocator_type &allocator) ENTT_NOEXCEPT
: pools{container_type{std::move(other.pools.first()), allocator}, allocator} {}