Notifier with automatic capsule creation. More...
Public Member Functions | |
| void | trigger (C c, T &t) |
| CNotifier (T *cb) | |
| void | trigger (CallBacker *cb=0) |
| void | trigger (C c, CallBacker *cb=0) |
Notifier with automatic capsule creation.
When non-callbacker data needs to be passed, you can put it in a capsule.
You'll need to define:
CNotifier<MyClass,const uiMouseEvent&> mousepress;
| void CNotifier< T, C >::trigger | ( | C | c, | |
| T & | t | |||
| ) | [inline] |
| void CNotifier< T, C >::trigger | ( | C | c, | |
| CallBacker * | cb = 0 | |||
| ) | [inline] |
| void CNotifier< T, C >::trigger | ( | CallBacker * | cb = 0 |
) | [inline] |
1.7.1