#include <ArModes.h>
Inheritance diagram for ArModeGripper:
Public Member Functions | |
virtual void | activate (void) |
The function called when the mode is activated, subclass must provide. | |
ArModeGripper (ArRobot *robot, const char *name, char key, char key2) | |
Constructor. | |
void | close (void) |
virtual void | deactivate (void) |
The function called when the mode is deactivated, subclass must provide. | |
void | down (void) |
void | exercise (void) |
virtual void | help (void) |
The mode's help print out... subclass must provide if needed. | |
void | open (void) |
void | stop (void) |
void | up (void) |
virtual void | userTask (void) |
The ArMode's user task, don't need one, subclass must provide if needed. | |
virtual | ~ArModeGripper () |
Destructor. | |
Protected Types | |
enum | ExerState { UP_OPEN, UP_CLOSE, DOWN_CLOSE, DOWN_OPEN } |
Protected Attributes | |
ArFunctorC< ArModeGripper > | myCloseCB |
ArFunctorC< ArModeGripper > | myDownCB |
ArFunctorC< ArModeGripper > | myExerciseCB |
bool | myExercising |
ExerState | myExerState |
ArGripper | myGripper |
ArTime | myLastExer |
ArFunctorC< ArModeGripper > | myOpenCB |
ArFunctorC< ArModeGripper > | myStopCB |
ArFunctorC< ArModeGripper > | myUpCB |
Definition at line 98 of file ArModes.h.
|
The mode's help print out... subclass must provide if needed. This is called as soon as a mode is activated, and should give directions on to what keys do what and what this mode will do Reimplemented from ArMode. Definition at line 378 of file ArModes.cpp. References ArLog::log(). |