?? schedulecimpl.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Tue Nov 30 14:11:20 MST 2004 --><TITLE>Swarm 2.2 Reference Guide: Class ScheduleCImpl</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../swarm/activity/ScheduleActivityImpl.html"><B>PREV CLASS</B></A> <A HREF="../../swarm/activity/ScheduleImpl.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="ScheduleCImpl.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#fields_inherited_from_class_swarm.PhaseCImpl">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">swarm.activity</FONT><BR>Class ScheduleCImpl</H2><PRE>java.lang.Object | +--<A HREF="../../swarm/BaseImpl.html">swarm.BaseImpl</A> | +--<A HREF="../../swarm/PhaseCImpl.html">swarm.PhaseCImpl</A> | +--<B>swarm.activity.ScheduleCImpl</B></PRE><HR><DL><DT>public class <B>ScheduleCImpl</B><DT>extends <A HREF="../../swarm/PhaseCImpl.html">PhaseCImpl</A><DT>implements <A HREF="../../swarm/collections/MapC.html">MapC</A>, <A HREF="../../swarm/collections/MapS.html">MapS</A>, <A HREF="../../swarm/activity/CompoundActionC.html">CompoundActionC</A>, <A HREF="../../swarm/activity/CompoundActionS.html">CompoundActionS</A>, <A HREF="../../swarm/activity/ActionCreatingC.html">ActionCreatingC</A>, <A HREF="../../swarm/activity/ActionCreatingS.html">ActionCreatingS</A>, <A HREF="../../swarm/activity/RelativeTimeC.html">RelativeTimeC</A>, <A HREF="../../swarm/activity/RelativeTimeS.html">RelativeTimeS</A>, <A HREF="../../swarm/activity/RepeatIntervalC.html">RepeatIntervalC</A>, <A HREF="../../swarm/activity/RepeatIntervalS.html">RepeatIntervalS</A>, <A HREF="../../swarm/activity/ConcurrentGroupTypeC.html">ConcurrentGroupTypeC</A>, <A HREF="../../swarm/activity/ConcurrentGroupTypeS.html">ConcurrentGroupTypeS</A>, <A HREF="../../swarm/activity/SingletonGroupsC.html">SingletonGroupsC</A>, <A HREF="../../swarm/activity/SingletonGroupsS.html">SingletonGroupsS</A>, <A HREF="../../swarm/activity/ScheduleS.html">ScheduleS</A>, <A HREF="../../swarm/activity/ScheduleC.html">ScheduleC</A></DL><P><strong> A collection of actions ordered by time values.</strong>.A schedule is compound action whose basic representation is a sorted Map of actions that have been created within it. The key value associated with each of these actions is an unsigned integer value for which the typedef timeval_t is supplied. A schedule inherits its underlying representation from the Map type of the collections library. All the members of the ordered set must consist only of actions that are created by one of the createAction messages defined on Schedule itself. Once the actions are created, they may be accessed or traversed using standard messages of the Map type. The key values of this collection, however, must be cast to and from the id type defined for key values by the Map type. The messages to create actions within a schedule are essentially the same as those for ActionGroup, except for the presence of an initial at: argument indicating the time at which an action is to be performed. Except for the time associated with each action, meaning of the createAction messages is the same as for ActionGroup. When multiple actions are all scheduled at the same time, they are all inserted into a concurrent action group created for that time value. The ConcurrentGroupType option may be used to override the default action group for these concurrent actions by a custom user-defined subclass. (.. Details of doing this are not yet documented, but there are examples.)<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="fields_inherited_from_class_swarm.PhaseCImpl"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class swarm.<A HREF="../../swarm/PhaseCImpl.html">PhaseCImpl</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/PhaseCImpl.html#nextPhase">nextPhase</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/activity/ScheduleCImpl.html#ScheduleCImpl()">ScheduleCImpl</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../swarm/activity/ScheduleCImpl.html#ScheduleCImpl(swarm.activity.Schedule)">ScheduleCImpl</A></B>(<A HREF="../../swarm/activity/Schedule.html">Schedule</A> nextPhase)</CODE><BR> </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="methods_implemented_from_interfaces_swarm.activity.RelativeTimeS"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.activity.<A HREF="../../swarm/activity/RelativeTimeS.html">RelativeTimeS</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/activity/RelativeTimeS.html#setRelativeTime(boolean)">setRelativeTime</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.activity.RepeatIntervalS"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.activity.<A HREF="../../swarm/activity/RepeatIntervalS.html">RepeatIntervalS</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/activity/RepeatIntervalS.html#setRepeatInterval(int)">setRepeatInterval</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.activity.ConcurrentGroupTypeS"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.activity.<A HREF="../../swarm/activity/ConcurrentGroupTypeS.html">ConcurrentGroupTypeS</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/activity/ConcurrentGroupTypeS.html#setConcurrentGroupType(java.lang.Object)">setConcurrentGroupType</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.activity.SingletonGroupsS"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.activity.<A HREF="../../swarm/activity/SingletonGroupsS.html">SingletonGroupsS</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/activity/SingletonGroupsS.html#setSingletonGroups(boolean)">setSingletonGroups</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.activity.ScheduleC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.activity.<A HREF="../../swarm/activity/ScheduleC.html">ScheduleC</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/activity/ScheduleC.html#create$setAutoDrop(swarm.defobj.Zone, boolean)">create$setAutoDrop</A>, <A HREF="../../swarm/activity/ScheduleC.html#create$setRepeatInterval(swarm.defobj.Zone, int)">create$setRepeatInterval</A>, <A HREF="../../swarm/activity/ScheduleC.html#setKeepEmptyFlag(boolean)">setKeepEmptyFlag</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.collections.CompareFunctionC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods implemented by this class for interface swarm.collections.<A HREF="../../swarm/collections/CompareFunctionC.html">CompareFunctionC</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/collections/CompareFunctionC.html#setCompareCStrings()">setCompareCStrings</A>, <A HREF="../../swarm/collections/CompareFunctionC.html#setCompareIDs()">setCompareIDs</A>, <A HREF="../../swarm/collections/CompareFunctionC.html#setCompareIntegers()">setCompareIntegers</A>, <A HREF="../../swarm/collections/CompareFunctionC.html#setCompareUnsignedIntegers()">setCompareUnsignedIntegers</A></CODE></TD></TR></TABLE> <A NAME="methods_implemented_from_interfaces_swarm.defobj.SerializationC"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -