Skip to content

Conversation

@superjax
Copy link
Contributor

@superjax superjax commented Oct 4, 2019

Pretty simple, created a virtual class that is a CommListener. Objects inherit from this interface and register themselves with the Comm.

I also fixed a potential crash if no receive_callback had been registered.

@superjax
Copy link
Contributor Author

Cherry-Pick listener interface commit

@dpkoch
Copy link
Owner

dpkoch commented Oct 15, 2019

This is great, thanks! Just be aware that I'm going to tweak a few things (naming conventions, using references instead of pointers), so if you've been building stuff on top of this you may need to refactor slightly

@dpkoch dpkoch merged commit 07f7150 into dpkoch:master Oct 15, 2019
@superjax superjax deleted the Listener branch October 15, 2019 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants