ActiveGraph -- Provides a continuous data feed between Swarm and the GUI.
An active graph object is the glue between a MessageProbe (for reading data) and a Graph GraphElement. ActiveGraphs are created and told where to get data from and send it to, and then are scheduled to actually do graphic functions. This class is used by EZGraph, and we expect to see less direct usage of it by end-users as more analysis tools (such as EZGraph) internalize its functionality.
- setDataFeed: d
Sets the object that will be probed for data.
- setElement: ge
Sets the graph element used to draw on.
Returns the value of the graph element..
Fires the probe, reads the value from the object, and draws it on the graph element. The X value is implicitly the current simulation time. Y is the value read.