gov.nasa.arc.brahms.vm.rt
Class VMDetectCtx

java.lang.Object
  extended by gov.nasa.arc.brahms.common.rt.BrahmsObjectCtx
      extended by gov.nasa.arc.brahms.common.rt.DetectCtx
          extended by gov.nasa.arc.brahms.vm.rt.VMDetectCtx
All Implemented Interfaces:
IBrahmsObjectCtx, IDetectableActionCtx, IDetectCtx, IRuntimeConstants, java.io.Serializable

public class VMDetectCtx
extends DetectCtx

The VMDetectCtx is a detectable action that maintains the information about when the detection took place, what fact was detected and what belief was created as a result of the detection. It also contains the behavior of how the matching of facts with the detectable condition is to occur. On a match it is responsible for creating a belief for the matched fact.

Version:
7 January 2004
Author:
Ron van Hoof
See Also:
DetectCtx, Serialized Form

Field Summary
 
Fields inherited from interface gov.nasa.arc.brahms.common.rt.IRuntimeConstants
ABORTED, ACTIVE, ACTIVITY, AVAILABLE, COMPLETED, CONSEQUENCE, DETECTABLE, ENDED, ENGINE, EXTERNAL_AGENT, FROM, IMPASSED, INITIAL, INTERRUPTED, JAVA_PROPERTY, sABORTED, sACTIVE, sAVAILABLE, sCOMPLETED, sENDED, sIMPASSED, sINTERRUPTED, sUNAVAILABLE, TO, TRANSFER, UNAVAILABLE
 
Constructor Summary
VMDetectCtx(VMDetectableCtx parent)
          Constructor, creates a new context for a detect action for the specified detectable.
 
Method Summary
 
Methods inherited from class gov.nasa.arc.brahms.common.rt.DetectCtx
addUsedVariable, getCreatedBelief, getDetectedFact, getParent, getUsedVariables, removeUsedVariable, setCreatedBelief, setDetectedFact
 
Methods inherited from class gov.nasa.arc.brahms.common.rt.BrahmsObjectCtx
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setContextFor, setEndTime, setID, setStartTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.nasa.arc.brahms.common.rt.IBrahmsObjectCtx
addNote, getContextFor, getEndTime, getID, getNote, getNotes, getStartTime, removeNote, setEndTime, setID, setStartTime
 

Constructor Detail

VMDetectCtx

public VMDetectCtx(VMDetectableCtx parent)
Constructor, creates a new context for a detect action for the specified detectable.

Parameters:
parent - the parent VMDetectableCtx


Copyright © 1997-2012 All Rights Reserved.