Aria
2.8.0
|
Mode for following a color blob using ACTS. More...
#include <ArModes.h>
Inherits ArMode.
Public Member Functions | |
virtual void | activate (void) |
ArModeActs (ArRobot *robot, const char *name, char key, char key2, ArACTS_1_2 *acts=NULL) | |
Constructor. More... | |
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) |
virtual void | help (void) |
virtual void | start (void) |
virtual void | stop (void) |
virtual void | toggleAcquire (void) |
virtual void | userTask (void) |
virtual | ~ArModeActs () |
Destructor. | |
Public Member Functions inherited from ArMode | |
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. | |
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 |
Protected Attributes inherited from ArMode | |
ArFunctorC< ArMode > | myActivateCB |
ArFunctorC< ArMode > | myDeactivateCB |
char | myKey |
char | myKey2 |
std::string | myName |
ArRobot * | myRobot |
ArFunctorC< ArMode > | myUserTaskCB |
Additional Inherited Members | |
Static Public Member Functions inherited from ArMode | |
static void | baseHelp (void) |
This is the base help function, its internal, bound to ? and h and H. | |
Protected Member Functions inherited from ArMode | |
void | addKeyHandler (int keyToHandle, ArFunctor *functor) |
void | remKeyHandler (ArFunctor *functor) |
Static Protected Attributes inherited from ArMode | |
static ArMode * | ourActiveMode = NULL |
static ArGlobalFunctor * | ourHelpCB = NULL |
static std::list< ArMode * > | ourModes |
Mode for following a color blob using ACTS.
ArModeActs::ArModeActs | ( | ArRobot * | robot, |
const char * | name, | ||
char | key, | ||
char | key2, | ||
ArACTS_1_2 * | acts = NULL |
||
) |
Constructor.
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 |
acts | ArACTS_1_2 instance to use. If not given, then an internally maintained instance is created by ArModeActs. |