AURobotServers  4
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
UReacRoadLines Class Reference

#include <ureactivepath.h>

Public Member Functions

void addLeftLine (ULineSegment *firstSeg, UPolygon *lineHist)
 
void addRightLine (ULineSegment *firstSeg, UPolygon *lineHist)
 
void clear ()
 
 UReacRoadLines ()
 

Public Attributes

UReacRoadLine left [MAX_ROAD_SEGS]
 
int leftCnt
 
UReacRoadLine right [MAX_ROAD_SEGS]
 
int rightCnt
 

Static Public Attributes

static const int MAX_ROAD_SEGS = 3
 

Detailed Description

Class with all relevant road lines

Constructor & Destructor Documentation

UReacRoadLines::UReacRoadLines ( )

Constructor

References clear().

Member Function Documentation

void UReacRoadLines::addLeftLine ( ULineSegment firstSeg,
UPolygon lineHist 
)

Add left line

References left, leftCnt, MAX_ROAD_SEGS, and UReacRoadLine::setLine().

Referenced by UResAvoid::findPathToHere().

void UReacRoadLines::addRightLine ( ULineSegment firstSeg,
UPolygon lineHist 
)

Add left line

References MAX_ROAD_SEGS, right, rightCnt, and UReacRoadLine::setLine().

Referenced by UResAvoid::findPathToHere().

void UReacRoadLines::clear ( void  )

Member Data Documentation

UReacRoadLine UReacRoadLines::left[MAX_ROAD_SEGS]

Left roadside obstacle

Referenced by addLeftLine().

int UReacRoadLines::leftCnt

Count of used left lines

Referenced by addLeftLine(), and clear().

const int UReacRoadLines::MAX_ROAD_SEGS = 3
static

Number of available segments

Referenced by addLeftLine(), and addRightLine().

UReacRoadLine UReacRoadLines::right[MAX_ROAD_SEGS]

Right roadside obstacle

Referenced by addRightLine().

int UReacRoadLines::rightCnt

Count of used right lines

Referenced by addRightLine(), and clear().


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