#include <glv_observer_pattern.h>
Public Member Functions | |
| Notification (Notifier *sndr, void *rcvr=0, const void *data=0) | |
| Notifier * | sender () const |
| Get pointer to sending object. | |
| void * | receiver () const |
| Get pointer to receiving object. | |
| const void * | data () const |
| Get pointer to data object. | |
This is passed into notification callbacks
| glv::Notification::Notification | ( | Notifier * | sndr, | |
| void * | rcvr = 0, |
|||
| const void * | data = 0 | |||
| ) | [inline] |
| [in] | sndr | Pointer to sending object (subject) |
| [in] | rcvr | Pointer to receiving object (observer) |
| [in] | data | Pointer to data object |
1.5.5