17 #ifndef HH_SENF_PPI_detail_Callback_ 18 #define HH_SENF_PPI_detail_Callback_ 1 21 #include <boost/function.hpp> 44 template <
class Arg=
void>
47 typedef boost::function<void (Arg)>
type;
49 template <
class Owner,
class FnClass>
50 static type
make(
void (FnClass::* memfn )(), Owner & owner);
51 template <
class Owner,
class FnClass,
class FnArg>
52 static type
make(
void (FnClass::* memfn )(FnArg arg), Owner & owner);
53 template <
class Owner>
54 static type
make(type callable, Owner &);
55 template <
class Owner>
56 static type
make(boost::function<
void()> callable, Owner &);
64 typedef boost::function<void ()>
type;
66 template <
class Owner,
class FnClass>
67 static type
make(
void (FnClass::* memfn )(), Owner & owner);
68 template <
class Owner>
69 static type
make(type callable, Owner &);
Provide callbacks with a single optional argument.
boost::function< void(Arg)> type
static type make(void(FnClass::*memfn)(), Owner &owner)