# cCallback Class Reference
[Devices]

cCallback is an abstract class that allows subclasses to define a single callback function, for example to be called by a device when it's time to compute haptic forces. This feature is _not_ supported by all devices; see cGenericDevice::setCallback(). More...

`#include <CCallback.h>`

List of all members.

## Public Member Functions
| cCallback ()
| Constructor of cCallback.
virtual | ~cCallback ()
| Destructor of cCallback.
virtual void | callback ()=0
| Call back function.

## Detailed Description

cCallback is an abstract class that allows subclasses to define a single callback function, for example to be called by a device when it's time to compute haptic forces. This feature is _not_ supported by all devices; see cGenericDevice::setCallback().

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

- D:/CHAI3D/build-2-0-0/2.0.0/win32/src/devices/CCallback.h

CHAI3D 2.0.0 documentation
Please address any questions to support@chai3d.org
(C) 2003-2009 - CHAI 3D
All Rights Reserved.