![]() |
libfilezilla
|
Declares fz::make_invoker and assorted machinery. More...
#include "event_handler.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | fz |
| The namespace used by libfilezilla. | |
Typedefs | |
| typedef std::function< void(std::function< void()>)> | invoker_factory |
Functions | |
| template<typename F > | |
| auto | make_invoker (event_loop &loop, F &&f) |
| Wraps the passed function, so that it is always invoked in the context of the loop. | |
| template<typename F > | |
| auto | make_invoker (event_handler &h, F &&f) |
| invoker_factory | get_invoker_factory (event_loop &loop) |
| Creates an invoker factory. | |
| template<typename F > | |
| auto | make_invoker (invoker_factory const &inv, F &&f) |
| Creates an invoker using the given factory. | |
Declares fz::make_invoker and assorted machinery.