sEMU
载入中...
搜索中...
未找到
wrapper.hpp 文件参考
#include "sEMU/core.hpp"
#include <cstdint>
#include <string>
wrapper.hpp 的引用(Include)关系图:
此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

class  CoreCommitState
 状态代理 (Proxy Pattern) 更多...
class  CoreIterator
 迭代器封装 (Iterator Pattern) 更多...
class  CoreSimRange
 范围包装 (Range Wrapper) 更多...

函数

template<typename Range, typename Action>
void run_simulation (Range &&range, Action &&action) noexcept
 泛型主执行器 (Generic Algorithm)

函数说明

◆ run_simulation()

template<typename Range, typename Action>
void run_simulation ( Range && range,
Action && action )
inlinenoexcept

泛型主执行器 (Generic Algorithm)

接受一个迭代范围和一个可调用对象 (Action,例如 Lambda 表达式)。 完美转发状态类型,以保障零开销执行传入的处理函数,相当于主事件循环机制。

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