Searched refs:NonCopyableFunction (Results 1 – 3 of 3) sorted by relevance
36 template <typename Fn> class NonCopyableFunction; variable38 template <typename Ret, typename... Args> class NonCopyableFunction<Ret(Args...)> {62 NonCopyableFunction() = default;63 template <typename F> NonCopyableFunction(F f) { in NonCopyableFunction() function66 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;[all …]
61 template <typename Fn> class NonCopyableFunction; variable63 template <typename Ret, typename... Args> class NonCopyableFunction<Ret(Args...)> {89 NonCopyableFunction() = default;91 template <typename F> NonCopyableFunction(F f) { in NonCopyableFunction() function94 NonCopyableFunction(NonCopyableFunction&& other) = default;95 NonCopyableFunction& operator=(NonCopyableFunction&& other) = default;96 NonCopyableFunction(const NonCopyableFunction& other) = delete;97 NonCopyableFunction& operator=(const NonCopyableFunction& other) = delete;104 using WorkerTask = NonCopyableFunction<void()>;
89 void EventLoop::addEventReceiver(NonCopyableFunction<void(short)> handler, int eventFd, in addEventReceiver()98 void EventLoop::addTimer(NonCopyableFunction<void()> handler, in addTimer()