You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
appendListener(const Event & event, const Callback & callback) in the class EventDispatcherBase, the "callback " could be Class Member Function? How to use?
The text was updated successfully, but these errors were encountered:
Like ludekvodicka said, use std::bind.
Example, std::bind(&YourClass::theFunction, pointerToYourClassObject), then use the bound object as the listener.
appendListener(const Event & event, const Callback & callback) in the class EventDispatcherBase, the "callback " could be Class Member Function? How to use?
The text was updated successfully, but these errors were encountered: