FreeHEP API
Version current

hep.aida.ref.event
Interface IsObservable

All Known Implementing Classes:
Cloud, DataPoint, DataPointSet, Histogram, Histogram1D, Measurement, Profile, Profile1D, Profile2D, RemoteManagedObject, RemoteTree, 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.

Source Code:
IsObservable.java

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

Method Detail

addListener

public void addListener(AIDAListener o)

removeListener

public void removeListener(AIDAListener o)

removeAllListeners

public void removeAllListeners()

setValid

public void setValid(AIDAListener o)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.