Livox SDK API  V2.2.0
spdlog::details::thread_pool Class Reference

#include <thread_pool.h>

Public Types

using item_type = async_msg
 
using q_type = details::mpmc_blocking_queue< item_type >
 

Public Member Functions

 thread_pool (size_t q_max_items, size_t threads_n)
 
 ~thread_pool ()
 
 thread_pool (const thread_pool &)=delete
 
thread_pooloperator= (thread_pool &&)=delete
 
void post_log (async_logger_ptr &&worker_ptr, details::log_msg &msg, async_overflow_policy overflow_policy)
 
void post_flush (async_logger_ptr &&worker_ptr, async_overflow_policy overflow_policy)
 
size_t overrun_counter ()
 

Detailed Description

Definition at line 118 of file thread_pool.h.

Member Typedef Documentation

Constructor & Destructor Documentation

spdlog::details::thread_pool::thread_pool ( size_t  q_max_items,
size_t  threads_n 
)
inline

Definition at line 124 of file thread_pool.h.

spdlog::details::thread_pool::~thread_pool ( )
inline

Definition at line 141 of file thread_pool.h.

spdlog::details::thread_pool::thread_pool ( const thread_pool )
delete

Member Function Documentation

thread_pool& spdlog::details::thread_pool::operator= ( thread_pool &&  )
delete
size_t spdlog::details::thread_pool::overrun_counter ( )
inline

Definition at line 174 of file thread_pool.h.

void spdlog::details::thread_pool::post_flush ( async_logger_ptr &&  worker_ptr,
async_overflow_policy  overflow_policy 
)
inline

Definition at line 169 of file thread_pool.h.

void spdlog::details::thread_pool::post_log ( async_logger_ptr &&  worker_ptr,
details::log_msg msg,
async_overflow_policy  overflow_policy 
)
inline

Definition at line 163 of file thread_pool.h.


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