Blackjack Decision Maker
Public Member Functions | List of all members
ToggleLED Class Reference

Class to control the Rasp Pi pins and toggle LEDs ON/OFF. More...

#include <ToggleLED.h>

Inheritance diagram for ToggleLED:
Collaboration diagram for ToggleLED:

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...
 

Detailed Description

Class to control the Rasp Pi pins and toggle LEDs ON/OFF.

Constructor & Destructor Documentation

◆ ToggleLED()

ToggleLED::ToggleLED ( )

Construct a new ToggleLED::ToggleLED object.

◆ ~ToggleLED()

ToggleLED::~ToggleLED ( )

Destroy the ToggleLED::ToggleLED object.

Member Function Documentation

◆ flashled()

void ToggleLED::flashled ( decisions  choice)

Method to flash an LED.

Parameters
choicean enum decisions arguement to choose between one of the LEDs to be toggled according to the Blackjack decision condition

◆ nextCallback()

void ToggleLED::nextCallback ( AcePlaysUtils callbackData)
virtual

Implement the nextCallback virtual method to pass information down the pipeline.

Parameters
callbackDataan AcePlaysUtils callback object

Implements CallbackLinker.


The documentation for this class was generated from the following files: