FreeHEP API
Version v1.2.2

hep.aida.ref.event
Interface IsObservable

All Known Implementing Classes:
Cloud, DataPointSet, Histogram, Histogram1D, RemoteManagedObject, 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 removeListener(AIDAListener o)
           
 void setValid(AIDAListener o)
           
 

Method Detail

addListener

public void addListener(AIDAListener o)

removeListener

public void removeListener(AIDAListener o)

setValid

public void setValid(AIDAListener o)

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.