GP
Interface Vary


public interface Vary

An object that represents a piece of information that tends to change.


Method Summary
 void Ignore()
          Causes this variance to stop listening to a source of information.
 void Listen()
          Causes this variance to start listening to a source of information.
 void OnChange(double value)
          This method should be call automatically by a source of information.
 

Method Detail

OnChange

public void OnChange(double value)
This method should be call automatically by a source of information. It is called with a piece of data, in double format, that represents some piece of inforamtion. This method should be implemented to determine what this new piece of information means, and then preform any necessary actions based on the new inforamtion.
Parameters:
value - the new piece of information

Listen

public void Listen()
Causes this variance to start listening to a source of information.

Ignore

public void Ignore()
Causes this variance to stop listening to a source of information.