Callbackable Class Reference

Interface class for a class which wants to be callback on a certain action. More...

#include <callbackable.h>

Inherited by CameraManipulator, HUDStatisticsManager, and StatisticTools.

List of all members.

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.

Detailed Description

Interface class for a class which wants to be callback on a certain action.

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(...).

See also:
BackCaller

Constructor & Destructor Documentation

Callbackable (  )  [inline]
virtual ~Callbackable (  )  [inline, virtual]

Member Function Documentation

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.

Parameters:
source the caller instance which did the callback.
type this type can be used to differ from varying types of callback.
See also:
BackCaller

Implemented in StatisticTools, CameraManipulator, and HUDStatisticsManager.


The documentation for this class was generated from the following file:
Generated on Thu Jun 28 14:48:07 2012 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.6.3