Robot Simulator of the Robotics Group for Self-Organization of Control: Callbackable Class Reference

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Callbackable Class Reference

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

`#include <callbackable.h>`

Inherited by HUDStatisticsManager, and StatisticTools.

Inheritance diagram for Callbackable:

[legend]
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, and HUDStatisticsManager.

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

- callbackable.h