📄 swarm.objectbase.customprobemap.protocol.html
字号:
<HTML><HEAD><TITLE>CustomProbeMap</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="Objectbase Library"HREF="swarm.objectbase.sgml.reference.html"><LINKREL="PREVIOUS"TITLE="CompleteVarMap"HREF="swarm.objectbase.completevarmap.protocol.html"><LINKREL="NEXT"TITLE="DefaultProbeMap"HREF="swarm.objectbase.defaultprobemap.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.objectbase.completevarmap.protocol.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Reference IV. Objectbase Library</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="swarm.objectbase.defaultprobemap.protocol.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><H1><ANAME="SWARM.OBJECTBASE.CUSTOMPROBEMAP.PROTOCOL">CustomProbeMap</A></H1><DIVCLASS="REFNAMEDIV"><ANAME="AEN11678"></A><H2>Name</H2>CustomProbeMap -- A subclass of ProbeMap, whose initial state is empty unlike the default probeMap initial state which contains all the VarProbes of the requested target class.</DIV><DIVCLASS="REFSECT1"><ANAME="AEN11681"></A><H2>Description</H2><P> This subclass of the ProbeMap is used to create probe maps which are initialised in an emtpy state or with the VarProbes and MessageProbes intended. In other words, the probed class is set, as is the case with the normal ProbeMap class but upon createEnd no VarProbes or MessageProbes will be present within it. This feature is useful when creating a probe map from scratch (e.g. to be used in conjunction with the setProbeMap:For: message of the ProbeLibrary). </P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN11684"></A><H2>Protocols adopted by CustomProbeMap</H2><P> <AHREF="swarm.objectbase.probemap.protocol.html">ProbeMap</A> <AHREF="swarm.defobj.creatable.protocol.html">CREATABLE</A></P></DIV><DIVCLASS="REFSECT1"><ANAME="AEN11689"></A><H2>Methods</H2><DIVCLASS="REFSECT2"><ANAME="AEN11691"></A><H3>Phase: Creating</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.OBJECTBASE.CUSTOMPROBEMAP.METHOD.PC.M3"></A><P></P>+ <BCLASS="FUNCPROTOTYPE">create:</B> (id <Zone>)<VARCLASS="PDPARAM">aZone</VAR> <BCLASS="FUNCPROTOTYPE">forClass:</B> (Class)<VARCLASS="PDPARAM">aClass</VAR> <BCLASS="FUNCPROTOTYPE">withIdentifiers:</B> (const char *)<VARCLASS="PDPARAM">vars</VAR> <BCLASS="FUNCPROTOTYPE">:</B> <VARCLASS="PDPARAM">...</VAR> <BR> Convenience method for creating a CustomProbeMap in which the user specifies the list of variables and methods to be probed this by passing a delimited list of strings of the form: "var1", "var2", ..., ":", "method1", "method2",..., NULL<P></P></DIV></LI></UL></DIV><DIVCLASS="REFSECT2"><ANAME="AEN11709"></A><H3>Phase: Setting</H3><P></P><UL><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.OBJECTBASE.CUSTOMPROBEMAP.METHOD.PS.M103"></A><P></P>- <BCLASS="FUNCPROTOTYPE">addProbesForClass:</B> (Class)<VARCLASS="PDPARAM">aClass</VAR> <BCLASS="FUNCPROTOTYPE">withIdentifiers:</B> (const char *)<VARCLASS="PDPARAM">vars</VAR> <BCLASS="FUNCPROTOTYPE">:</B> <VARCLASS="PDPARAM">...</VAR> <BR> Allows further probes specified in the delimited string list to be added *after* the CustomProbeMap has been created<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.objectbase.completevarmap.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.objectbase.defaultprobemap.protocol.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">CompleteVarMap</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="swarm.objectbase.sgml.reference.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">DefaultProbeMap</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -