|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class that provides an object interface to an activity.. The ActivityControl class specifies an object that can be attached to an activity (regardless of how or where that activity is created) for the purpose of explicitly controlling the execution of actions on that activity's action plan. There is nothing that available through this class that is not already available through the variables or messages available via the activity itself. However, it packages up the main control messages and makes them available to other objects that may need control over an activity, thereby shielding the activity from directly receiving messages from outside objects and saving the user from having to parse the more complex interface to the activity.
Method Summary | |
Object |
attachToActivity(Object anActivity)
The attachToActivity: method sets an instance variable inside the ActivityControl object that points to the Activity to be controlled. |
Object |
getStatus()
The getStatus method returns the status of the activity. |
Object |
next()
The next method sends a next message to the activity if the conditions are appropriate. |
Object |
run()
The run method sends a run message to the activity if the conditions are appropriate. |
Object |
step()
The step method sends a step message to the activity if the conditions are appropriate. |
Object |
stepUntil(int stopTime)
The stepUntil: method sends a stepUntil: message to the activity if conditions are appropriate. |
Object |
stop()
The stop method sends a stop message to the activity if the conditions are appropriate. |
Object |
updateStateVar()
The updateStateVar method updates the ActivityControl instance variables and tests for the continued existence of the activity that is being controlled. |
Methods inherited from interface swarm.objectbase.SwarmObject |
getCompleteProbeMap,
getProbeForMessage,
getProbeForVariable,
getProbeMap |
Methods inherited from interface swarm.defobj.Drop |
drop |
Methods inherited from interface swarm.defobj.DefinedObject |
compare,
describe,
describeID,
getDisplayName,
getTypeName,
getZone,
perform,
perform$with,
perform$with$with,
perform$with$with$with,
respondsTo,
setDisplayName,
xfprint,
xfprintid,
xprint,
xprintid |
Method Detail |
public Object attachToActivity(Object anActivity)
public Object run()
public Object stop()
public Object next()
public Object step()
public Object stepUntil(int stopTime)
public Object updateStateVar()
public Object getStatus()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |