FastFX  1.1.0
LED Strip Animation and Effects Framework for Arduino
FFXStateObserver Class Referenceabstract

#include <FFXBase.h>

+ Inheritance diagram for FFXStateObserver:

Public Member Functions

 FFXStateObserver ()
 
virtual ~FFXStateObserver ()
 
virtual void onNotify (String source, String attribute, String value)=0
 

Detailed Description

FFXStateObserver - Base class for FFX event observer class. Descendents of this class may be registered with any FFXStateNotifier. Override the pure virtual onNotify() method to handle notification events.

Constructor & Destructor Documentation

◆ FFXStateObserver()

FFXStateObserver::FFXStateObserver ( )
inline

◆ ~FFXStateObserver()

virtual FFXStateObserver::~FFXStateObserver ( )
inlinevirtual

Member Function Documentation

◆ onNotify()

virtual void FFXStateObserver::onNotify ( String  source,
String  attribute,
String  value 
)
pure virtual

Implemented in FFXSegment.