|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDetectableCtx
The IDetectableCtx defines the interface for the context for a fired detectable defining the detectable that was fired, in what frame or composite activity the detectable was fired, the fact or belief detected and the belief created by the detectable.
Method Summary | |
---|---|
void |
addDetectableAction(IDetectableActionCtx action)
Adds the specified detectable action to the list of detectable actions executed by this detectable. |
java.util.Enumeration |
getDetectableActions()
Returns a list of all the detectable actions executed by this detectable. |
IBrahmsObjectCtx |
getParent()
Returns the parent context (frame or composite activity) in which this detectable is fired. |
void |
removeDetectableAction(IDetectableActionCtx action)
Removes the specified detectable action from the list of detectable actions executed by this detectable. |
void |
setParent(ICompositeActivityCtx parent)
Sets the parent composite activity context in which this detectable is fired. |
void |
setParent(IFrameCtx parent)
Sets the parent frame context in which this detectable is fired. |
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 setParent(IFrameCtx parent) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
parent
- the IFrameCtx in which the detectable is fired
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if a null parent is specifiedvoid setParent(ICompositeActivityCtx parent) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
parent
- the ICompositeActivityCtx in which the detectable is fired
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if a null parent is specifiedIBrahmsObjectCtx getParent() throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if no parent is specifiedvoid addDetectableAction(IDetectableActionCtx action) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
action
- the IDetectableActionCtx to be added
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if a null action is specifiedvoid removeDetectableAction(IDetectableActionCtx action) throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
action
- the IDetectableActionCtx to be removed
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if the specified action is null, or no
no actions are specified for the detectable, or the specified
action is not found in the list of detectable actions.java.util.Enumeration getDetectableActions() throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if no detectable actions are specified for the
detectable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |