hep.aida.ref.event
Interface IsObservable

All Known Implementing Classes:
Cloud, Cloud1D, Cloud2D, Cloud3D, DataPoint, DataPointSet, H3D, Histogram, Histogram1D, Histogram2D, Histogram3D, Measurement, Profile, Profile1D, Profile2D, Tree

public interface IsObservable

An interface to be implemented by AIDA objects that can notify observers of change to their state. The interface is designed to add minimal overhead to objects which are observable, whether they are observed or not. Since objects such as histograms may be updated very frequently they will generally only send one notification to observers. If the observer needs to be notified again it must call setValid before another notification will be sent.


Method Summary
 void addListener(AIDAListener o)
           
 void removeAllListeners()
           
 void removeListener(AIDAListener o)
           
 void setValid(AIDAListener o)
           
 

Method Detail

addListener

void addListener(AIDAListener o)

removeListener

void removeListener(AIDAListener o)

removeAllListeners

void removeAllListeners()

setValid

void setValid(AIDAListener o)


jHepWork 3.0 ©