|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmodhelxs.abstractsemantics.NamedEntity
modhelxs.abstractsemantics.ObservableEntity
modhelxs.abstractsemantics.Block
modhelxs.abstractsemantics.InterfaceBlock
modhelxs.state_management.ManagedInterfaceBlock
demos.semantic_adaptation.DE_SDF_DumbInterfaceBlock
public class DE_SDF_DumbInterfaceBlock
A dumb interface block between DE and SDF. This interface block ignore the specificities of DE and SDF. It simply copies the value of DE input events to SDF data samples and updates its internal model each time it is updated. On output, each data sample produced by the SDF model is transformed into a DE event.
| Constructor Summary | |
|---|---|
DE_SDF_DumbInterfaceBlock(java.lang.String name,
Model<Unit> internalModel,
java.lang.Object... properties)
|
|
| Method Summary | |
|---|---|
void |
adaptIn()
Adapt data, time and control from the outer model to the inner one. |
void |
adaptOut()
Adapt data, time and control from the inner model to the outer one. |
void |
doEndOfSnapshot()
The endOfSnapshot behavior of the interface block. |
void |
doGhostUpdate()
The update behavior of the interface block when the internal model is not updated. |
void |
doPostUpdate()
The update behavior of the interface block after updating the internal model. |
void |
doPreSetup()
Some pre-setup behavior necessary for subclasses. |
void |
doPreUpdate()
The update behavior of the interface block before updating the internal model. |
void |
doReset()
The reset behavior of the interface block. |
void |
doSetup()
The setup behavior of the 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 |
|---|
endOfSnapshot, endOfUpdate, initFromProperties, internalWasUpdated, reset, setup, startOfSnapshot, startOfUpdate, update, wasUpdated |
| Methods inherited from class modhelxs.abstractsemantics.InterfaceBlock |
|---|
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 |
|---|
public DE_SDF_DumbInterfaceBlock(java.lang.String name,
Model<Unit> internalModel,
java.lang.Object... properties)
| Method Detail |
|---|
public void doPreSetup()
ManagedInterfaceBlock
doPreSetup in class ManagedInterfaceBlockpublic void doSetup()
ManagedInterfaceBlock
doSetup in class ManagedInterfaceBlockpublic void doStartOfSnapshot()
ManagedInterfaceBlock
doStartOfSnapshot in class ManagedInterfaceBlockpublic void doReset()
ManagedInterfaceBlock
doReset in class ManagedInterfaceBlockpublic void adaptIn()
InterfaceBlock
adaptIn in class InterfaceBlockpublic boolean shouldUpdateModel()
ManagedInterfaceBlock
shouldUpdateModel in class ManagedInterfaceBlockpublic void doPreUpdate()
ManagedInterfaceBlock
doPreUpdate in class ManagedInterfaceBlockpublic void doPostUpdate()
ManagedInterfaceBlock
doPostUpdate in class ManagedInterfaceBlockpublic void doGhostUpdate()
ManagedInterfaceBlock
doGhostUpdate in class ManagedInterfaceBlockpublic void adaptOut()
InterfaceBlock
adaptOut in class InterfaceBlockpublic void doEndOfSnapshot()
ManagedInterfaceBlock
doEndOfSnapshot in class ManagedInterfaceBlock
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||