Add EventBus (similar to GWT)
Open, HighPublic


For loose coupling of views/modules


Using Qt events is also possible, but some independent one would be possibly lighter"


Restricted Diffusion Commit
BAndiT1983 updated the task description. (Show Details)
BAndiT1983 raised the priority of this task from to Needs Triage.
BAndiT1983 added a project: Open Cine.
BAndiT1983 moved this task to Pending tasks on the Open Cine board.
BAndiT1983 updated the task description. (Show Details)
BAndiT1983 added a subscriber: BAndiT1983.
BAndiT1983 added a comment.EditedSep 26 2016, 3:27 PM

Another bus:


  • Evaluate a factory method to register presenters in EventBus, should be done in main application class
  • Evaluate if separate event arguments, similar to C#, is required
BAndiT1983 triaged this task as High priority.
BAndiT1983 added a commit: Restricted Diffusion Commit.Oct 11 2016, 11:28 PM

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.