Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

ArModeActs Class Reference

Mode for following a color blob using ACTS. More...

#include <ArModes.h>

Inheritance diagram for ArModeActs:

ArMode List of all members.

Public Member Functions

virtual void activate (void)
 The function called when the mode is activated, subclass must provide.
 ArModeActs (ArRobot *robot, const char *name, char key, char key2, ArACTS_1_2 *acts=NULL)
 Constructor.
virtual void channel1 (void)
virtual void channel2 (void)
virtual void channel3 (void)
virtual void channel4 (void)
virtual void channel5 (void)
virtual void channel6 (void)
virtual void channel7 (void)
virtual void channel8 (void)
virtual void deactivate (void)
 The function called when the mode is deactivated, subclass must provide.
virtual void help (void)
 The mode's help print out... subclass must provide if needed.
virtual void start (void)
virtual void stop (void)
virtual void toggleAcquire (void)
virtual void userTask (void)
 The ArMode's user task, don't need one, subclass must provide if needed.
virtual ~ArModeActs ()
 Destructor.

Protected Attributes

ArPTZ * camera
ArACTS_1_2 * myActs
ArFunctorC< ArModeActs > myChannel1CB
ArFunctorC< ArModeActs > myChannel2CB
ArFunctorC< ArModeActs > myChannel3CB
ArFunctorC< ArModeActs > myChannel4CB
ArFunctorC< ArModeActs > myChannel5CB
ArFunctorC< ArModeActs > myChannel6CB
ArFunctorC< ArModeActs > myChannel7CB
ArFunctorC< ArModeActs > myChannel8CB
ArActionGroupColorFollow * myGroup
ArRobot * myRobot
ArFunctorC< ArModeActs > myStartCB
ArFunctorC< ArModeActs > myStopCB
ArFunctorC< ArModeActs > myToggleAcquireCB

Detailed Description

Mode for following a color blob using ACTS.

Definition at line 371 of file ArModes.h.


Constructor & Destructor Documentation

ArModeActs::ArModeActs (  ArRobot *  robot,
const char *  name,
char  key,
char  key2,
ArACTS_1_2 *  acts = NULL
) 
 

Constructor.

Parameters:
acts if an acts class is passed in it'll use that instance otherwise it'll make its own

Definition at line 1648 of file ArModes.cpp.

References ArActionGroup::deactivate(), and ArACTS_1_2::openPort().


Member Function Documentation

void ArModeActs::help (  void   )  [virtual]
 

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 1749 of file ArModes.cpp.

References ArLog::log().


The documentation for this class was generated from the following files:
Generated on Wed Oct 19 12:56:50 2005 for Aria by  doxygen 1.4.0