A common use for anonymous inner classes in Java is listeners. There is an article about how to write event listener in Java with event adapters
There must be some equivalent listener-style interfaces to be seen in C
++, however, I am not aware of any at this moment. Could anybody please share someknowledge with me about listener-style interfaces in C++? Can I implement an equivalent Listener Paradigm in C++ with event adapters? IS there any sample
around by customerizing the OBSERVER pattern?
Thanks!