I’m still trying to work out listeners and some of the Poco stuff. I know how to make an object listen to the main app, but i would also like to be able to do the opposite: make the main app listen listen to an object i’ve created and then call a function when that object updates its state.
any advice on how to do this? has anyone done this in their code yet?
Just a guess… I mean there could be something built in with Poco. I thought that automatically the main app listened for any poco events sent from any object.
Hello.
I’m sorry for bringing this up again, but I’m having one question:
How would I implement a Listener, if the event happens in testApp? So in my code the class to be notified would be created in testApp, but the notifiedClass has also to know about the class-definition of testApp.