#include <senf/PPI/detail/Callback.hh>
This helper implements callbacks with an optional single argument. In addition to boost::function, this helper provides the following functionality:
Definition at line 54 of file Callback.hh.
Public Types |
|
typedef boost::function< void(Arg)> | type |
Static Public Member Functions |
|
template<class Owner , class FnClass > | |
static type | make (void(FnClass::*memfn)(), Owner &owner) |
template<class Owner , class FnClass , class FnArg > | |
static type | make (void(FnClass::*memfn)(FnArg arg), Owner &owner) |
template<class Owner > | |
static type | make (type callable, Owner &) |
template<class Owner > | |
static type | make (boost::function< void()> callable, Owner &) |
typedef boost::function<void (Arg)> senf::ppi::detail::Callback< Arg >:: | ||||
type | ||||
Definition at line 56 of file Callback.hh.
senf::ppi::detail::Callback< Arg >::type senf::ppi::detail::Callback< Arg >:: | ||||
make | ( | boost::function< void()> | callable, | |
Owner & | ) | |||
Definition at line 64 of file Callback.cti.
senf::ppi::detail::Callback< void >::type senf::ppi::detail::Callback< Owner >:: | ||||
make | ( | type | callable, | |
Owner & | ) | |||
Definition at line 56 of file Callback.cti.
senf::ppi::detail::Callback< Arg >::type senf::ppi::detail::Callback< Arg >:: | ||||
make | ( | void(FnClass::*)(FnArg arg) | memfn, | |
Owner & | owner | ) | ||
Definition at line 48 of file Callback.cti.
senf::ppi::detail::Callback< void >::type senf::ppi::detail::Callback< Owner, FnClass >:: | ||||
make | ( | void(FnClass::*)() | memfn, | |
Owner & | owner | ) | ||
Definition at line 40 of file Callback.cti.