|
GKD.RoboCtrl
|
管理一组协程回调的容器。 更多...
管理一组协程回调的容器。
| Args | 回调参数类型 |
在文件 callback.hpp 第 34 行定义.
#include <callback.hpp>
Public 成员函数 | |
| template<typename... CallArgs> | |
| void | operator() (CallArgs &&... args) const |
| 触发所有回调。 | |
| template<callback_fn< Args... > F> | |
| void | add (F &&f) |
| 添加一个新的回调。 | |
|
inline |
|
inline |