Blitz's Event System
BlitzMax Forums/BlitzMax Programming/Blitz's Event System
| ||
Hey folks, I'm looking into shifting my UI to use Blitzmax's event system, and am having some trouble finding coherent information to explain how it works. Can anyone point me at something? I have a basic understanding of how a system like this should work, but from what I can gather, the devil will be in the details on this. Thanks. |
| ||
Actually, from what I can gather, the Blitz event system doesn't support a subscriber / publisher model, is that correct? If so, I may attempt to roll my own light-weight system. |
| ||
Qt uses a similarly nice Signal/Slot event model, which I think is a great system. |
| ||
Thanks, Brucey. I think since I don't need this to do a lot right now, I'll either roll my own using the Observer pattern (as you also mention in your Qt blog), or maybe set up a type that wraps the native event usage with the ability to subscribe/publish (if that's even workable). |
| ||
Or... are Event Hooks a way to implement sub/pub? As you may be able to tell, I'm having some trouble parsing all this. :/ |