ArForbiddenRangeDevice Class Reference

#include <ArForbiddenRangeDevice.h>

Inheritance diagram for ArForbiddenRangeDevice:

ArRangeDevice List of all members.

Detailed Description

Class that takes forbidden lines and turns them into range readings.


Public Member Functions

 ArForbiddenRangeDevice (ArMapInterface *armap, double distanceIncrement=100, unsigned int maxRange=4000, const char *name="forbidden")
 Constructor.
void disable (void)
 Disables readings until reenabled.
void enable (void)
 Enable readings.
ArFunctorgetDisableCB (void)
 Gets a callback to disable the device.
ArFunctorgetEnableCB (void)
 Gets a callback to enable the device.
bool isEnabled (void) const
 Sees if this device is active or not.
void processMap (void)
 Saves the forbidden lines from the map.
void processReadings (void)
 Remakes the readings.
virtual void setRobot (ArRobot *robot)
 Sets the robot pointer and attachs its process function.
virtual ~ArForbiddenRangeDevice ()
 Destructor.

Protected Attributes

ArMutex myDataMutex
ArFunctorC< ArForbiddenRangeDevicemyDisableCB
double myDistanceIncrement
ArFunctorC< ArForbiddenRangeDevicemyEnableCB
bool myIsEnabled
ArMapInterfacemyMap
ArFunctorC< ArForbiddenRangeDevicemyMapChangedCB
ArFunctorC< ArForbiddenRangeDevicemyProcessCB
std::list< ArLineSegment * > mySegments


The documentation for this class was generated from the following file:
Generated on Thu Aug 6 09:39:35 2009 for Aria by  doxygen 1.5.1