|
libsdr
0.1.0
A simple SDR library
|
Specific delegate to a method of an object . More...
#include <queue.hh>
Public Member Functions | |
| Delegate (T *instance, void(T::*func)(void)) | |
Constructs a delegate to the method func of the instance instance. More... | |
| virtual | ~Delegate () |
| Destructor. More... | |
| virtual void | operator() () |
| Callback, simply calls the method of the instance given to the constructor. More... | |
| virtual void * | instance () |
| Returns the instance of the delegate. More... | |
Protected Attributes | |
| T * | _instance |
| The instance. More... | |
| void(T::* | _function )(void) |
| The method. More... | |
Specific delegate to a method of an object .
|
inline |
Constructs a delegate to the method func of the instance instance.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Returns the instance of the delegate.
Implements sdr::DelegateInterface.
|
inlinevirtual |
Callback, simply calls the method of the instance given to the constructor.
Implements sdr::DelegateInterface.
|
protected |
The method.
|
protected |
The instance.
1.8.9.1