swarm.analysis.activegraph.protocol.html

来自「set for Swarm2.1是圣菲研究院的开发人员对Swarm的特性及其使用」· HTML 代码 · 共 236 行

HTML
236
字号
<HTML><HEAD><TITLE>ActiveGraph</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.53"><LINKREL="HOME"TITLE="Documentation Set for Swarm 2.1.1"HREF="set.html"><LINKREL="UP"TITLE="Analysis Library"HREF="swarm.analysis.sgml.reference.html"><LINKREL="PREVIOUS"TITLE="Analysis Library"HREF="swarm.analysis.sgml.reference.html"><LINKREL="NEXT"TITLE="ActiveOutFile"HREF="swarm.analysis.activeoutfile.protocol.html"></HEAD><BODYCLASS="REFENTRY"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Documentation Set for Swarm 2.1.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="swarm.analysis.sgml.reference.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Reference IX. Analysis Library</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="swarm.analysis.activeoutfile.protocol.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="SWARM.ANALYSIS.ACTIVEGRAPH.PROTOCOL">ActiveGraph</A></H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN21450"></A><H2>Name</H2>ActiveGraph&nbsp;--&nbsp; Provides a continuous data feed between Swarm and the GUI.</DIV><DIVCLASS="REFSECT1"><ANAME="AEN21453"></A><H2>Description</H2><P> 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.</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN21456"></A><H2>Protocols adopted by ActiveGraph</H2><P> <AHREF="swarm.objectbase.messageprobe.protocol.html">MessageProbe</A> <AHREF="swarm.defobj.creatable.protocol.html">CREATABLE</A></P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN21461"></A><H2>Methods</H2><DIVCLASS="REFSECT2"><ANAME="AEN21463"></A><H3>Phase: Using</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.ACTIVEGRAPH.METHOD.PU.M748"></A><P></P>- <BCLASS="FUNCPROTOTYPE">setElement:</B> <VARCLASS="PDPARAM">ge</VAR> <BR> Sets the graph element used to draw on.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.ACTIVEGRAPH.METHOD.PU.M724"></A><P></P>- <BCLASS="FUNCPROTOTYPE">setDataFeed:</B> <VARCLASS="PDPARAM">d</VAR> <BR> Sets the object that will be probed for data.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.ACTIVEGRAPH.METHOD.PU.M919"></A><P></P>- <BCLASS="FUNCPROTOTYPE">step</B><BR> 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. <P></P></DIV></LI></UL></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="swarm.analysis.sgml.reference.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="set.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="swarm.analysis.activeoutfile.protocol.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Analysis Library</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="swarm.analysis.sgml.reference.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">ActiveOutFile</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?