|
Apollo 10.0
自动驾驶开放平台
|
类 | |
| class | CRoutine |
| struct | RoutineContext |
| class | RoutineFactory |
类型定义 | |
| using | RoutineFunc = std::function< void()> |
| using | Duration = std::chrono::microseconds |
| typedef void(* | func) (void *) |
枚举 | |
| enum class | RoutineState { READY , FINISHED , SLEEP , IO_WAIT , DATA_WAIT } |
函数 | |
| void | MakeContext (const func &f1, const void *arg, RoutineContext *ctx) |
| void | SwapContext (char **src_sp, char **dest_sp) |
| template<typename M0 , typename F > | |
| RoutineFactory | CreateRoutineFactory (F &&f, const std::shared_ptr< data::DataVisitor< M0 > > &dv) |
| template<typename M0 , typename M1 , typename F > | |
| RoutineFactory | CreateRoutineFactory (F &&f, const std::shared_ptr< data::DataVisitor< M0, M1 > > &dv) |
| template<typename M0 , typename M1 , typename M2 , typename F > | |
| RoutineFactory | CreateRoutineFactory (F &&f, const std::shared_ptr< data::DataVisitor< M0, M1, M2 > > &dv) |
| template<typename M0 , typename M1 , typename M2 , typename M3 , typename F > | |
| RoutineFactory | CreateRoutineFactory (F &&f, const std::shared_ptr< data::DataVisitor< M0, M1, M2, M3 > > &dv) |
| template<typename Function > | |
| RoutineFactory | CreateRoutineFactory (Function &&f) |
变量 | |
| constexpr size_t | STACK_SIZE = 2 * 1024 * 1024 |
| constexpr size_t | REGISTERS_SIZE = 56 |
| using apollo::cyber::croutine::Duration = typedef std::chrono::microseconds |
在文件 croutine.h 第 36 行定义.
| typedef void(* apollo::cyber::croutine::func) (void *) |
在文件 routine_context.h 第 41 行定义.
| using apollo::cyber::croutine::RoutineFunc = typedef std::function<void()> |
在文件 croutine.h 第 35 行定义.
|
strong |
| RoutineFactory apollo::cyber::croutine::CreateRoutineFactory | ( | F && | f, |
| const std::shared_ptr< data::DataVisitor< M0 > > & | dv | ||
| ) |
在文件 routine_factory.h 第 51 行定义.
| RoutineFactory apollo::cyber::croutine::CreateRoutineFactory | ( | F && | f, |
| const std::shared_ptr< data::DataVisitor< M0, M1 > > & | dv | ||
| ) |
在文件 routine_factory.h 第 73 行定义.
| RoutineFactory apollo::cyber::croutine::CreateRoutineFactory | ( | F && | f, |
| const std::shared_ptr< data::DataVisitor< M0, M1, M2 > > & | dv | ||
| ) |
在文件 routine_factory.h 第 96 行定义.
| RoutineFactory apollo::cyber::croutine::CreateRoutineFactory | ( | F && | f, |
| const std::shared_ptr< data::DataVisitor< M0, M1, M2, M3 > > & | dv | ||
| ) |
在文件 routine_factory.h 第 120 行定义.
| RoutineFactory apollo::cyber::croutine::CreateRoutineFactory | ( | Function && | f | ) |
在文件 routine_factory.h 第 145 行定义.
| void apollo::cyber::croutine::MakeContext | ( | const func & | f1, |
| const void * | arg, | ||
| RoutineContext * | ctx | ||
| ) |
在文件 routine_context.cc 第 40 行定义.
|
inline |
在文件 routine_context.h 第 53 行定义.
|
constexpr |
在文件 routine_context.h 第 38 行定义.
|
constexpr |
在文件 routine_context.h 第 34 行定义.