mqtt_cpp
|
#include <subscription_map.hpp>
Public Types | |
using | handle = typename subscription_map_base< Value >::handle |
![]() | |
using | node_id_t = std::size_t |
using | path_entry_key = std::pair< node_id_t, buffer > |
using | handle = path_entry_key |
Public Member Functions | |
template<typename V > | |
std::pair< handle, bool > | insert (string_view topic_filter, V &&value) |
template<typename V > | |
void | update (string_view topic_filter, V &&value) |
template<typename V > | |
void | update (handle const &h, V &&value) |
std::size_t | erase (string_view topic_filter) |
std::size_t | erase (handle const &h) |
template<typename Output > | |
void | find (string_view topic, Output &&callback) const |
![]() | |
std::size_t | internal_size () const |
std::size_t | size () const |
optional< handle > | lookup (string_view topic_filter) |
std::string | handle_to_topic_filter (handle const &h) const |
Additional Inherited Members | |
![]() | |
map_type_iterator | get_root () |
map_type_const_iterator | get_root () const |
map_type_iterator | get_key (path_entry_key key) |
map_type_iterator | begin () |
map_type_iterator | end () |
map_type const & | get_map () const |
handle | path_to_handle (std::vector< map_type_iterator > const &path) const |
std::vector< map_type_iterator > | find_topic_filter (string_view topic_filter) |
std::vector< map_type_iterator > | create_topic_filter (string_view topic_filter) |
void | remove_topic_filter (std::vector< map_type_iterator > const &path) |
void | find_match (string_view topic, Output &&callback) const |
void | modify_match (string_view topic, Output &&callback) |
std::vector< map_type_iterator > | handle_to_iterators (handle const &h) |
void | increase_subscriptions (handle const &h) |
void | increase_subscriptions (std::vector< map_type_iterator > const &path) |
void | increase_map_size () |
void | decrease_map_size () |
subscription_map_base () | |
![]() | |
static void | find_match_impl (ThisType &self, string_view topic, Output &&callback) |
static void | handle_to_iterators (ThisType &self, handle const &h, Output &&output) |
static void | throw_invalid_topic_filter () |
static void | throw_invalid_handle () |
static void | throw_max_stored_topics () |
![]() | |
path_entry_key | root_key |
node_id_t | root_node_id |
size_t | map_size |
using single_subscription_map< Value >::handle = typename subscription_map_base< Value >::handle |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |