Lines Matching refs:Functor

55   template <typename Functor, typename... Args>
56 void Call(Functor&& functor, Args&&... args) { in Call()
57 Post(common::BindOnce(std::forward<Functor>(functor), std::forward<Args>(args)...)); in Call()
60 template <typename T, typename Functor, typename... Args>
61 void CallOn(T* obj, Functor&& functor, Args&&... args) { in CallOn()
62 …Post(common::BindOnce(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(… in CallOn()
65 template <typename Functor, typename... Args>
66 common::ContextualOnceCallback<common::MakeUnboundRunType<Functor, Args...>> BindOnce( in BindOnce()
67 Functor&& functor, Args&&... args) { in BindOnce()
68 return common::ContextualOnceCallback<common::MakeUnboundRunType<Functor, Args...>>( in BindOnce()
69 common::BindOnce(std::forward<Functor>(functor), std::forward<Args>(args)...), this); in BindOnce()
72 template <typename Functor, typename T, typename... Args>
73 common::ContextualOnceCallback<common::MakeUnboundRunType<Functor, T, Args...>> BindOnceOn( in BindOnceOn()
74 T* obj, Functor&& functor, Args&&... args) { in BindOnceOn()
75 return common::ContextualOnceCallback<common::MakeUnboundRunType<Functor, T, Args...>>( in BindOnceOn()
76 …common::BindOnce(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(args)… in BindOnceOn()
79 template <typename Functor, typename... Args>
80 …common::ContextualCallback<common::MakeUnboundRunType<Functor, Args...>> Bind(Functor&& functor, A… in Bind()
81 return common::ContextualCallback<common::MakeUnboundRunType<Functor, Args...>>( in Bind()
82 common::Bind(std::forward<Functor>(functor), std::forward<Args>(args)...), this); in Bind()
85 template <typename Functor, typename T, typename... Args>
86 common::ContextualCallback<common::MakeUnboundRunType<Functor, T, Args...>> BindOn( in BindOn()
87 T* obj, Functor&& functor, Args&&... args) { in BindOn()
88 return common::ContextualCallback<common::MakeUnboundRunType<Functor, T, Args...>>( in BindOn()
89 …common::Bind(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(args)...)… in BindOn()