Mode for following a color blob using ACTS.  
 More...
#include <ArModes.h>
Inherits ArMode.
 | 
| 
virtual void  | activate (void) | 
|   | 
|   | ArModeTCM2 (ArRobot *robot, const char *name, char key, char key2, ArTCM2 *tcm2=NULL) | 
|   | Constructor.  More...
  | 
|   | 
| 
virtual void  | deactivate (void) | 
|   | 
| 
virtual void  | help (void) | 
|   | 
| 
virtual void  | userTask (void) | 
|   | 
| 
virtual  | ~ArModeTCM2 () | 
|   | Destructor. 
  | 
|   | 
|   | ArMode (ArRobot *robot, const char *name, char key, char key2) | 
|   | Constructor.  More...
  | 
|   | 
| bool  | baseActivate (void) | 
|   | The base activation, it MUST be called by inheriting classes, and inheriting classes MUST return if this returns false.  More...
  | 
|   | 
| bool  | baseDeactivate (void) | 
|   | The base deactivation, it MUST be called by inheriting classes, and inheriting classes MUST return if this returns false.  More...
  | 
|   | 
| 
char  | getKey (void) | 
|   | An internal function to get the first key this is bound to. 
  | 
|   | 
| 
char  | getKey2 (void) | 
|   | An internal function to get the second key this is bound to. 
  | 
|   | 
| 
const char *  | getName (void) | 
|   | Gets the name of the mode. 
  | 
|   | 
| 
virtual  | ~ArMode () | 
|   | Destructor. 
  | 
|   | 
 | 
| 
void  | init () | 
|   | 
| 
void  | addKeyHandler (int keyToHandle, ArFunctor *functor) | 
|   | 
| 
void  | remKeyHandler (ArFunctor *functor) | 
|   | 
 | 
| 
static void  | baseHelp (void) | 
|   | This is the base help function, its internal, bound to ? and h and H. 
  | 
|   | 
| 
static ArMode *  | ourActiveMode = NULL | 
|   | 
| 
static ArGlobalFunctor *  | ourHelpCB = NULL | 
|   | 
| 
static std::list< ArMode * >  | ourModes | 
|   | 
Mode for following a color blob using ACTS. 
- Examples: 
 - demo.cpp.
 
 
◆ ArModeTCM2()
      
        
          | ArModeTCM2::ArModeTCM2  | 
          ( | 
          ArRobot *  | 
          robot,  | 
        
        
           | 
           | 
          const char *  | 
          name,  | 
        
        
           | 
           | 
          char  | 
          key,  | 
        
        
           | 
           | 
          char  | 
          key2,  | 
        
        
           | 
           | 
          ArTCM2 *  | 
          tcm2 = NULL  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor. 
- Parameters
 - 
  
    | robot | ArRobot instance to be associate with  | 
    | name | name of this mode  | 
    | key | keyboard key that activates this mode  | 
    | key2 | another keyboard key that activates this mode  | 
    | tcm2 | if a tcm2 class is passed in it'll use that instance otherwise it'll make its own ArTCMCompassRobot instance.  | 
  
   
 
 
The documentation for this class was generated from the following files: