CallBacks object-oriented.
More...
List of all members.
Detailed Description
CallBacks object-oriented.
CallBack is simply a function pointer + object to call it on. It may be empty, in which case doCall() will simply do nothing. If you want to be able to send a CallBack, you must provide a 'sender' CallBacker* (usually 'this').
Constructor & Destructor Documentation
| CallBack::CallBack |
( |
CallBacker * |
o = 0, |
|
|
CallBackFunction |
f = 0 | |
|
) |
| | [inline] |
Member Function Documentation
| CallBackFunction CallBack::cbFn |
( |
|
) |
const [inline] |
| const CallBacker* CallBack::cbObj |
( |
|
) |
const [inline] |
| int CallBack::operator!= |
( |
const CallBack & |
cb |
) |
const [inline] |
| int CallBack::operator== |
( |
const CallBack & |
cb |
) |
const [inline] |
| bool CallBack::willCall |
( |
|
) |
const [inline] |
Member Data Documentation