views:

34

answers:

0

I need to implement a simple message bus:

  • One process only thus no need do D-Bus.
  • Publish/subscribe to typed events (Could even be QObjects)

I was thinking of using QSignalMapper to tag the "named events", then re-emitting from a slot or connecting the publishers signal to the subscriber's signal...

Any suggestions thoughts? Or should I go for the relatively simple design pattern?

PS: AFAICS for D-Bus on windows you need to install "3rd party" software to get it going with Qt.