#include <callbackable.h>
Inherited by HUDStatisticsManager, and StatisticTools.
Inheritance diagram for Callbackable:
Public Member Functions | |
Callbackable () | |
virtual | ~Callbackable () |
virtual void | doOnCallBack (BackCaller *source, BackCaller::CallbackableType type=BackCaller::DEFAULT_CALLBACKABLE_TYPE)=0 |
This method is invoked when a callback is done from the class where this class is for callback registered. |
In lpzRobots this should be the most case when the time loop is going to the next step.
NEW since 20090731: Use the class BackCaller to get already implemented functions like addCallbackable(...).
Callbackable | ( | ) | [inline] |
virtual ~Callbackable | ( | ) | [inline, virtual] |
virtual void doOnCallBack | ( | BackCaller * | source, | |
BackCaller::CallbackableType | type = BackCaller::DEFAULT_CALLBACKABLE_TYPE | |||
) | [pure virtual] |
This method is invoked when a callback is done from the class where this class is for callback registered.
source | the caller instance which did the callback. | |
type | this type can be used to differ from varying types of callback. |
Implemented in StatisticTools, and HUDStatisticsManager.