template<typename ParamT, class DelegateT>
class BoundCallback< ParamT, DelegateT >
A BoundCallback can be used to call a member of an arbitrary object as a callback. The member must have the following interface: void <DelegateT>::<member name>="">(ParamT <parameter>);
Note: it is the responsibility of the user to ensure that the bound object for delegate
remains alive in the whole time this callback might be invoked.
- Parameters
-
ParamT | the type of the parameter to be passed to the callback |
DelegateT | the <class name>=""> of the object the member <member name>=""> should be invoked in |
Definition at line 84 of file async.h.