|
Blackjack Decision Maker
|
Class to control the Rasp Pi pins and toggle LEDs ON/OFF. More...
#include <ToggleLED.h>
Public Member Functions | |
| ToggleLED () | |
| Construct a new ToggleLED::ToggleLED object. More... | |
| ~ToggleLED () | |
| Destroy the ToggleLED::ToggleLED object. More... | |
| void | flashled (decisions choice) |
| Method to flash an LED. More... | |
| void | nextCallback (AcePlaysUtils &callbackData) |
| Implement the nextCallback virtual method to pass information down the pipeline. More... | |
Class to control the Rasp Pi pins and toggle LEDs ON/OFF.
| ToggleLED::ToggleLED | ( | ) |
Construct a new ToggleLED::ToggleLED object.
| ToggleLED::~ToggleLED | ( | ) |
Destroy the ToggleLED::ToggleLED object.
| void ToggleLED::flashled | ( | decisions | choice | ) |
Method to flash an LED.
| choice | an enum decisions arguement to choose between one of the LEDs to be toggled according to the Blackjack decision condition |
|
virtual |
Implement the nextCallback virtual method to pass information down the pipeline.
| callbackData | an AcePlaysUtils callback object |
Implements CallbackLinker.