Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Callbackable Class Referenceabstract

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

#include <callbackable.h>

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. More...
 

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

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
sourcethe caller instance which did the callback.
typethis type can be used to differ from varying types of callback.
See Also
BackCaller

Implemented in HUDStatisticsManager, Simulation, StatisticTools, and CameraManipulator.


The documentation for this class was generated from the following file: