Qpid Proton C++
0.17.0
|
A C++03 compatible void no-argument callback function object. More...
#include <function.hpp>
Public Member Functions | |
virtual void | operator() ()=0 |
Override the call operator with your code. | |
A C++03 compatible void no-argument callback function object.
Used by container::schedule() and event_loop::inject(). In C++11 you can use std::bind, std::function or a void-no-argument lambda instead.
void_function0 is passed by reference, so instances of sub-classes do not have to be heap allocated. Once passed, the instance must not be deleted until its operator() is called or the container has stopped.