⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 swarm.activity.concurrentgrouptype.protocol.html

📁 set for Swarm2.1是圣菲研究院的开发人员对Swarm的特性及其使用描述的最为完备的指南性文档。从这里可以获得最细致的平台说明。
💻 HTML
字号:
<HTML><HEAD><TITLE>ConcurrentGroupType</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="Activity Library"HREF="swarm.activity.sgml.reference.html"><LINKREL="PREVIOUS"TITLE="ConcurrentGroup"HREF="swarm.activity.concurrentgroup.protocol.html"><LINKREL="NEXT"TITLE="ConcurrentSchedule"HREF="swarm.activity.concurrentschedule.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.activity.concurrentgroup.protocol.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Reference III. Activity Library</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="swarm.activity.concurrentschedule.protocol.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="SWARM.ACTIVITY.CONCURRENTGROUPTYPE.PROTOCOL">ConcurrentGroupType</A></H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN9727"></A><H2>Name</H2>ConcurrentGroupType&nbsp;--&nbsp; Handle actions scheduled at same time value.</DIV><DIVCLASS="REFSECT1"><ANAME="AEN9730"></A><H2>Description</H2><P> The ConcurrentGroupType option is used to control handling of multiple actions which end up being scheduled at the same time value.  As far the schedule representation is concerned, these actions are assumed by default to be concurrently executable, and the processing machinery is free to process them as such if no ConcurrentGroupType option is specified.</P><P> If a different interpretation of actions at the same time step is needed, the ConcurrentGroupType option may be specified.  The argument of this option must be an object that when given a standard create: message will return an object having all the structure of a standard ActionGroup object.</P><P> In addition to overriding the standard ActionGroup type, the concurrent group type may be implemented by a custom subclass of the ActionGroup implementation which you supply yourself.  A custom subclass is free to implement custom rules for how to combine all the actions which happen to arrive at the same time value.  For example, it could decide that some actions are not to be executed at all, or it could create entirely new actions to be executed instead of or in addition to those which were originally scheduled.</P><P> (.. Specific rules for writing a custom ActionGroup subclass will be documented at a future time, but all the apparatus to do so is present today.  A concurrent action group is currently used to maintain the proper order of execution among subswarms of an owner swarm.)</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN9736"></A><H2>Protocols adopted by ConcurrentGroupType</H2><P>None</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN9739"></A><H2>Methods</H2><DIVCLASS="REFSECT2"><ANAME="AEN9741"></A><H3>Phase: Setting</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ACTIVITY.CONCURRENTGROUPTYPE.METHOD.PS.M717"></A><P></P>- (void)<BCLASS="FUNCPROTOTYPE">setConcurrentGroupType:</B> <VARCLASS="PDPARAM">groupType</VAR> <BR><P></P></DIV></LI></UL></DIV><DIVCLASS="REFSECT2"><ANAME="AEN9753"></A><H3>Phase: Using</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ACTIVITY.CONCURRENTGROUPTYPE.METHOD.PU.M343"></A><P></P>- <BCLASS="FUNCPROTOTYPE">getConcurrentGroupType</B><BR><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.activity.concurrentgroup.protocol.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="set.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="swarm.activity.concurrentschedule.protocol.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">ConcurrentGroup</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="swarm.activity.sgml.reference.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">ConcurrentSchedule</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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