DUECA/DUSIME
|
Base class for callback mechanism, 1 parameter. More...
#include <CommonCallback.hxx>
Public Types | |
typedef boost::intrusive_ptr< CommonCallbackBase< RET, A1 > > | smart_ptr_type |
Type definition of the callback object. | |
Public Member Functions | |
virtual RET | operator() (A1 &arg1)=0 |
Callback function. | |
virtual | ~CommonCallbackBase () |
Destructor. | |
Protected Member Functions | |
CommonCallbackBase () | |
Constructor. | |
Friends | |
template<typename RETx , typename A1x > | |
void | intrusive_ptr_add_ref (const CommonCallbackBase< RETx, A1x > *) |
template<typename RETx , typename A1x > | |
void | intrusive_ptr_release (const CommonCallbackBase< RETx, A1x > *) |
Base class for callback mechanism, 1 parameter.
CommonCallbackBase objects can be used to create callback functions on class instances.
Use the "smart_ptr_type" to create a variable that holds the callback
RET | Return type |
A1 | Argument type |