RSeries astromech firmware
|
#include <core/SetupEvent.h>
Base class for all devices that require setup that cannot happen in the constructor. SetupEvent::setup() is called for each device once from the sketch setup() routine.
Public Member Functions | |
SetupEvent () | |
Default Constructor. More... | |
virtual void | setup ()=0 |
Subclasses must implement this function to perform any necessary setup that cannot happen in the constructor. More... | |
Static Public Member Functions | |
static void | ready () |
Calls setup() for each created AnimatedEvent subclass. More... | |
|
inline |
Default Constructor.
Registers the subclass to be called from the sketch setup() routine
|
inlinestatic |
Calls setup() for each created AnimatedEvent subclass.
|
pure virtual |
Subclasses must implement this function to perform any necessary setup that cannot happen in the constructor.
Implemented in HoloOLED< DATA_PIN, RGB_ORDER, NUM_LEDS >, LogicEngineRenderer, HoloLights< DATA_PIN, RGB_ORDER, NUM_LEDS >, HoloLights< 45, GRB, 12 >, TeecesFrontLogics, ServoDispatchPCA9685< numServos, defaultOEValue >, ServoDispatchDirect< numServos >, PushButton, Stance, DataPanel, ButtonController, FireStrip< DATA_PIN, RGB_ORDER, NUM_LEDS >, ChargeBayIndicator, DomeDrive, TankDriveRoboteq, MagicPanelBase, TankDrive, AVRMega2560Programmer, TeecesRearLogics, RotaryEncoder, StealthController, HoloDisplay< DATA_PIN, RGB_ORDER, NUM_LEDS >, DomeDriveSabertooth, TeecesPSI, TankDrivePWM, SoftPot, DomeDrivePWM, DomeDriveSerial, TankDriveSabertooth, TankDriveSerial, SingleStatusLED< DATA_PIN >, ServoFeedback< NUM_SERVOS >, PPMDecoder, DomeSensorRing, ResistorLadderButtons< kButtonPin, buttonVal >, ServoDecoder, and Orientation.