For loose coupling of views/modules
e.g. https://github.com/danquist/EventBus
Using Qt events is also possible, but some independent one would be possibly lighter"
For loose coupling of views/modules
e.g. https://github.com/danquist/EventBus
Using Qt events is also possible, but some independent one would be possibly lighter"
Status | Assigned | Task | ||
---|---|---|---|---|
Open | None | T625 Add EventBus (similar to GWT) | ||
Open | None | T678 EventBus: Polymorphic parameter instead of OCEvent | ||
Open | BAndiT1983 | T691 EventBus: Events not fired outside of BackupPresenter in OCBackup |
Another bus: https://github.com/skypjack/eventpp
Note:
Handlers in event map are stored as indices to list of handlers at the moment, possibly another map with hash key is required to be able to remove handlers again. Fragmentation has also to be taken into account to prevent memory leaks or other side-effects.