RSeries astromech firmware
TeecesPSI Class Reference

#include <dome/TeecesPSI.h>

Detailed Description

+ Inheritance diagram for TeecesPSI:
+ Collaboration diagram for TeecesPSI:

Public Member Functions

 TeecesPSI (LedControl &ledControl)
 
virtual void setup () override
 Subclasses must implement this function to perform any necessary setup that cannot happen in the constructor. More...
 
void setPower (bool on)
 
void setPause (unsigned int pause)
 
void setDelay (byte delay)
 
void setStuckChance (byte chance)
 
void setState (byte state)
 
void setAnimate (bool animate)
 
void setSolidState (byte mask)
 
virtual void jawaCommand (char cmd, int arg, int value) override
 Subclasses should override this method to handle commands specifying a value. More...
 
virtual void animate ()
 Subclasses must implement this function to run through a single frame of animation/activity. More...
 
- Public Member Functions inherited from AnimatedEvent
 AnimatedEvent ()
 Default Constructor. More...
 
void setLoopDoneCallback (AnimatedLoopDone loopProc)
 

Additional Inherited Members

- Static Public Member Functions inherited from AnimatedEvent
static void process ()
 Calls animate() for each created AnimatedEvent subclass. More...
 

Constructor & Destructor Documentation

◆ TeecesPSI()

TeecesPSI::TeecesPSI ( LedControl &  ledControl)
inline

Member Function Documentation

◆ animate()

virtual void TeecesPSI::animate ( )
inlinevirtual

Subclasses must implement this function to run through a single frame of animation/activity.

Subclasses should not call delay() or otherwise block.

Implements AnimatedEvent.

◆ jawaCommand()

virtual void TeecesPSI::jawaCommand ( char  cmd,
int  arg,
int  value 
)
inlineoverridevirtual

Subclasses should override this method to handle commands specifying a value.

Reimplemented from JawaEvent.

◆ setAnimate()

void TeecesPSI::setAnimate ( bool  animate)
inline

◆ setDelay()

void TeecesPSI::setDelay ( byte  delay)
inline

◆ setPause()

void TeecesPSI::setPause ( unsigned int  pause)
inline

◆ setPower()

void TeecesPSI::setPower ( bool  on)
inline

◆ setSolidState()

void TeecesPSI::setSolidState ( byte  mask)
inline

◆ setState()

void TeecesPSI::setState ( byte  state)
inline

◆ setStuckChance()

void TeecesPSI::setStuckChance ( byte  chance)
inline

◆ setup()

virtual void TeecesPSI::setup ( )
inlineoverridevirtual

Subclasses must implement this function to perform any necessary setup that cannot happen in the constructor.

Implements SetupEvent.


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