#include <GT2004LEDControl.h>
Inheritance diagram for GT2004LEDControl:
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 |
Definition at line 13 of file GT2004LEDControl.h.
|
Definition at line 43 of file GT2004LEDControl.h. |
|
Definition at line 16 of file GT2004LEDControl.cpp. |
|
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:
|
Definition at line 151 of file GT2004LEDControl.cpp. Referenced by execute(). |
|
|
|
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:
|
Definition at line 47 of file GT2004LEDControl.cpp. References executeCallCount, LEDRequest::faceLED, and ledCode. Referenced by execute(). |
|
Definition at line 72 of file GT2004LEDControl.cpp. References LEDRequest::backFrontWhiteLED, LEDRequest::backMiddleWhiteLED, LEDRequest::backRearWhiteLED, executeCallCount, and ledCode. Referenced by execute(). |
|
Definition at line 101 of file GT2004LEDControl.cpp. References LEDRequest::backFrontBlueLED, LEDRequest::backMiddleOrangeLED, LEDRequest::backRearRedLED, executeCallCount, and ledCode. Referenced by execute(). |
|
Definition at line 22 of file GT2004LEDControl.cpp. References executeCallCount, LEDRequest::headOrangeLED, LEDRequest::headWhiteLED, and ledCode. Referenced by execute(). |
|
Definition at line 190 of file GT2004LEDControl.cpp. References lastMotionFrameNumber, and ledCode. Referenced by execute(). |
|
Definition at line 164 of file GT2004LEDControl.cpp. References ledCode, and LEDRequest::showCognitionFrameLostWarning. Referenced by execute(). |
|
Internal call counter.
Definition at line 37 of file GT2004LEDControl.h. Referenced by execute(), showBatteryState(), showRequestedBackColoredLEDs(), showRequestedBackWhiteLEDs(), showRequestedFaceLEDs(), and showRequestedHeadLEDs(). |
|
Definition at line 39 of file GT2004LEDControl.h. Referenced by execute(), showBatteryState(), showCognitionProcessFrameLostWarning(), showMotionProcessFrameLostWarning(), showRequestedBackColoredLEDs(), showRequestedBackWhiteLEDs(), showRequestedFaceLEDs(), showRequestedHeadLEDs(), and showWLANStatus(). |
|
Definition at line 41 of file GT2004LEDControl.h. Referenced by showMotionProcessFrameLostWarning(). |