39 #ifndef ORO_RETURN_SIGNATURE_HPP 40 #define ORO_RETURN_SIGNATURE_HPP 42 #include <boost/type_traits.hpp> 44 #include "../rtt-fwd.hpp" 56 template<
int,
class Signature,
class ToInvoke>
59 template<
class F,
class ToInvoke>
62 typedef typename boost::function_traits<F>::result_type
result_type;
68 result_type
ret()
const {
78 template<
class F,
class ToInvoke>
81 typedef typename boost::function_traits<F>::result_type
result_type;
82 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
88 result_type
ret(arg1_type a1)
const {
90 return impl->ret( a1 );
94 result_type
ret()
const {
104 template<
class F,
class ToInvoke>
107 typedef typename boost::function_traits<F>::result_type
result_type;
108 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
109 typedef typename boost::function_traits<F>::arg2_type
arg2_type;
115 result_type
ret(arg1_type a1, arg2_type a2)
const {
117 return impl->ret( a1,a2 );
130 template<
class F,
class ToInvoke>
133 typedef typename boost::function_traits<F>::result_type
result_type;
134 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
135 typedef typename boost::function_traits<F>::arg2_type
arg2_type;
136 typedef typename boost::function_traits<F>::arg3_type
arg3_type;
142 result_type
ret(arg1_type a1, arg2_type a2, arg3_type a3)
const {
144 return impl->ret( a1,a2,a3 );
158 template<
class F,
class ToInvoke>
161 typedef typename boost::function_traits<F>::result_type
result_type;
162 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
163 typedef typename boost::function_traits<F>::arg2_type
arg2_type;
164 typedef typename boost::function_traits<F>::arg3_type
arg3_type;
165 typedef typename boost::function_traits<F>::arg4_type
arg4_type;
171 result_type
ret(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4)
const {
173 return impl->ret( a1,a2,a3,a4 );
186 template<
class F,
class ToInvoke>
189 typedef typename boost::function_traits<F>::result_type
result_type;
190 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
191 typedef typename boost::function_traits<F>::arg2_type
arg2_type;
192 typedef typename boost::function_traits<F>::arg3_type
arg3_type;
193 typedef typename boost::function_traits<F>::arg4_type
arg4_type;
194 typedef typename boost::function_traits<F>::arg5_type
arg5_type;
200 result_type
ret(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5)
const {
202 return impl->ret( a1,a2,a3,a4,a5 );
215 template<
class F,
class ToInvoke>
218 typedef typename boost::function_traits<F>::result_type
result_type;
219 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
220 typedef typename boost::function_traits<F>::arg2_type
arg2_type;
221 typedef typename boost::function_traits<F>::arg3_type
arg3_type;
222 typedef typename boost::function_traits<F>::arg4_type
arg4_type;
223 typedef typename boost::function_traits<F>::arg5_type
arg5_type;
224 typedef typename boost::function_traits<F>::arg6_type
arg6_type;
230 result_type
ret(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5, arg6_type a6)
const {
232 return impl->ret( a1,a2,a3,a4,a5,a6 );
245 template<
class F,
class ToInvoke>
248 typedef typename boost::function_traits<F>::result_type
result_type;
249 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
250 typedef typename boost::function_traits<F>::arg2_type
arg2_type;
251 typedef typename boost::function_traits<F>::arg3_type
arg3_type;
252 typedef typename boost::function_traits<F>::arg4_type
arg4_type;
253 typedef typename boost::function_traits<F>::arg5_type
arg5_type;
254 typedef typename boost::function_traits<F>::arg6_type
arg6_type;
255 typedef typename boost::function_traits<F>::arg7_type
arg7_type;
261 result_type
ret(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5, arg6_type a6, arg7_type a7)
const {
263 return impl->ret( a1,a2,a3,a4,a5,a6,a7 );
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::arg7_type arg7_type
boost::function_traits< F >::arg6_type arg6_type
boost::function_traits< F >::arg2_type arg2_type
boost::function_traits< F >::result_type result_type
ReturnSignature(ToInvoke implementation)
result_type ret(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5, arg6_type a6, arg7_type a7) const
ReturnSignature(ToInvoke implementation)
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::arg1_type arg1_type
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::arg3_type arg3_type
boost::function_traits< F >::arg1_type arg1_type
boost::function_traits< F >::arg3_type arg3_type
ReturnSignature(ToInvoke implementation)
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::arg1_type arg1_type
result_type ret(arg1_type a1, arg2_type a2) const
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::arg2_type arg2_type
ReturnSignature(ToInvoke implementation)
boost::function_traits< F >::arg2_type arg2_type
boost::function_traits< F >::arg4_type arg4_type
boost::function_traits< F >::arg3_type arg3_type
boost::function_traits< F >::arg4_type arg4_type
boost::function_traits< F >::arg4_type arg4_type
boost::function_traits< F >::arg5_type arg5_type
boost::function_traits< F >::arg5_type arg5_type
boost::function_traits< F >::arg1_type arg1_type
ReturnSignature(ToInvoke implementation)
result_type ret(arg1_type a1, arg2_type a2, arg3_type a3) const
boost::function_traits< F >::arg1_type arg1_type
boost::function_traits< F >::arg1_type arg1_type
result_type ret(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5) const
boost::function_traits< F >::arg5_type arg5_type
result_type ret(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5, arg6_type a6) const
boost::function_traits< F >::arg2_type arg2_type
boost::function_traits< F >::arg4_type arg4_type
Defines ret(), given a Signature.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
boost::function_traits< F >::arg2_type arg2_type
result_type ret(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4) const
ReturnSignature(ToInvoke implementation)
boost::function_traits< F >::arg1_type arg1_type
result_type ret(arg1_type a1) const
ReturnSignature(ToInvoke implementation)
boost::function_traits< F >::arg6_type arg6_type
boost::function_traits< F >::arg3_type arg3_type
boost::function_traits< F >::arg3_type arg3_type
boost::function_traits< F >::arg2_type arg2_type
ReturnSignature(ToInvoke implementation)