|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorkframeCtx
The IWorkframeCtx is the interface for workframe contexts that maintain tthe state for a workframe. In addition to keeping track of the state information as defined in the IFrameCtx the workframe context also tracks the activity currently executed in the frame, the activities that have completed and the detectable contexts defining the detectables that were executed in the context of the workframe.
IFrameCtx
Method Summary | |
---|---|
void |
addActiveDetectable(IDetectableCtx detectable)
Adds the specified detectable as an active detectable to the list of active detectables. |
void |
addCompletedActivity(ActivityCtx act)
Adds the specified activity as a completed activity to the list of completed activities. |
java.util.ListIterator |
getActiveDetectables()
Returns the list of active detectables. |
java.util.ListIterator |
getCompletedActivities()
Returns the list of completed activities. |
ActivityCtx |
getCurrentActivity()
Returns the activity currently active in the workframe |
void |
removeActiveDetectable(IDetectableCtx detectable)
Removes the specified detectable as an active detectable from the list of active detectables. |
void |
removeCompletedActivity(ActivityCtx act)
Removes the specified activity as a completed activity from the list of completed activities. |
void |
setCurrentActivity(ActivityCtx act)
Sets the activity currently active in the workframe |
Methods inherited from interface gov.nasa.arc.brahms.common.rt.IFrameCtx |
---|
addBinding, addFiredConsequence, getBinding, getBindings, getFiredConsequences, getPerformedBy, getPerformedIn, getPriority, getState, getStatus, getTimeAvailable, removeBinding, removeFiredConsequence, setPerformedBy, setPerformedIn, setPriority, setState, setState, setStatus, setTimeAvailable |
Methods inherited from interface gov.nasa.arc.brahms.common.rt.IBrahmsObjectCtx |
---|
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setEndTime, setID, setStartTime |
Method Detail |
---|
void setCurrentActivity(ActivityCtx act)
act
- the current activity (ActivityCtx)ActivityCtx getCurrentActivity()
void addCompletedActivity(ActivityCtx act) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
act
- the ActivityCtx for the activity completed in the workframe
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if the activity is nullvoid removeCompletedActivity(ActivityCtx act) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
act
- the ActivityCtx for the activity to be removed as a completed activity
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if the activity is null or no completed activities exist
or the specified activity is not foundjava.util.ListIterator getCompletedActivities() throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if no completed activities existvoid addActiveDetectable(IDetectableCtx detectable) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
detectable
- the IDetectableCtx for the detectable active in the workframe
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if the detectable is nullvoid removeActiveDetectable(IDetectableCtx detectable) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
detectable
- the IDetectableCtx for the detectable to be removed as an active detectable
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if the detectable is null or no active detectables exist
or the specified detectable is not foundjava.util.ListIterator getActiveDetectables() throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if no active detectables exist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |