#include <prediction_thread_pool.h>
|
| BaseThreadPool (int thread_num, int next_thread_pool_level) |
|
void | Stop () |
|
| ~BaseThreadPool () |
|
template<typename InputIter , typename F > |
void | ForEach (InputIter begin, InputIter end, F f) |
|
template<typename FuncType > |
std::future< typename std::result_of< FuncType()>::type > | Post (FuncType &&func) |
|
◆ BaseThreadPool()
apollo::prediction::BaseThreadPool::BaseThreadPool |
( |
int |
thread_num, |
|
|
int |
next_thread_pool_level |
|
) |
| |
◆ ~BaseThreadPool()
apollo::prediction::BaseThreadPool::~BaseThreadPool |
( |
| ) |
|
◆ ForEach()
template<typename InputIter , typename F >
void apollo::prediction::BaseThreadPool::ForEach |
( |
InputIter |
begin, |
|
|
InputIter |
end, |
|
|
F |
f |
|
) |
| |
|
inline |
◆ Post()
template<typename FuncType >
std::future<typename std::result_of<FuncType()>::type> apollo::prediction::BaseThreadPool::Post |
( |
FuncType && |
func | ) |
|
|
inline |
◆ Stop()
void apollo::prediction::BaseThreadPool::Stop |
( |
| ) |
|
◆ THREAD_POOL_CAPACITY
std::vector<int> apollo::prediction::BaseThreadPool::THREAD_POOL_CAPACITY |
|
static |
The documentation for this class was generated from the following file: