Home | History | Annotate | Download | only in base

Lines Matching refs:A3

276 template <typename R, typename A1, typename A2, typename A3>
277 class RunnableAdapter<R(*)(A1, A2, A3)> {
279 typedef R (RunType)(A1, A2, A3);
281 explicit RunnableAdapter(R(*function)(A1, A2, A3))
287 typename CallbackParamTraits<A3>::ForwardType a3) {
289 CallbackForward(a3));
293 R (*function_)(A1, A2, A3);
297 template <typename R, typename T, typename A1, typename A2, typename A3>
298 class RunnableAdapter<R(T::*)(A1, A2, A3)> {
300 typedef R (RunType)(T*, A1, A2, A3);
303 explicit RunnableAdapter(R(T::*method)(A1, A2, A3))
309 typename CallbackParamTraits<A3>::ForwardType a3) {
311 CallbackForward(a3));
315 R (T::*method_)(A1, A2, A3);
319 template <typename R, typename T, typename A1, typename A2, typename A3>
320 class RunnableAdapter<R(T::*)(A1, A2, A3) const> {
322 typedef R (RunType)(const T*, A1, A2, A3);
325 explicit RunnableAdapter(R(T::*method)(A1, A2, A3) const)
331 typename CallbackParamTraits<A3>::ForwardType a3) {
333 CallbackForward(a3));
337 R (T::*method_)(A1, A2, A3) const;
341 template <typename R, typename A1, typename A2, typename A3, typename A4>
342 class RunnableAdapter<R(*)(A1, A2, A3, A4)> {
344 typedef R (RunType)(A1, A2, A3, A4);
346 explicit RunnableAdapter(R(*function)(A1, A2, A3, A4))
352 typename CallbackParamTraits<A3>::ForwardType a3,
355 CallbackForward(a3), CallbackForward(a4));
359 R (*function_)(A1, A2, A3, A4);
363 template <typename R, typename T, typename A1, typename A2, typename A3,
365 class RunnableAdapter<R(T::*)(A1, A2, A3, A4)> {
367 typedef R (RunType)(T*, A1, A2, A3, A4);
370 explicit RunnableAdapter(R(T::*method)(A1, A2, A3, A4))
376 typename CallbackParamTraits<A3>::ForwardType a3,
379 CallbackForward(a3), CallbackForward(a4));
383 R (T::*method_)(A1, A2, A3, A4);
387 template <typename R, typename T, typename A1, typename A2, typename A3,
389 class RunnableAdapter<R(T::*)(A1, A2, A3, A4) const> {
391 typedef R (RunType)(const T*, A1, A2, A3, A4);
394 explicit RunnableAdapter(R(T::*method)(A1, A2, A3, A4) const)
400 typename CallbackParamTraits<A3>::ForwardType a3,
403 CallbackForward(a3), CallbackForward(a4));
407 R (T::*method_)(A1, A2, A3, A4) const;
411 template <typename R, typename A1, typename A2, typename A3, typename A4,
413 class RunnableAdapter<R(*)(A1, A2, A3, A4, A5)> {
415 typedef R (RunType)(A1, A2, A3, A4, A5);
417 explicit RunnableAdapter(R(*function)(A1, A2, A3, A4, A5))
423 typename CallbackParamTraits<A3>::ForwardType a3,
427 CallbackForward(a3), CallbackForward(a4), CallbackForward(a5));
431 R (*function_)(A1, A2, A3, A4, A5);
435 template <typename R, typename T, typename A1, typename A2, typename A3,
437 class RunnableAdapter<R(T::*)(A1, A2, A3, A4, A5)> {
439 typedef R (RunType)(T*, A1, A2, A3, A4, A5);
442 explicit RunnableAdapter(R(T::*method)(A1, A2, A3, A4, A5))
448 typename CallbackParamTraits<A3>::ForwardType a3,
452 CallbackForward(a3), CallbackForward(a4), CallbackForward(a5));
456 R (T::*method_)(A1, A2, A3, A4, A5);
460 template <typename R, typename T, typename A1, typename A2, typename A3,
462 class RunnableAdapter<R(T::*)(A1, A2, A3, A4, A5) const> {
464 typedef R (RunType)(const T*, A1, A2, A3, A4, A5);
467 explicit RunnableAdapter(R(T::*method)(A1, A2, A3, A4, A5) const)
473 typename CallbackParamTraits<A3>::ForwardType a3,
477 CallbackForward(a3), CallbackForward(a4), CallbackForward(a5));
481 R (T::*method_)(A1, A2, A3, A4, A5) const;
485 template <typename R, typename A1, typename A2, typename A3, typename A4,
487 class RunnableAdapter<R(*)(A1, A2, A3, A4, A5, A6)> {
489 typedef R (RunType)(A1, A2, A3, A4, A5, A6);
491 explicit RunnableAdapter(R(*function)(A1, A2, A3, A4, A5, A6))
497 typename CallbackParamTraits<A3>::ForwardType a3,
502 CallbackForward(a3), CallbackForward(a4), CallbackForward(a5),
507 R (*function_)(A1, A2, A3, A4, A5, A6);
511 template <typename R, typename T, typename A1, typename A2, typename A3,
513 A3, A4, A5, A6)> {
515 typedef R (RunType)(T*, A1, A2, A3, A4, A5, A6);
518 explicit RunnableAdapter(R(T::*method)(A1, A2, A3, A4, A5, A6))
524 typename CallbackParamTraits<A3>::ForwardType a3,
529 CallbackForward(a3), CallbackForward(a4), CallbackForward(a5),
534 R (T::*method_)(A1, A2, A3, A4, A5, A6);
538 template <typename R, typename T, typename A1, typename A2, typename A3,
540 class RunnableAdapter<R(T::*)(A1, A2, A3, A4, A5, A6) const> {
542 typedef R (RunType)(const T*, A1, A2, A3, A4, A5, A6);
545 explicit RunnableAdapter(R(T::*method)(A1, A2, A3, A4, A5, A6) const)
551 typename CallbackParamTraits<A3>::ForwardType a3,
556 CallbackForward(a3), CallbackForward(a4), CallbackForward(a5),
561 R (T::*method_)(A1, A2, A3, A4, A5, A6) const;
565 template <typename R, typename A1, typename A2, typename A3, typename A4,
567 class RunnableAdapter<R(*)(A1, A2, A3, A4, A5, A6, A7)> {
569 typedef R (RunType)(A1, A2, A3, A4, A5, A6, A7);
571 explicit RunnableAdapter(R(*function)(A1, A2, A3, A4, A5, A6, A7))
577 typename CallbackParamTraits<A3>::ForwardType a3,
583 CallbackForward(a3), CallbackForward(a4), CallbackForward(a5),
588 R (*function_)(A1, A2, A3, A4, A5, A6, A7);
592 template <typename R, typename T, typename A1, typename A2, typename A3,
594 class RunnableAdapter<R(T::*)(A1, A2, A3, A4, A5, A6, A7)> {
596 typedef R (RunType)(T*, A1, A2, A3, A4, A5, A6, A7);
599 explicit RunnableAdapter(R(T::*method)(A1, A2, A3, A4, A5, A6, A7))
605 typename CallbackParamTraits<A3>::ForwardType a3,
611 CallbackForward(a3), CallbackForward(a4), CallbackForward(a5),
616 R (T::*method_)(A1, A2, A3, A4, A5, A6, A7);
620 template <typename R, typename T, typename A1, typename A2, typename A3,
622 class RunnableAdapter<R(T::*)(A1, A2, A3, A4, A5, A6, A7) const> {
624 typedef R (RunType)(const T*, A1, A2, A3, A4, A5, A6, A7);
627 explicit RunnableAdapter(R(T::*method)(A1, A2, A3, A4, A5, A6, A7) const)
633 typename CallbackParamTraits<A3>::ForwardType a3,
639 CallbackForward(a3), CallbackForward(a4), CallbackForward(a5),
644 R (T::*method_)(A1, A2, A3, A4, A5, A6, A7) const;
672 template <typename R, typename A1, typename A2, typename A3>
673 struct FunctionTraits<R(A1, A2, A3)> {
677 typedef A3 A3Type;
680 template <typename R, typename A1, typename A2, typename A3, typename A4>
681 struct FunctionTraits<R(A1, A2, A3, A4)> {
685 typedef A3 A3Type;
689 template <typename R, typename A1, typename A2, typename A3, typename A4,
691 struct FunctionTraits<R(A1, A2, A3, A4, A5)> {
695 typedef A3 A3Type;
700 template <typename R, typename A1, typename A2, typename A3, typename A4,
702 struct FunctionTraits<R(A1, A2, A3, A4, A5, A6)> {
706 typedef A3 A3Type;
712 template <typename R, typename A1, typename A2, typename A3, typename A4,
714 struct FunctionTraits<R(A1, A2, A3, A4, A5, A6, A7)> {
718 typedef A3 A3Type;
747 template <typename R, typename A1, typename A2, typename A3>
748 struct ForceVoidReturn<R(A1, A2, A3)> {
749 typedef void(RunType)(A1, A2, A3);
752 template <typename R, typename A1, typename A2, typename A3, typename A4>
753 struct ForceVoidReturn<R(A1, A2, A3, A4)> {
754 typedef void(RunType)(A1, A2, A3, A4);
757 template <typename R, typename A1, typename A2, typename A3, typename A4,
759 struct ForceVoidReturn<R(A1, A2, A3, A4, A5)> {
760 typedef void(RunType)(A1, A2, A3, A4, A5);
763 template <typename R, typename A1, typename A2, typename A3, typename A4,
765 struct ForceVoidReturn<R(A1, A2, A3, A4, A5, A6)> {
766 typedef void(RunType)(A1, A2, A3, A4, A5, A6);
769 template <typename R, typename A1, typename A2, typename A3, typename A4,
771 struct ForceVoidReturn<R(A1, A2, A3, A4, A5, A6, A7)> {
772 typedef void(RunType)(A1, A2, A3, A4, A5, A6, A7);
914 typename A3>
916 void(A1, A2, A3)> {
917 static ReturnType MakeItSo(Runnable runnable, A1 a1, A2 a2, A3 a3) {
919 CallbackForward(a3));
923 template <typename Runnable,typename A1, typename A2, typename A3>
925 void(A1, A2, A3)> {
926 static void MakeItSo(Runnable runnable, A1 a1, A2 a2, A3 a3) {
927 runnable.Run(CallbackForward(a1), CallbackForward(a2), CallbackForward(a3));
931 template <typename Runnable, typename BoundWeakPtr, typename A2, typename A3>
933 void(BoundWeakPtr, A2, A3)> {
934 static void MakeItSo(Runnable runnable, BoundWeakPtr weak_ptr, A2 a2, A3 a3) {
938 runnable.Run(weak_ptr.get(), CallbackForward(a2), CallbackForward(a3));
943 typename A3, typename A4>
945 void(A1, A2, A3, A4)> {
946 static ReturnType MakeItSo(Runnable runnable, A1 a1, A2 a2, A3 a3, A4 a4) {
948 CallbackForward(a3), CallbackForward(a4));
952 template <typename Runnable,typename A1, typename A2, typename A3, typename A4>
954 void(A1, A2, A3, A4)> {
955 static void MakeItSo(Runnable runnable, A1 a1, A2 a2, A3 a3, A4 a4) {
956 runnable.Run(CallbackForward(a1), CallbackForward(a2), CallbackForward(a3),
961 template <typename Runnable, typename BoundWeakPtr, typename A2, typename A3,
964 void(BoundWeakPtr, A2, A3, A4)> {
965 static void MakeItSo(Runnable runnable, BoundWeakPtr weak_ptr, A2 a2, A3 a3,
970 runnable.Run(weak_ptr.get(), CallbackForward(a2), CallbackForward(a3),
976 typename A3, typename A4, typename A5>
978 void(A1, A2, A3, A4, A5)> {
979 static ReturnType MakeItSo(Runnable runnable, A1 a1, A2 a2, A3 a3, A4 a4,
982 CallbackForward(a3), CallbackForward(a4), CallbackForward(a5));
986 template <typename Runnable,typename A1, typename A2, typename A3, typename A4,
989 void(A1, A2, A3, A4, A5)> {
990 static void MakeItSo(Runnable runnable, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) {
991 runnable.Run(CallbackForward(a1), CallbackForward(a2), CallbackForward(a3),
996 template <typename Runnable, typename BoundWeakPtr, typename A2, typename A3,
999 void(BoundWeakPtr, A2, A3, A4, A5)> {
1000 static void MakeItSo(Runnable runnable, BoundWeakPtr weak_ptr, A2 a2, A3 a3,
1005 runnable.Run(weak_ptr.get(), CallbackForward(a2), CallbackForward(a3),
1011 typename A3, typename A4, typename A5, typename A6>
1013 void(A1, A2, A3, A4, A5, A6)> {
1014 static ReturnType MakeItSo(Runnable runnable, A1 a1, A2 a2, A3 a3, A4 a4,
1017 CallbackForward(a3), CallbackForward(a4), CallbackForward(a5),
1022 template <typename Runnable,typename A1, typename A2, typename A3, typename A4,
1025 void(A1, A2, A3, A4, A5, A6)> {
1026 static void MakeItSo(Runnable runnable, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5,
1028 runnable.Run(CallbackForward(a1), CallbackForward(a2), CallbackForward(a3),
1033 template <typename Runnable, typename BoundWeakPtr, typename A2, typename A3,
1036 void(BoundWeakPtr, A2, A3, A4, A5, A6)> {
1037 static void MakeItSo(Runnable runnable, BoundWeakPtr weak_ptr, A2 a2, A3 a3,
1042 runnable.Run(weak_ptr.get(), CallbackForward(a2), CallbackForward(a3),
1048 typename A3, typename A4, typename A5, typename A6, typename A7>
1050 void(A1, A2, A3, A4, A5, A6, A7)> {
1051 static ReturnType MakeItSo(Runnable runnable, A1 a1, A2 a2, A3 a3, A4 a4,
1054 CallbackForward(a3), CallbackForward(a4), CallbackForward(a5),
1059 template <typename Runnable,typename A1, typename A2, typename A3, typename A4,
1062 void(A1, A2, A3, A4, A5, A6, A7)> {
1063 static void MakeItSo(Runnable runnable, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5,
1065 runnable.Run(CallbackForward(a1), CallbackForward(a2), CallbackForward(a3),
1071 template <typename Runnable, typename BoundWeakPtr, typename A2, typename A3,
1074 void(BoundWeakPtr, A2, A3, A4, A5, A6, A7)> {
1075 static void MakeItSo(Runnable runnable, BoundWeakPtr weak_ptr, A2 a2, A3 a3,
1080 runnable.Run(weak_ptr.get(), CallbackForward(a2), CallbackForward(a3),