CARLA
 
载入中...
搜索中...
未找到
| 静态 Public 成员函数 | 所有成员列表
carla::Functional类 参考

#include <Functional.h>

struct  Overload
 
struct  Overload< T >
 
struct  Overload< T, Ts... >
 
struct  Recursive
 

静态 Public 成员函数

template<typename... FuncTs>
static auto MakeOverload (FuncTs &&... fs)
 Creates an "overloaded callable object" out of one or more callable objects, each callable object will contribute with an overload of operator().
 
template<typename FuncT >
static auto MakeRecursive (FuncT &&func)
 Creates a recursive callable object, where the itself is passed as first argument to func.
 
template<typename... FuncTs>
static auto MakeRecursiveOverload (FuncTs &&... fs)
 

详细描述

在文件 Functional.h13 行定义.

成员函数说明

◆ MakeOverload()

template<typename... FuncTs>
static auto carla::Functional::MakeOverload ( FuncTs &&... fs)
inlinestatic

Creates an "overloaded callable object" out of one or more callable objects, each callable object will contribute with an overload of operator().

Use case: combine several lambdas into a single lambda.

在文件 Functional.h27 行定义.

被这些函数引用 FCarlaServer::FPimpl::BindActions() , 以及 MakeRecursiveOverload().

+ 这是这个函数的调用关系图:

◆ MakeRecursive()

template<typename FuncT >
static auto carla::Functional::MakeRecursive ( FuncT && func)
inlinestatic

Creates a recursive callable object, where the itself is passed as first argument to func.

Use case: create recursive lambda.

在文件 Functional.h19 行定义.

被这些函数引用 MakeRecursiveOverload().

+ 这是这个函数的调用关系图:

◆ MakeRecursiveOverload()

template<typename... FuncTs>
static auto carla::Functional::MakeRecursiveOverload ( FuncTs &&... fs)
inlinestatic
参见
MakeRecursive and MakeOverload.

在文件 Functional.h33 行定义.

引用了 MakeOverload() , 以及 MakeRecursive().

被这些函数引用 FCarlaServer::FPimpl::BindActions().

+ 函数调用图:
+ 这是这个函数的调用关系图:

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