Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

SfRangeDevice Class Reference

SfRangeDevice is the Saphira class for range devices, encapsulating the ArRangeDevice class. More...

#include <SfDevices.h>

Inheritance diagram for SfRangeDevice::

SfDrawable SfIrrfDevice SfLaserDevice SfSonarDevice List of all members.

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.


Detailed Description

SfRangeDevice is the Saphira class for range devices, encapsulating the ArRangeDevice class.

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.

See also:
Sf


The documentation for this class was generated from the following file:
Generated on Tue Nov 12 17:49:37 2002 for Saphira by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001