I would recommend using functors, also known as function objects, in place of the cumbersome function pointer syntax. They are perfect for use as callbacks.
Of course, signals and slots do away with much of the need for callback functions; you can simply connect the objects that need to communicate.
Bookmarks