|
||||||||||
| 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.AtomicBlock
public abstract class AtomicBlock
A block without an explicit ModHel'X model (opaque behavior).
| Constructor Summary | |
|---|---|
AtomicBlock(java.lang.String name)
|
|
AtomicBlock(java.lang.String name,
java.lang.Object... properties)
|
|
| Method Summary | |
|---|---|
void |
emitObservationRequests()
Emit observation request for future snapshots by creating ticks on clocks. |
void |
endOfSnapshot()
End of the observation round, the observable can update its internal state. |
void |
endOfUpdate()
End of a partial update (produce partial outputs to the outer model). |
void |
prep()
Initialize the entity. |
void |
reset()
Reset the computation of the outputs and next state for the current snapshot. |
void |
setup()
Prepare for the simulation. |
void |
startOfSnapshot()
Start a new snapshot (observation round). |
void |
startOfUpdate()
Start a partial update (get partial inputs from the outer model). |
boolean |
validate()
Validate the computation of the observation. |
void |
wrapup()
Cleanup at the end of the simulation. |
| Methods inherited from class modhelxs.abstractsemantics.Block |
|---|
connect, connectFromInterfaceBlock, connectFromModel, connectFromRegularBlock, getEngine, getInputPins, getMoC, getOutputPins, getParent, getSolver, getTimeOfRequest, hasObservationRequest, sanityCheck, setParent |
| Methods inherited from class modhelxs.abstractsemantics.ObservableEntity |
|---|
addPin, getInterface, getPin, update |
| 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 AtomicBlock(java.lang.String name)
public AtomicBlock(java.lang.String name,
java.lang.Object... properties)
| Method Detail |
|---|
public void prep()
ObservableEntity
prep in class ObservableEntitypublic void setup()
ObservableEntity
setup in class ObservableEntitypublic void startOfSnapshot()
ObservableEntity
startOfSnapshot in class ObservableEntitypublic void reset()
ObservableEntity
reset in class ObservableEntitypublic void startOfUpdate()
ObservableEntity
startOfUpdate in class ObservableEntitypublic void endOfUpdate()
ObservableEntity
endOfUpdate in class ObservableEntitypublic boolean validate()
ObservableEntity
validate in class ObservableEntitypublic void endOfSnapshot()
ObservableEntity
endOfSnapshot in class ObservableEntitypublic void emitObservationRequests()
ObservableEntity
emitObservationRequests in class ObservableEntitypublic void wrapup()
ObservableEntity
wrapup in class ObservableEntity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||