Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signal Callback Template #3

Open
cgrinker opened this issue Jun 2, 2017 · 0 comments
Open

Signal Callback Template #3

cgrinker opened this issue Jun 2, 2017 · 0 comments

Comments

@cgrinker
Copy link
Contributor

cgrinker commented Jun 2, 2017

Perhaps part of #50 . Build a struct class for holding a pointer to an object, and the call back id to remove. Then build a bunch of helper methods around it, and replace it everywhere.

The point of this would be to reduce pain points (separate callback id variable, remembering to remove it on destruction, usage in collections, etc.). It would also be nice if it interacted in the declaration of signals (e.g. SObjectFungible could have an already ready to go one, or that the signature could be thingy<SObjectFungible::CB_onUpdate>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant