EnTT: src/entt/signal/fwd.hpp Source File

EnTT 3.16.0

Loading...
Searching...
No Matches
fwd.hpp
1#ifndef ENTT_SIGNAL_FWD_HPP
2#define ENTT_SIGNAL_FWD_HPP
3
4#include <memory>
5
6namespace entt {
7
8template<typename>
9class delegate;
10
11template<typename = std::allocator<void>>
12class basic_dispatcher;
13
14template<typename, typename = std::allocator<void>>
15class emitter;
16
17class connection;
18
19struct scoped_connection;
20
21template<typename>
22 class sink;
23
24template<typename Type, typename = std::allocator<void>>
25 class sigh;
26
28 using dispatcher = basic_dispatcher<>;
29
31template<auto>
32 struct connect_arg_t {
34 explicit connect_arg_t() = default;
35};
36
41template<auto Candidate>
42 inline constexpr connect_arg_t<Candidate> connect_arg{};
43
44} // namespace entt
45
46#endif
entt::basic_dispatcher
Basic dispatcher implementation.
Definition dispatcher.hpp:108
entt::connection
Connection class.
Definition sigh.hpp:229
entt::delegate
Basic delegate implementation.
Definition delegate.hpp:51
entt::emitter
General purpose event emitter.
Definition emitter.hpp:36
entt::sigh
Unmanaged signal handler.
Definition fwd.hpp:25
entt::sink
Sink class.
Definition fwd.hpp:22
entt
EnTT default namespace.
Definition dense_map.hpp:22
entt::dispatcher
basic_dispatcher<> dispatcher
Alias declaration for the most common use case.
Definition fwd.hpp:28
entt::connect_arg
constexpr connect_arg_t< Candidate > connect_arg
Constant of type connect_arg_t used to disambiguate calls.
Definition fwd.hpp:42
entt::connect_arg_t
Disambiguation tag for constructors and the like.
Definition fwd.hpp:32
entt::connect_arg_t::connect_arg_t
connect_arg_t()=default
Default constructor.
entt::scoped_connection
Scoped connection class.
Definition sigh.hpp:271