39 #ifndef ORO_INVOKER_BASE_HPP 40 #define ORO_INVOKER_BASE_HPP 42 #include <boost/function.hpp> 43 #include <boost/function_types/function_type.hpp> 44 #include <boost/type_traits.hpp> 46 #include "../SendHandle.hpp" 47 #include "../rtt-fwd.hpp" 58 template<
int,
class F>
76 typedef typename boost::function_traits<F>::result_type
result_type;
80 virtual result_type call() = 0;
86 typedef typename boost::function_traits<F>::result_type
result_type;
87 typedef typename boost::function<F>::arg1_type
arg1_type;
89 virtual result_type call(arg1_type a1) = 0;
96 typedef typename boost::function_traits<F>::result_type
result_type;
97 typedef typename boost::function<F>::arg1_type
arg1_type;
98 typedef typename boost::function<F>::arg2_type
arg2_type;
100 virtual result_type call(arg1_type a1, arg2_type a2) = 0;
107 typedef typename boost::function_traits<F>::result_type
result_type;
108 typedef typename boost::function<F>::arg1_type
arg1_type;
109 typedef typename boost::function<F>::arg2_type
arg2_type;
110 typedef typename boost::function<F>::arg3_type
arg3_type;
112 virtual result_type call(arg1_type a1, arg2_type a2, arg3_type a3) = 0;
113 virtual SendHandle<F> send(arg1_type a1, arg2_type a2, arg3_type a3) = 0;
119 typedef typename boost::function_traits<F>::result_type
result_type;
120 typedef typename boost::function<F>::arg1_type
arg1_type;
121 typedef typename boost::function<F>::arg2_type
arg2_type;
122 typedef typename boost::function<F>::arg3_type
arg3_type;
123 typedef typename boost::function<F>::arg4_type
arg4_type;
125 virtual result_type call(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4) = 0;
126 virtual SendHandle<F> send(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4) = 0;
132 typedef typename boost::function_traits<F>::result_type
result_type;
133 typedef typename boost::function<F>::arg1_type
arg1_type;
134 typedef typename boost::function<F>::arg2_type
arg2_type;
135 typedef typename boost::function<F>::arg3_type
arg3_type;
136 typedef typename boost::function<F>::arg4_type
arg4_type;
137 typedef typename boost::function<F>::arg5_type
arg5_type;
139 virtual result_type call(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5) = 0;
140 virtual SendHandle<F> send(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5) = 0;
146 typedef typename boost::function_traits<F>::result_type
result_type;
147 typedef typename boost::function<F>::arg1_type
arg1_type;
148 typedef typename boost::function<F>::arg2_type
arg2_type;
149 typedef typename boost::function<F>::arg3_type
arg3_type;
150 typedef typename boost::function<F>::arg4_type
arg4_type;
151 typedef typename boost::function<F>::arg5_type
arg5_type;
152 typedef typename boost::function<F>::arg6_type
arg6_type;
154 virtual result_type call(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5, arg6_type a6) = 0;
155 virtual SendHandle<F> send(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5, arg6_type a6) = 0;
161 typedef typename boost::function_traits<F>::result_type
result_type;
162 typedef typename boost::function<F>::arg1_type
arg1_type;
163 typedef typename boost::function<F>::arg2_type
arg2_type;
164 typedef typename boost::function<F>::arg3_type
arg3_type;
165 typedef typename boost::function<F>::arg4_type
arg4_type;
166 typedef typename boost::function<F>::arg5_type
arg5_type;
167 typedef typename boost::function<F>::arg6_type
arg6_type;
168 typedef typename boost::function<F>::arg7_type
arg7_type;
170 virtual result_type call(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5, arg6_type a6, arg7_type a7) = 0;
171 virtual SendHandle<F> send(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5, arg6_type a6, arg7_type a7) = 0;
boost::function< F >::arg6_type arg6_type
boost::function< F >::arg1_type arg1_type
virtual ~InvokerBaseImpl()
boost::function_traits< F >::result_type result_type
boost::function< F >::arg2_type arg2_type
boost::function< F >::arg4_type arg4_type
boost::function< F >::arg2_type arg2_type
virtual ~InvokerBaseImpl()
boost::function< F >::arg5_type arg5_type
boost::function< F >::arg3_type arg3_type
boost::function< F >::arg2_type arg2_type
boost::function< F >::arg5_type arg5_type
boost::function< F >::arg1_type arg1_type
virtual ~InvokerBaseImpl()
boost::function_traits< F >::result_type result_type
boost::function< F >::arg6_type arg6_type
boost::function_traits< F >::result_type result_type
The SendHandle is used to collect the result values of an asynchronous invocation. The template argument Signature must have the same type as the method being invoked.
boost::function_traits< F >::result_type result_type
boost::function< F >::arg3_type arg3_type
boost::function< F >::arg3_type arg3_type
virtual ~InvokerBaseImpl()
boost::function< F >::arg2_type arg2_type
boost::function_traits< F >::result_type result_type
virtual ~InvokerBaseImpl()
boost::function< F >::arg1_type arg1_type
boost::function_traits< F >::result_type result_type
boost::function< F >::arg1_type arg1_type
boost::function< F >::arg2_type arg2_type
boost::function< F >::arg7_type arg7_type
boost::function< F >::arg4_type arg4_type
virtual ~InvokerBaseImpl()
boost::function< F >::arg4_type arg4_type
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
boost::function_traits< F >::result_type result_type
boost::function< F >::arg4_type arg4_type
boost::function< F >::arg5_type arg5_type
boost::function_traits< F >::result_type result_reference
boost::function_traits< F >::result_type result_type
boost::function< F >::arg3_type arg3_type
boost::function< F >::arg1_type arg1_type
boost::function< F >::arg1_type arg1_type
boost::function< F >::arg1_type arg1_type
boost::function< F >::arg2_type arg2_type
virtual ~InvokerBaseImpl()
boost::function< F >::arg3_type arg3_type
virtual ~InvokerBaseImpl()