#include <SfDevices.h>
Inheritance diagram for SfRangeDevice::
Public Methods | |
ArRangeBuffer * | getCurrent () |
Returns the current history buffer for the range device. | |
ArRangeBuffer * | getAccum () |
Returns the accumulated history buffer for the range device. | |
void | lockDevice () |
Lock the range buffers while we fool with them. | |
void | unlockDevice () |
Unlock the buffers. | |
const char * | getName () |
Name of the device. | |
Public Attributes | |
ArRangeDevice * | ourRangeDevice |
Aria range device class. | |
bool | accumDraw |
Set this to draw the accum buffer. | |
bool | curDraw |
Set this to draw the current buffer. |
Instead of subclassing ArRangeDevice, we include a pointer to one as part of the class data. This way, the subclasses of ArRangeDevice can be accomodated.
User programs can access the current and accum buffers easily. Range device buffers are made available in the Sf class.