39 #ifndef ORO_TASK_METHOD_BINDER_HPP 40 #define ORO_TASK_METHOD_BINDER_HPP 42 #include <boost/function.hpp> 43 #include <boost/type_traits/function_traits.hpp> 44 #include <boost/bind.hpp> 45 #include <boost/mem_fn.hpp> 51 template<
int,
class F>
57 template<
class M,
class O>
59 return boost::bind( boost::mem_fn(m), o );
66 template<
class M,
class O>
68 return boost::bind( boost::mem_fn(m), o, _1 );
75 template<
class M,
class O>
77 return boost::bind( boost::mem_fn(m), o, _1, _2 );
84 template<
class M,
class O>
86 return boost::bind( boost::mem_fn(m), o, _1, _2, _3 );
93 template<
class M,
class O>
95 return boost::bind( boost::mem_fn(m), o, _1, _2, _3, _4 );
102 template<
class M,
class O>
104 return boost::bind( boost::mem_fn(m), o, _1, _2, _3, _4, _5 );
111 template<
class M,
class O>
113 return boost::bind( boost::mem_fn(m), o, _1, _2, _3, _4, _5, _6 );
120 template<
class M,
class O>
122 return boost::bind( boost::mem_fn(m), o, _1, _2, _3, _4, _5, _6, _7 );
129 template<
class M,
class O>
131 return boost::bind( boost::mem_fn(m), o, _1, _2, _3, _4, _5, _6, _7, _8 );
138 template<
class M,
class O>
140 return boost::bind( boost::mem_fn(m), o, _1, _2, _3, _4, _5, _6, _7, _8, _9 );
boost::function< F > operator()(M m, O o)
boost::function< F > operator()(M m, O o)
boost::function< F > operator()(M m, O o)
boost::function< F > operator()(M m, O o)
boost::function< F > operator()(M m, O o)
boost::function< F > operator()(M m, O o)
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
boost::function< F > operator()(M m, O o)
boost::function< F > operator()(M m, O o)
boost::function< F > operator()(M m, O o)
boost::function< F > operator()(M m, O o)