com.yobotics.simulationconstructionset.eventBased
Interface Observable

All Known Implementing Classes:
AlphaFilteredYoVariable, AlphaFusedYoVariable, BetaFilteredYoVariable, ButterworthFilteredYoVariable, ButterworthFusedYoVariable, FilteredVelocityYoVariable, GlitchFilteredBooleanYoVariable, HysteresisFilteredYoVariable, InfiniteImpulseResponseFilteredYoVariable, RampedAlphaFilteredYoVariable, RateChangeLimitedYoVariable, RateLimitedYoVariable, TwoVariableTransitionFilter, YoVariable

public interface Observable

Interface for all classes that are meant to be observed by instances of a class that implements Observer. Observers should be notified by the Observable when deemed appropriate.

Author:
Twan Koolen

Method Summary
 void addObserver(Observer observer)
          Adds a new observer
 void removeAllObservers()
          Removes all observers
 void removeObserver(Observer observer)
          Removes an observer
 

Method Detail

addObserver

void addObserver(Observer observer)
Adds a new observer

Parameters:
observer - the new observer to be addedd

removeObserver

void removeObserver(Observer observer)
Removes an observer

Parameters:
observer - the new observer to be removed

removeAllObservers

void removeAllObservers()
Removes all observers