fr.lri.insitu.FlowStates.device
Class DSMDevice

java.lang.Object
  extended by fr.emn.reactiveinput.AbstractDevice
      extended by fr.lri.insitu.FlowStates.device.DSMDevice
All Implemented Interfaces:
fr.emn.reactiveinput.Device, fr.emn.reactiveinput.Processor, fr.lri.swingstates.sm.StateMachineListener

public class DSMDevice
extends fr.emn.reactiveinput.AbstractDevice
implements fr.lri.swingstates.sm.StateMachineListener


Field Summary
protected  Hashtable<Class<? extends InSlotEvent>,InSlotsGroup> inSlots
           
protected  Hashtable<Class<? extends OutSlotEvent>,OutSlotsGroup> outSlots
           
protected  IConStateMachine sm
           
 
Fields inherited from class fr.emn.reactiveinput.AbstractDevice
advanced_properties, currIndex, ins, outs
 
Fields inherited from interface fr.emn.reactiveinput.Device
AUTO_PROPERTIES, debug
 
Constructor Summary
DSMDevice(IConStateMachine sm)
           
 
Method Summary
 fr.emn.reactiveinput.Device copy()
           
 void eventOccured(EventObject eventObject)
           
 Hashtable<Object,String[]> getAdvancedProperties()
           
 InSlotsGroup getInSlotsGroup(fr.lri.swingstates.sm.Transition t)
           
 OutSlotsGroup getOutSlotsGroup(fr.lri.swingstates.sm.Transition t)
           
 boolean getShowSMViz()
           
 boolean hasExternalOutput()
           
 void init()
           
 boolean isCopiable()
           
 fr.emn.reactiveinput.Processor open(fr.emn.reactiveinput.OpenContext context)
           
 void setShowSMViz(boolean b)
           
 void update()
           
 
Methods inherited from class fr.emn.reactiveinput.AbstractDevice
addIn, addIn, addOut, close, doDisable, doEnable, finalize, getError, getIndex, getInfo, getIns, getName, getOuts, getProperties, hasExternalInput, insertAt, insertAtEnd, insertBefore, isEnabled, isOpenable, labelChanged, setEnabled, setInfo, setInfo, setLastError, setName
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sm

protected IConStateMachine sm

inSlots

protected Hashtable<Class<? extends InSlotEvent>,InSlotsGroup> inSlots

outSlots

protected Hashtable<Class<? extends OutSlotEvent>,OutSlotsGroup> outSlots
Constructor Detail

DSMDevice

public DSMDevice(IConStateMachine sm)
Method Detail

getAdvancedProperties

public Hashtable<Object,String[]> getAdvancedProperties()
Specified by:
getAdvancedProperties in interface fr.emn.reactiveinput.Device
Overrides:
getAdvancedProperties in class fr.emn.reactiveinput.AbstractDevice

setShowSMViz

public void setShowSMViz(boolean b)

getShowSMViz

public boolean getShowSMViz()

hasExternalOutput

public boolean hasExternalOutput()
Specified by:
hasExternalOutput in interface fr.emn.reactiveinput.Device
Overrides:
hasExternalOutput in class fr.emn.reactiveinput.AbstractDevice

isCopiable

public boolean isCopiable()
Specified by:
isCopiable in interface fr.emn.reactiveinput.Device
Overrides:
isCopiable in class fr.emn.reactiveinput.AbstractDevice

copy

public fr.emn.reactiveinput.Device copy()
Specified by:
copy in interface fr.emn.reactiveinput.Device
Overrides:
copy in class fr.emn.reactiveinput.AbstractDevice

open

public fr.emn.reactiveinput.Processor open(fr.emn.reactiveinput.OpenContext context)
Specified by:
open in interface fr.emn.reactiveinput.Device
Overrides:
open in class fr.emn.reactiveinput.AbstractDevice

init

public void init()
Specified by:
init in interface fr.emn.reactiveinput.Processor
Overrides:
init in class fr.emn.reactiveinput.AbstractDevice

update

public void update()
Specified by:
update in interface fr.emn.reactiveinput.Processor
Overrides:
update in class fr.emn.reactiveinput.AbstractDevice

getInSlotsGroup

public InSlotsGroup getInSlotsGroup(fr.lri.swingstates.sm.Transition t)

getOutSlotsGroup

public OutSlotsGroup getOutSlotsGroup(fr.lri.swingstates.sm.Transition t)

eventOccured

public void eventOccured(EventObject eventObject)
Specified by:
eventOccured in interface fr.lri.swingstates.sm.StateMachineListener



Copyright © 2009 Caroline Appert & Stˇphane Huot. 

Please send comments to: ??@lri.fr