#include <dpp/export.h>
#include <string>
#include <map>
#include <variant>
#include <dpp/snowflake.h>
#include <dpp/misc-enum.h>
#include <dpp/json_fwd.h>
#include <algorithm>
#include <mutex>
#include <shared_mutex>
#include <cstring>
#include <atomic>
#include <dpp/exception.h>
#include <dpp/coro/job.h>
#include <dpp/coro/task.h>
Classes | |
class | dpp::detail::event_router::awaitable< T > |
Awaitable object representing an event. More... | |
class | dpp::event_router_t< T > |
Handles routing of an event to multiple listeners. More... | |
class | dpp::event_router_t< T > |
Handles routing of an event to multiple listeners. More... | |
Namespaces | |
dpp | |
The main namespace for D++ functions. | |
dpp::detail | |
Implementation details for internal use only. | |
dpp::detail::event_router | |
Internal cogwheels for dpp::event_router_t. | |
Typedefs | |
typedef size_t | dpp::event_handle |
A returned event handle for an event which was attached. More... | |
Enumerations | |
enum | dpp::detail::event_router::awaiter_state { dpp::detail::event_router::awaiter_state::none, dpp::detail::event_router::awaiter_state::waiting, dpp::detail::event_router::awaiter_state::resuming, dpp::detail::event_router::awaiter_state::cancelling } |
State of an owner of an event_router::awaitable. More... | |