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

GT2004LEDControl Class Reference

the ATH LED control module for the German Open 2004 More...

#include <GT2004LEDControl.h>

Inheritance diagram for GT2004LEDControl:

Inheritance graph
[legend]
Collaboration diagram for GT2004LEDControl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GT2004LEDControl (LEDControlInterfaces &interfaces)
virtual void execute ()
 Executes the module.


Private Types

enum  Ers7LEDs {
  off = 0, headOrange = 0x00000001, headWhite = 0x00000002,
  modeRed = 0x00000004, modeGreen = 0x00000008, modeBlue = 0x00000010,
  wireless = 0x00000020, face1 = 0x00000040, face2 = 0x00000080,
  face3 = 0x00000100, face4 = 0x00000200, face5 = 0x00000400,
  face6 = 0x00000800, face7 = 0x00001000, face8 = 0x00002000,
  face9 = 0x00004000, face10 = 0x00008000, face11 = 0x00010000,
  face12 = 0x00020000, face13 = 0x00040000, face14 = 0x00080000,
  backFrontBlue = 0x00100000, backFrontWhite = 0x00200000, backMiddleOrange = 0x00400000,
  backMiddleWhite = 0x00800000, backRearRed = 0x01000000, backRearWhite = 0x02000000
}

Private Member Functions

void showWLANStatus ()
void showGameRelated ()
void showBatteryState ()
void showRequestedFaceLEDs ()
void showRequestedBackWhiteLEDs ()
void showRequestedBackColoredLEDs ()
void showRequestedHeadLEDs ()
void showMotionProcessFrameLostWarning ()
void showCognitionProcessFrameLostWarning ()

Private Attributes

int executeCallCount
 Internal call counter.

int ledCode
unsigned long int lastMotionFrameNumber

Detailed Description

the ATH LED control module for the German Open 2004

Definition at line 13 of file GT2004LEDControl.h.


Member Enumeration Documentation

enum GT2004LEDControl::Ers7LEDs [private]
 

Enumeration values:
off 
headOrange 
headWhite 
modeRed 
modeGreen 
modeBlue 
wireless 
face1 
face2 
face3 
face4 
face5 
face6 
face7 
face8 
face9 
face10 
face11 
face12 
face13 
face14 
backFrontBlue 
backFrontWhite 
backMiddleOrange 
backMiddleWhite 
backRearRed 
backRearWhite 

Definition at line 43 of file GT2004LEDControl.h.


Constructor & Destructor Documentation

GT2004LEDControl::GT2004LEDControl LEDControlInterfaces interfaces  ) 
 

Definition at line 16 of file GT2004LEDControl.cpp.


Member Function Documentation

void GT2004LEDControl::execute  )  [virtual]
 

Executes the module.

Implements Module.

Definition at line 205 of file GT2004LEDControl.cpp.

References LEDValue::data, executeCallCount, ledCode, off, showBatteryState(), showCognitionProcessFrameLostWarning(), showMotionProcessFrameLostWarning(), showRequestedBackColoredLEDs(), showRequestedBackWhiteLEDs(), showRequestedFaceLEDs(), showRequestedHeadLEDs(), and showWLANStatus().

Here is the call graph for this function:

void GT2004LEDControl::showWLANStatus  )  [private]
 

Definition at line 151 of file GT2004LEDControl.cpp.

References ledCode, and off.

Referenced by execute().

void GT2004LEDControl::showGameRelated  )  [private]
 

void GT2004LEDControl::showBatteryState  )  [private]
 

Definition at line 132 of file GT2004LEDControl.cpp.

References executeCallCount, SystemCall::getRemainingPower(), and ledCode.

Referenced by execute().

Here is the call graph for this function:

void GT2004LEDControl::showRequestedFaceLEDs  )  [private]
 

Definition at line 47 of file GT2004LEDControl.cpp.

References executeCallCount, LEDRequest::faceLED, and ledCode.

Referenced by execute().

void GT2004LEDControl::showRequestedBackWhiteLEDs  )  [private]
 

Definition at line 72 of file GT2004LEDControl.cpp.

References LEDRequest::backFrontWhiteLED, LEDRequest::backMiddleWhiteLED, LEDRequest::backRearWhiteLED, executeCallCount, and ledCode.

Referenced by execute().

void GT2004LEDControl::showRequestedBackColoredLEDs  )  [private]
 

Definition at line 101 of file GT2004LEDControl.cpp.

References LEDRequest::backFrontBlueLED, LEDRequest::backMiddleOrangeLED, LEDRequest::backRearRedLED, executeCallCount, and ledCode.

Referenced by execute().

void GT2004LEDControl::showRequestedHeadLEDs  )  [private]
 

Definition at line 22 of file GT2004LEDControl.cpp.

References executeCallCount, LEDRequest::headOrangeLED, LEDRequest::headWhiteLED, and ledCode.

Referenced by execute().

void GT2004LEDControl::showMotionProcessFrameLostWarning  )  [private]
 

Definition at line 190 of file GT2004LEDControl.cpp.

References lastMotionFrameNumber, and ledCode.

Referenced by execute().

void GT2004LEDControl::showCognitionProcessFrameLostWarning  )  [private]
 

Definition at line 164 of file GT2004LEDControl.cpp.

References ledCode, and LEDRequest::showCognitionFrameLostWarning.

Referenced by execute().


Member Data Documentation

int GT2004LEDControl::executeCallCount [private]
 

Internal call counter.

Definition at line 37 of file GT2004LEDControl.h.

Referenced by execute(), showBatteryState(), showRequestedBackColoredLEDs(), showRequestedBackWhiteLEDs(), showRequestedFaceLEDs(), and showRequestedHeadLEDs().

int GT2004LEDControl::ledCode [private]
 

Definition at line 39 of file GT2004LEDControl.h.

Referenced by execute(), showBatteryState(), showCognitionProcessFrameLostWarning(), showMotionProcessFrameLostWarning(), showRequestedBackColoredLEDs(), showRequestedBackWhiteLEDs(), showRequestedFaceLEDs(), showRequestedHeadLEDs(), and showWLANStatus().

unsigned long int GT2004LEDControl::lastMotionFrameNumber [private]
 

Definition at line 41 of file GT2004LEDControl.h.

Referenced by showMotionProcessFrameLostWarning().


The documentation for this class was generated from the following files:
Generated on Thu Sep 23 20:07:41 2004 for GT2004 by doxygen 1.3.6