39 #ifndef ORO_RETURN_BASE_HPP 40 #define ORO_RETURN_BASE_HPP 42 #include <boost/type_traits.hpp> 52 template<
int,
class F>
68 typedef typename boost::function_traits<F>::result_type
result_type;
71 virtual result_type ret() = 0;
77 typedef typename boost::function_traits<F>::result_type
result_type;
78 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
81 virtual result_type ret(arg1_type a1) = 0;
82 virtual result_type ret() = 0;
88 typedef typename boost::function_traits<F>::result_type
result_type;
89 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
90 typedef typename boost::function_traits<F>::arg2_type
arg2_type;
93 virtual result_type ret(arg1_type a1, arg2_type a2) = 0;
94 virtual result_type ret() = 0;
100 typedef typename boost::function_traits<F>::result_type
result_type;
101 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
102 typedef typename boost::function_traits<F>::arg2_type
arg2_type;
103 typedef typename boost::function_traits<F>::arg3_type
arg3_type;
106 virtual result_type ret(arg1_type a1, arg2_type a2, arg3_type a3) = 0;
107 virtual result_type ret() = 0;
113 typedef typename boost::function_traits<F>::result_type
result_type;
114 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
115 typedef typename boost::function_traits<F>::arg2_type
arg2_type;
116 typedef typename boost::function_traits<F>::arg3_type
arg3_type;
117 typedef typename boost::function_traits<F>::arg4_type
arg4_type;
120 virtual result_type ret(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4) = 0;
121 virtual result_type ret() = 0;
127 typedef typename boost::function_traits<F>::result_type
result_type;
128 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
129 typedef typename boost::function_traits<F>::arg2_type
arg2_type;
130 typedef typename boost::function_traits<F>::arg3_type
arg3_type;
131 typedef typename boost::function_traits<F>::arg4_type
arg4_type;
132 typedef typename boost::function_traits<F>::arg5_type
arg5_type;
135 virtual result_type ret(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5) = 0;
136 virtual result_type ret() = 0;
142 typedef typename boost::function_traits<F>::result_type
result_type;
143 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
144 typedef typename boost::function_traits<F>::arg2_type
arg2_type;
145 typedef typename boost::function_traits<F>::arg3_type
arg3_type;
146 typedef typename boost::function_traits<F>::arg4_type
arg4_type;
147 typedef typename boost::function_traits<F>::arg5_type
arg5_type;
148 typedef typename boost::function_traits<F>::arg6_type
arg6_type;
151 virtual result_type ret(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5, arg6_type a6) = 0;
152 virtual result_type ret() = 0;
158 typedef typename boost::function_traits<F>::result_type
result_type;
159 typedef typename boost::function_traits<F>::arg1_type
arg1_type;
160 typedef typename boost::function_traits<F>::arg2_type
arg2_type;
161 typedef typename boost::function_traits<F>::arg3_type
arg3_type;
162 typedef typename boost::function_traits<F>::arg4_type
arg4_type;
163 typedef typename boost::function_traits<F>::arg5_type
arg5_type;
164 typedef typename boost::function_traits<F>::arg6_type
arg6_type;
165 typedef typename boost::function_traits<F>::arg7_type
arg7_type;
168 virtual result_type ret(arg1_type a1, arg2_type a2, arg3_type a3, arg4_type a4, arg5_type a5, arg6_type a6, arg7_type a7) = 0;
169 virtual result_type ret() = 0;
This is the base class that defines the interface of returning data from method invocations.
boost::function_traits< F >::arg6_type arg6_type
boost::function_traits< F >::arg6_type arg6_type
virtual ~ReturnBaseImpl()
virtual ~ReturnBaseImpl()
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::arg3_type arg3_type
boost::function_traits< F >::result_type result_type
virtual ~ReturnBaseImpl()
boost::function_traits< F >::arg4_type arg4_type
boost::function_traits< F >::arg1_type arg1_type
virtual ~ReturnBaseImpl()
boost::function_traits< F >::arg7_type arg7_type
virtual ~ReturnBaseImpl()
boost::function_traits< F >::arg5_type arg5_type
boost::function_traits< F >::arg1_type arg1_type
boost::function_traits< F >::arg4_type arg4_type
boost::function_traits< F >::arg4_type arg4_type
boost::function_traits< F >::arg3_type arg3_type
boost::function_traits< F >::arg2_type arg2_type
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::arg1_type arg1_type
boost::function_traits< F >::arg5_type arg5_type
boost::function_traits< F >::arg1_type arg1_type
boost::function_traits< F >::arg2_type arg2_type
boost::function_traits< F >::result_type result_type
Implementation of ret() which takes the same signature as call().
virtual ~ReturnBaseImpl()
boost::function_traits< F >::arg5_type arg5_type
boost::function_traits< F >::arg1_type arg1_type
boost::function_traits< F >::arg1_type arg1_type
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::arg1_type arg1_type
virtual ~ReturnBaseImpl()
boost::function_traits< F >::arg3_type arg3_type
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
boost::function_traits< F >::arg2_type arg2_type
boost::function_traits< F >::arg2_type arg2_type
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::arg2_type arg2_type
boost::function_traits< F >::arg3_type arg3_type
virtual ~ReturnBaseImpl()
boost::function_traits< F >::arg3_type arg3_type
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::result_type result_type
boost::function_traits< F >::arg2_type arg2_type
boost::function_traits< F >::arg4_type arg4_type