Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Pilot::BuildTarget Class Reference

#include <Pilot.h>

Inheritance diagram for Pilot::BuildTarget:

List of all members.


Detailed Description

Definition at line 78 of file Pilot.h.


Public Member Functions

 BuildTarget (bool _buildFrontLeft=true, bool _buildFrontRight=true, bool _buildBackLeft=true, bool _buildBackRight=true, bool _lookAtCentroid=true, int _maxRetries=10)
virtual void DoStart ()
virtual void DoStop ()
virtual void processEvent (const EventBase &event)
void setParams (bool _buildFrontLeft=true, bool _buildFrontRight=true, bool _buildBackLeft=true, bool _buildBackRight=true, bool _lookAtCentroid=true, int _maxRetries=10)

Protected Types

enum  State { none, build, complete, error }

Protected Member Functions

void generateMapBuilderRequest ()
void keepBestTarget ()
bool getNextPoint (Point *point)

Protected Attributes

bool buildFrontLeft
bool buildFrontRight
bool buildBackLeft
bool buildBackRight
bool lookAtCentroid
Point frontLeftPt
Point frontRightPt
Point backLeftPt
Point backRightPt
Point centroid
int maxRetries
int triesLeft
enum
DualCoding::Pilot::BuildTarget::State 
myState

Member Enumeration Documentation

enum State [protected]

Enumerator:
none 
build 
complete 
error 

Definition at line 100 of file Pilot.h.


Constructor & Destructor Documentation

BuildTarget ( bool  _buildFrontLeft = true,
bool  _buildFrontRight = true,
bool  _buildBackLeft = true,
bool  _buildBackRight = true,
bool  _lookAtCentroid = true,
int  _maxRetries = 10 
) [inline]

Definition at line 80 of file Pilot.h.


Member Function Documentation

void DoStart (  )  [virtual]

Reimplemented from VisualRoutinesStateNode.

Definition at line 595 of file Pilot.cc.

void DoStop (  )  [virtual]

Reimplemented from VisualRoutinesStateNode.

Definition at line 606 of file Pilot.cc.

void processEvent ( const EventBase &  event  )  [virtual]

Definition at line 613 of file Pilot.cc.

void setParams ( bool  _buildFrontLeft = true,
bool  _buildFrontRight = true,
bool  _buildBackLeft = true,
bool  _buildBackRight = true,
bool  _lookAtCentroid = true,
int  _maxRetries = 10 
)

Definition at line 633 of file Pilot.cc.

Referenced by Pilot::PushTarget::DoStart(), and Pilot::GotoTarget::DoStart().

void generateMapBuilderRequest (  )  [protected]

Definition at line 642 of file Pilot.cc.

Referenced by Pilot::BuildTarget::DoStart(), and Pilot::BuildTarget::processEvent().

void keepBestTarget (  )  [protected]

Definition at line 679 of file Pilot.cc.

Referenced by Pilot::BuildTarget::generateMapBuilderRequest().

bool getNextPoint ( Point point  )  [protected]

Definition at line 713 of file Pilot.cc.

Referenced by Pilot::BuildTarget::generateMapBuilderRequest().


Member Data Documentation

bool buildFrontLeft [protected]

Definition at line 97 of file Pilot.h.

Referenced by Pilot::BuildTarget::getNextPoint(), and Pilot::BuildTarget::setParams().

bool buildFrontRight [protected]

Definition at line 97 of file Pilot.h.

Referenced by Pilot::BuildTarget::getNextPoint(), and Pilot::BuildTarget::setParams().

bool buildBackLeft [protected]

Definition at line 97 of file Pilot.h.

Referenced by Pilot::BuildTarget::getNextPoint(), and Pilot::BuildTarget::setParams().

bool buildBackRight [protected]

Definition at line 97 of file Pilot.h.

Referenced by Pilot::BuildTarget::getNextPoint(), and Pilot::BuildTarget::setParams().

bool lookAtCentroid [protected]

Definition at line 97 of file Pilot.h.

Referenced by Pilot::BuildTarget::getNextPoint(), and Pilot::BuildTarget::setParams().

Point frontLeftPt [protected]

Definition at line 98 of file Pilot.h.

Referenced by Pilot::BuildTarget::getNextPoint().

Point frontRightPt [protected]

Definition at line 98 of file Pilot.h.

Referenced by Pilot::BuildTarget::getNextPoint().

Point backLeftPt [protected]

Definition at line 98 of file Pilot.h.

Referenced by Pilot::BuildTarget::getNextPoint().

Point backRightPt [protected]

Definition at line 98 of file Pilot.h.

Referenced by Pilot::BuildTarget::getNextPoint().

Point centroid [protected]

Definition at line 98 of file Pilot.h.

Referenced by Pilot::BuildTarget::getNextPoint().

int maxRetries [protected]

Definition at line 99 of file Pilot.h.

Referenced by Pilot::BuildTarget::DoStart(), and Pilot::BuildTarget::setParams().

int triesLeft [protected]

Definition at line 99 of file Pilot.h.

Referenced by Pilot::BuildTarget::DoStart(), and Pilot::BuildTarget::getNextPoint().


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

DualCoding 4.0
Generated Thu Nov 22 00:54:00 2007 by Doxygen 1.5.4