modhelxs.state_management
Class PlainManagedInterfaceBlock

java.lang.Object
  extended by modhelxs.abstractsemantics.NamedEntity
      extended by modhelxs.abstractsemantics.ObservableEntity
          extended by modhelxs.abstractsemantics.Block
              extended by modhelxs.abstractsemantics.InterfaceBlock
                  extended by modhelxs.state_management.ManagedInterfaceBlock
                      extended by modhelxs.state_management.PlainManagedInterfaceBlock
All Implemented Interfaces:
Block, InterfaceBlock, NamedEntity, ObservableEntity

public abstract class PlainManagedInterfaceBlock
extends ManagedInterfaceBlock

An implementation of the ManagedInterfaceBlock for untimed IB.


Constructor Summary
PlainManagedInterfaceBlock(java.lang.String name, Model<?> model, java.lang.Object... properties)
           
 
Method Summary
 void doEndOfSnapshot()
          The endOfSnapshot behavior of the interface block.
 void doPreSetup()
          Some pre-setup behavior necessary for subclasses.
 void doReset()
          The reset behavior of the interface block.
 void doStartOfSnapshot()
          The start of snapshot behavior of the block.
 boolean shouldUpdateModel()
          Should the internal model be updated.
 
Methods inherited from class modhelxs.state_management.ManagedInterfaceBlock
doGhostUpdate, doPostUpdate, doPreUpdate, doSetup, endOfSnapshot, endOfUpdate, initFromProperties, internalWasUpdated, reset, setup, startOfSnapshot, startOfUpdate, update, wasUpdated
 
Methods inherited from class modhelxs.abstractsemantics.InterfaceBlock
adaptIn, adaptOut, connect, connectFromModel, createAdaptationRelation, emitObservationRequests, getAdaptation, getInputPins, getInternalModel, getOutputPins, prep, validate, wrapup
 
Methods inherited from class modhelxs.abstractsemantics.Block
connectFromInterfaceBlock, connectFromRegularBlock, getEngine, getMoC, getParent, getSolver, getTimeOfRequest, hasObservationRequest, sanityCheck, setParent
 
Methods inherited from class modhelxs.abstractsemantics.ObservableEntity
addPin, getInterface, getPin
 
Methods inherited from class modhelxs.abstractsemantics.NamedEntity
getName, getProperties, getProperty, hasProperty, removeProperty, setName, setProperties, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface modhelxs.ecore.Block
getParent
 
Methods inherited from interface modhelxs.ecore.ObservableEntity
getInterface
 
Methods inherited from interface modhelxs.ecore.NamedEntity
getName, getProperties, setName
 

Constructor Detail

PlainManagedInterfaceBlock

public PlainManagedInterfaceBlock(java.lang.String name,
                                  Model<?> model,
                                  java.lang.Object... properties)
Method Detail

doStartOfSnapshot

public void doStartOfSnapshot()
Description copied from class: ManagedInterfaceBlock
The start of snapshot behavior of the block.

Specified by:
doStartOfSnapshot in class ManagedInterfaceBlock

doPreSetup

public void doPreSetup()
Description copied from class: ManagedInterfaceBlock
Some pre-setup behavior necessary for subclasses.

Specified by:
doPreSetup in class ManagedInterfaceBlock

doReset

public void doReset()
Description copied from class: ManagedInterfaceBlock
The reset behavior of the interface block.

Specified by:
doReset in class ManagedInterfaceBlock

shouldUpdateModel

public boolean shouldUpdateModel()
Description copied from class: ManagedInterfaceBlock
Should the internal model be updated.

Specified by:
shouldUpdateModel in class ManagedInterfaceBlock

doEndOfSnapshot

public void doEndOfSnapshot()
Description copied from class: ManagedInterfaceBlock
The endOfSnapshot behavior of the interface block.

Specified by:
doEndOfSnapshot in class ManagedInterfaceBlock