FastFX  1.1.0
LED Strip Animation and Effects Framework for Arduino
FFXStateNotifier Class Reference

#include <FFXBase.h>

+ Inheritance diagram for FFXStateNotifier:

Public Member Functions

 FFXStateNotifier ()
 
virtual ~FFXStateNotifier ()
 
void addObserver (FFXStateObserver *obs)
 
void notify (String source, String attribute, String value)
 

Detailed Description

FFXStateNotifier - Base class for FFX event publisher class. Maintains a list of FFXStageObserver objects to send notifications. Calls to notify() will be passed to the onNotify() method of each registered FFXStateObjerver.

Constructor & Destructor Documentation

◆ FFXStateNotifier()

FFXStateNotifier::FFXStateNotifier ( )
inline

◆ ~FFXStateNotifier()

virtual FFXStateNotifier::~FFXStateNotifier ( )
inlinevirtual

Member Function Documentation

◆ addObserver()

void FFXStateNotifier::addObserver ( FFXStateObserver obs)
inline

◆ notify()

void FFXStateNotifier::notify ( String  source,
String  attribute,
String  value 
)
inline