Lines Matching refs:NonCopyableFunction
36 template <typename Fn> class NonCopyableFunction; variable
38 template <typename Ret, typename... Args> class NonCopyableFunction<Ret(Args...)> {
62 NonCopyableFunction() = default;
63 template <typename F> NonCopyableFunction(F f) { in NonCopyableFunction() function
66 NonCopyableFunction(NonCopyableFunction&& other) = default;
67 NonCopyableFunction& operator=(NonCopyableFunction&& other) = default;
68 NonCopyableFunction(const NonCopyableFunction& other) = delete;
69 NonCopyableFunction& operator=(const NonCopyableFunction& other) = delete;
92 EventReceiver(int fd, short flags, NonCopyableFunction<void(short)> handle) in EventReceiver()
96 NonCopyableFunction<void(short)> handleEvent;
104 std::chrono::steady_clock::duration _duration, NonCopyableFunction<void()> handle, in Timer()
110 NonCopyableFunction<void()> handleTimer;
125 void addEventReceiver(NonCopyableFunction<void(short)> handler, int eventFd,
128 void addTimer(NonCopyableFunction<void()> handler, std::chrono::steady_clock::duration duration,