Apollo 10.0
自动驾驶开放平台
apollo::prediction::LevelThreadPool< LEVEL > 模板类 参考

#include <prediction_thread_pool.h>

类 apollo::prediction::LevelThreadPool< LEVEL > 继承关系图:
apollo::prediction::LevelThreadPool< LEVEL > 的协作图:

静态 Public 成员函数

static LevelThreadPoolInstance ()
 

额外继承的成员函数

- Public 成员函数 继承自 apollo::prediction::BaseThreadPool
 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)
 
- 静态 Public 属性 继承自 apollo::prediction::BaseThreadPool
static std::vector< int > THREAD_POOL_CAPACITY = {20, 20, 20}
 

详细描述

template<int LEVEL>
class apollo::prediction::LevelThreadPool< LEVEL >

在文件 prediction_thread_pool.h86 行定义.

成员函数说明

◆ Instance()

template<int LEVEL>
static LevelThreadPool * apollo::prediction::LevelThreadPool< LEVEL >::Instance ( )
inlinestatic

在文件 prediction_thread_pool.h88 行定义.

88 {
89 static LevelThreadPool<LEVEL> pool;
90 return &pool;
91 }

该类的文档由以下文件生成: