#include <callback.h>
List of all members.
Public Types |
typedef void(T::* | MemFunc )(FreeArgs...) const |
Member Typedef Documentation
template<class T , class... FreeArgs>
Constructor & Destructor Documentation
template<class T , class... FreeArgs>
Member Function Documentation
template<class T , class... FreeArgs>
This will execute the referenced function or class method encapsulated by this class. It will only throw if the dispatched function or class method throws, or if the copy constructor of the free or a bound argument throws and it is not a reference argument. It is thread safe if the referenced function or class method is thread safe.
- Parameters:
-
args | The unbound arguments to be passed to the referenced function or class method, if any. |
- Note:
- We use dispatch() to execute the callback, because the callback would normally be invoked through a base class pointer. To invoke it through operator()(), use the FunctorArg wrapper class.
Implements Cgu::Callback::CallbackArg< FreeArgs...>.
The documentation for this class was generated from the following file: