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

📄 swarm.activity.actioncreating.protocol.html

📁 set for Swarm2.1是圣菲研究院的开发人员对Swarm的特性及其使用描述的最为完备的指南性文档。从这里可以获得最细致的平台说明。
💻 HTML
字号:
<HTML><HEAD><TITLE>ActionCreating</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="ActionChanged"HREF="swarm.activity.actionchanged.protocol.html"><LINKREL="NEXT"TITLE="ActionCreatingCall"HREF="swarm.activity.actioncreatingcall.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.actionchanged.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.actioncreatingcall.protocol.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="SWARM.ACTIVITY.ACTIONCREATING.PROTOCOL">ActionCreating</A></H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN8990"></A><H2>Name</H2>ActionCreating&nbsp;--&nbsp; Protocol shared by ActionGroup and Schedule.</DIV><DIVCLASS="REFSECT1"><ANAME="AEN8993"></A><H2>Description</H2><P> ActionCreating defines the createAction messages for ActionGroup just so that this protocol may be shared with Schedule, where they provide a convenience interface for the creation of actions in the schedule at time zero. </P><P> The createAction messages declare all arguments of the message to be of object id type, but you are free to cast other pointers and values up to the limits defined by the global portability assumptions.  These is not portable across all machine architectures, but is expected to be portable across the 32-bit and 64-bit architectures on which Swarm will be supported.  The message you send must still be declared to receive the type of argument you actually pass, before you cast it to the id type.</P><P> (.. Alternative approaches to argument typing are currently in development, but these will supplement rather than replace the current forms of createAction messages.)</P><P> Each of the createAction messages returns the action object which it creates.  Each different kind of createAction message returns a different type of Action object with a matching name.  These Action objects provide access to all the information with which the Action was initialized.  The complete set of Action object types is defined below together with the messages that may be used to access their contents.  (.. The implementation of the Action objects is currently undergoing change as the responsibility for parameter and return value typing gets taken over by ActionType in defobj.)</P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN8999"></A><H2>Protocols adopted by ActionCreating</H2><P> <AHREF="swarm.activity.factioncreating.protocol.html">FActionCreating</A> <AHREF="swarm.activity.actioncreatingcall.protocol.html">ActionCreatingCall</A> <AHREF="swarm.activity.actioncreatingto.protocol.html">ActionCreatingTo</A> <AHREF="swarm.activity.actioncreatingforeach.protocol.html">ActionCreatingForEach</A> <AHREF="swarm.activity.factioncreatingforeachheterogeneous.protocol.html">FActionCreatingForEachHeterogeneous</A> <AHREF="swarm.activity.factioncreatingforeachhomogeneous.protocol.html">FActionCreatingForEachHomogeneous</A></P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN9008"></A><H2>Methods</H2><DIVCLASS="REFSECT2"><ANAME="AEN9010"></A><H3>Phase: Using</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ACTIVITY.ACTIONCREATING.METHOD.PU.M206"></A><P></P>- <BCLASS="FUNCPROTOTYPE">createAction:</B> <VARCLASS="PDPARAM">anActionType</VAR> <BR> The createAction: message specifies that processing of another action type is to be performed by the action.  The referenced action type is performed in its entirety, from start to finish, as the effect of the single created action.<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.actionchanged.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.actioncreatingcall.protocol.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">ActionChanged</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="swarm.activity.sgml.reference.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">ActionCreatingCall</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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