#include <BlinkingBackLED.h>
Public Member Functions | |
BlinkingBackLED () | |
virtual | ~BlinkingBackLED () |
virtual OStatus | DoInit (const OSystemEvent &event) |
virtual OStatus | DoStart (const OSystemEvent &event) |
virtual OStatus | DoStop (const OSystemEvent &event) |
virtual OStatus | DoDestroy (const OSystemEvent &event) |
void | Ready (const OReadyEvent &event) |
Public Attributes | |
OSubject * | subject [numOfSubject] |
OObserver * | observer [numOfObserver] |
Private Member Functions | |
void | OpenPrimitives () |
void | NewCommandVectorData () |
LED3Result | White0to255_Color0 () |
LED3Result | White255_Color0to255 () |
LED3Result | White255to0_Color255 () |
LED3Result | White0_Color255to0 () |
LED3Result | White0_Color0 () |
void | SetWhiteLED3Value (RCRegion *rgn, int level, int slope) |
void | SetColorLED3Value (RCRegion *rgn, int level, int slope) |
void | SetWhiteLED3Value (RCRegion *rgn, sword intensity) |
void | SetColorLED3Value (RCRegion *rgn, sword intensity) |
RCRegion * | FindFreeRegion () |
Private Attributes | |
BlinkingBackLEDState | blinkingLEDState |
OPrimitiveID | ledID [NUM_LEDS] |
RCRegion * | region [NUM_COMMAND_VECTOR] |
Static Private Attributes | |
const size_t | NUM_LEDS = 6 |
const size_t | NUM_COMMAND_VECTOR = 2 |
const int | MAX_LEVEL = 15 |
const int | POSITIVE_SLOPE = 1 |
const int | NEGATIVE_SLOPE = -1 |
|
Definition at line 17 of file BlinkingBackLED.cc. |
|
Definition at line 47 of file BlinkingBackLED.h. |
|
Definition at line 72 of file BlinkingBackLED.cc. |
|
Definition at line 24 of file BlinkingBackLED.cc. References NewCommandVectorData(), and OpenPrimitives(). |
|
Definition at line 41 of file BlinkingBackLED.cc. References blinkingLEDState, subject, and White0to255_Color0(). |
|
Definition at line 59 of file BlinkingBackLED.cc. References blinkingLEDState. |
|
Definition at line 363 of file BlinkingBackLED.cc. References region. Referenced by White0_Color0(), White0_Color255to0(), White0to255_Color0(), White255_Color0to255(), and White255to0_Color255(). |
|
Definition at line 151 of file BlinkingBackLED.cc. References ledID, NUM_LEDS, and region. Referenced by DoInit(). |
|
Definition at line 138 of file BlinkingBackLED.cc. References ledID. Referenced by DoInit(). |
|
Definition at line 79 of file BlinkingBackLED.cc. References blinkingLEDState, LED3Result, White0_Color0(), White0_Color255to0(), White0to255_Color0(), White255_Color0to255(), and White255to0_Color255(). |
|
Definition at line 347 of file BlinkingBackLED.cc. References NUM_LEDS. |
|
Definition at line 311 of file BlinkingBackLED.cc. References NUM_LEDS. Referenced by White0_Color0(), White0_Color255to0(), White0to255_Color0(), White255_Color0to255(), and White255to0_Color255(). |
|
Definition at line 331 of file BlinkingBackLED.cc. References NUM_LEDS. |
|
Definition at line 291 of file BlinkingBackLED.cc. References NUM_LEDS. Referenced by White0_Color0(), White0_Color255to0(), White0to255_Color0(), White255_Color0to255(), and White255to0_Color255(). |
|
Definition at line 271 of file BlinkingBackLED.cc. References FindFreeRegion(), SetColorLED3Value(), SetWhiteLED3Value(), and subject. Referenced by Ready(). |
|
Definition at line 251 of file BlinkingBackLED.cc. References FindFreeRegion(), NEGATIVE_SLOPE, SetColorLED3Value(), SetWhiteLED3Value(), and subject. Referenced by Ready(). |
|
Definition at line 182 of file BlinkingBackLED.cc. References FindFreeRegion(), POSITIVE_SLOPE, SetColorLED3Value(), SetWhiteLED3Value(), and subject. |
|
Definition at line 211 of file BlinkingBackLED.cc. References FindFreeRegion(), POSITIVE_SLOPE, SetColorLED3Value(), SetWhiteLED3Value(), and subject. Referenced by Ready(). |
|
Definition at line 231 of file BlinkingBackLED.cc. References FindFreeRegion(), NEGATIVE_SLOPE, SetColorLED3Value(), SetWhiteLED3Value(), and subject. Referenced by Ready(). |
|
Definition at line 80 of file BlinkingBackLED.h. |
|
Definition at line 81 of file BlinkingBackLED.h. Referenced by BlinkingBackLED(), NewCommandVectorData(), and OpenPrimitives(). |
|
Definition at line 76 of file BlinkingBackLED.h. |
|
Definition at line 78 of file BlinkingBackLED.h. Referenced by White0_Color255to0(), and White255to0_Color255(). |
|
Definition at line 75 of file BlinkingBackLED.h. |
|
Definition at line 74 of file BlinkingBackLED.h. Referenced by NewCommandVectorData(), SetColorLED3Value(), and SetWhiteLED3Value(). |
|
Definition at line 50 of file BlinkingBackLED.h. |
|
Definition at line 77 of file BlinkingBackLED.h. Referenced by White0to255_Color0(), and White255_Color0to255(). |
|
Definition at line 82 of file BlinkingBackLED.h. Referenced by BlinkingBackLED(), FindFreeRegion(), and NewCommandVectorData(). |
|
Definition at line 49 of file BlinkingBackLED.h. Referenced by DoStart(), White0_Color0(), White0_Color255to0(), White0to255_Color0(), White255_Color0to255(), and White255to0_Color255(). |