fr.emn.reactiveinput
Interface MutableDevice

All Superinterfaces:
Device
All Known Implementing Classes:
AbstractMutableDevice, CompoundDevice, Pin

public interface MutableDevice
extends Device


Field Summary
 
Fields inherited from interface fr.emn.reactiveinput.Device
AUTO_PROPERTIES
 
Method Summary
 Slot[] getMutationTriggers()
          Returns the mutation triggers for this mutable device, i.e. all input or output slots that trigger a mutation when they are connected to another type.
 void mutate()
          Performs a mutation on this device.
 
Methods inherited from interface fr.emn.reactiveinput.Device
close, copy, getError, getInfo, getIns, getName, getOuts, getProperties, hasExternalInput, hasExternalOutput, isCopiable, isOpenable, open, setEnabled
 

Method Detail

getMutationTriggers

public Slot[] getMutationTriggers()
Returns the mutation triggers for this mutable device, i.e. all input or output slots that trigger a mutation when they are connected to another type.


mutate

public void mutate()
Performs a mutation on this device. This method is called when a connection is changed on a mutation trigger.