Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

SensorDetectPopup Class Reference

List of all members.

Public Member Functions

 SensorDetectPopup (ArRobot *robot, ArServerHandlerPopup *popupServer)

Protected Member Functions

void popupClosed (ArTypes::Byte4 popupID, int button)
void sensorTask (void)

Protected Attributes

ArFunctor2C< SensorDetectPopup,
ArTypes::Byte4, int > * 
myPopupClosedCB
bool myPopupDisplayed
ArServerHandlerPopupmyPopupServer
double myPrevObstacleAngle
bool myPrevObstacleAngleValid
ArRobotmyRobot

Detailed Description

Examples:

popupExample.cpp.

Definition at line 41 of file popupExample.cpp.


Constructor & Destructor Documentation

SensorDetectPopup::SensorDetectPopup ArRobot robot,
ArServerHandlerPopup popupServer
 

Examples:
popupExample.cpp.

Definition at line 130 of file popupExample.cpp.

References ArRobot::addSensorInterpTask(), ArRobot::lock(), myPopupClosedCB, myRobot, popupClosed(), sensorTask(), and ArRobot::unlock().


Member Function Documentation

void SensorDetectPopup::popupClosed ArTypes::Byte4  popupID,
int  button
[protected]
 

Definition at line 175 of file popupExample.cpp.

References Aria::exit(), ArRobot::lock(), ArLog::log(), myPopupDisplayed, myRobot, ArRobot::setDeltaHeading(), Aria::shutdown(), ArRobot::stopRunning(), and ArRobot::unlock().

Referenced by SensorDetectPopup().

void SensorDetectPopup::sensorTask void   )  [protected]
 

Examples:
popupExample.cpp.

Definition at line 142 of file popupExample.cpp.

References ArRobot::checkRangeDevicesCurrentPolar(), ArServerHandlerPopup::createPopup(), ArLog::log(), myPopupClosedCB, myPopupDisplayed, myPopupServer, myPrevObstacleAngle, myPrevObstacleAngleValid, and myRobot.

Referenced by SensorDetectPopup().


Member Data Documentation

ArFunctor2C<SensorDetectPopup, ArTypes::Byte4, int>* SensorDetectPopup::myPopupClosedCB [protected]
 

Definition at line 51 of file popupExample.cpp.

Referenced by SensorDetectPopup(), and sensorTask().

bool SensorDetectPopup::myPopupDisplayed [protected]
 

Definition at line 48 of file popupExample.cpp.

Referenced by popupClosed(), and sensorTask().

ArServerHandlerPopup* SensorDetectPopup::myPopupServer [protected]
 

Definition at line 47 of file popupExample.cpp.

Referenced by sensorTask().

double SensorDetectPopup::myPrevObstacleAngle [protected]
 

Definition at line 49 of file popupExample.cpp.

Referenced by sensorTask().

bool SensorDetectPopup::myPrevObstacleAngleValid [protected]
 

Definition at line 50 of file popupExample.cpp.

Referenced by sensorTask().

ArRobot* SensorDetectPopup::myRobot [protected]
 

Definition at line 46 of file popupExample.cpp.

Referenced by popupClosed(), SensorDetectPopup(), and sensorTask().


The documentation for this class was generated from the following file:
Generated on Tue Feb 20 10:51:52 2007 for ArNetworking by  doxygen 1.4.0