RSeries astromech firmware
CommandEventSerial< BUFFER_SIZE > Class Template Reference

#include <core/CommandEvent.h>

+ Inheritance diagram for CommandEventSerial< BUFFER_SIZE >:
+ Collaboration diagram for CommandEventSerial< BUFFER_SIZE >:

Public Member Functions

 CommandEventSerial (HardwareSerial &serial)
 
 CommandEventSerial (Stream *stream)
 
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

◆ CommandEventSerial() [1/2]

template<uint16_t BUFFER_SIZE = 64>
CommandEventSerial< BUFFER_SIZE >::CommandEventSerial ( HardwareSerial &  serial)
inline

◆ CommandEventSerial() [2/2]

template<uint16_t BUFFER_SIZE = 64>
CommandEventSerial< BUFFER_SIZE >::CommandEventSerial ( Stream *  stream)
inline

Member Function Documentation

◆ animate()

template<uint16_t BUFFER_SIZE = 64>
virtual void CommandEventSerial< BUFFER_SIZE >::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.


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