mqtt_cpp
Public Member Functions | List of all members
MQTT_NS::null_strand Struct Reference

#include <null_strand.hpp>

Public Member Functions

 null_strand (as::io_context &ioc) noexcept
 
template<typename Func , typename Allocator >
void post (Func &&f, Allocator) const
 
template<typename Func , typename Allocator >
void defer (Func &&f, Allocator) const
 
template<typename Func , typename Allocator >
void dispatch (Func &&f, Allocator) const
 
void on_work_started () const noexcept
 
void on_work_finished () const noexcept
 
as::io_context & context () noexcept
 
as::io_context const & context () const noexcept
 

Constructor & Destructor Documentation

◆ null_strand()

MQTT_NS::null_strand::null_strand ( as::io_context &  ioc)
inlinenoexcept

Member Function Documentation

◆ context() [1/2]

as::io_context const& MQTT_NS::null_strand::context ( ) const
inlinenoexcept

◆ context() [2/2]

as::io_context& MQTT_NS::null_strand::context ( )
inlinenoexcept

◆ defer()

template<typename Func , typename Allocator >
void MQTT_NS::null_strand::defer ( Func &&  f,
Allocator   
) const
inline

◆ dispatch()

template<typename Func , typename Allocator >
void MQTT_NS::null_strand::dispatch ( Func &&  f,
Allocator   
) const
inline

◆ on_work_finished()

void MQTT_NS::null_strand::on_work_finished ( ) const
inlinenoexcept

◆ on_work_started()

void MQTT_NS::null_strand::on_work_started ( ) const
inlinenoexcept

◆ post()

template<typename Func , typename Allocator >
void MQTT_NS::null_strand::post ( Func &&  f,
Allocator   
) const
inline

The documentation for this struct was generated from the following file: