isAtom | returns true/false |
isFolder | returns true/false |
name | returns name of the component |
pathName | returns pathname of the component |
parent | returns the hierarcically superordinated component |
root | returns the root component |
copy | returns a copy of the component |
storeString | returns storeString of the component |
sixxString | returns sixxString of the component |
componentNames | returns a list of subcomponents |
componentNamed: n | returns the subcomponent named n |
addComponent: c named: n | adds the subcomponent c under the name named n |
removeComponentNamed: n | removes subcomponent named n |
renameComponentNamed: n1 to: n2 | renames component named n1 to n2 |
addComponents: a | adds subcomponents; a is an array of associations name-component |
removeComponents: a | removes subcomponents; a is an array component names |
addSlot: n withValue: v | adds a slot named n with vaule v |
addSlots: a | adds slots; a is an array of associations name-value |
addMethod: code | adds method; iths message selector is part of code; code is string |
addDelegate: n withValue: v | adds delegate (trait) v named n |
addDelegates: a | adds delegates; a is an array of associations name-delegate |
removeSlot: n | removes slot named n |
removeSlots: a | removes slots; a is an array of slot names |
removeMethod: n | removed method with message selector n |
removeDelegate: n | removes delegate slot named n |
removeDelegates: a | removes delegates; a is an array of delegate names |
slotNames | returns slot names |
methodNames | returns method names (message selectors) |
delegateNames | returns delegate names |
slotValueAt: n | returns value of slot n (also available by sending n to the object) |
methodSourceAt: n | returns source code of method with message selctor n |
delegateAt: n | returns delegate named n |
comment: aString | sets comment (not implemented here) |
comment | returns comment (not implemented here) |
inputPortNames | returns array of names of input ports |
outputPortNames | returns array of names of output ports |
addInputPortNamed: n | adds input port named n |
addOutputPortNamed: n | adds output port named n |
renameInputPortNamed: n1 to: n2 | renames input port n1 to n2 |
renameOutputPortNamed: n1 to: n2 | renames output port n1 to n2 |
removeInputPortNamed: n | removes input port named n |
removeOutputPortNamed: n | removed output port named n |
rootSolver | returns root solver of the model or nil if no root solver is attached |
getSimulatorRT | wraps the model to a rootSolver; returns the rootSolver |
beVerbose: truefalse | sets whether to log events of the component |
deepVerbose: truefalse | sets whether to log events of the component and all its eventual subcomponents |
reset | initializes model and its simulation-related metadata |
self peekFrom: p | returns a value of p or nil, usable only by extTranition |
self poke: v to: p | pokes value v to port p, usable only by outputFnc |
self elapsed | returns time elapsed since last event |
self remaining | returns time remainig to the next scheduled event |
self slotname: v | sets value of slot |
self slotname | returns value of slot |
self reportStream | returns reportStream (a stream for log) |
self signalStateEvent | asynchronously signals to the rootSolver that the component needs to be stepped (intended for external world interface components) |
couplings | returns aCouplingSpecification; aCouplingSpecification is a collection of associations from->to where from and to are tuples (componentName, portName); symbol #self is also valid componentName |
addCouplings: aCouplingSpecification | adds couplings |
removeCouplings: aCouplingSpecification | removes couplings |
positions | returns a dictionary of component positions (used by GUI) |
positions: p | sets positions of components; p is a dictionary of component positions |
stopTime | returns stop time |
stopTime: t | sets stop time |
isRunning | returns true if simulation is running |
start | starts simulation |
stop | stops simulation |
reset | stops and initializes simulation |
doOneStep | makes one step of simulation |
asyncStopTime:, asyncStart, asyncStop, asyncReset, asyncStep | asynchronous simulation control (action is perforned in a separate thread without waiting) |
rootDEVS | returns root component of the model |
rootDEVS: m | attaches model to the simulator |
rtFactor | returns RT factor |
rtFactor: n | sets RT factor; 0 indicates no RT factor - fast simulation mode |
asyncRtFactor: n | asyncronous variant |
reportStream: s | sets reportStream (log) |
beVerbose: truefalse | sets whether to log events of the component |
deepVerbose: truefalse | sets whether to log events of the component and all its eventual subcomponents |
addTokens: aBagOfTokens | adds tokens to the place (tokens are arbitrary serializable objects) |
removeTokens: aBagOfTokens | removes tokens from the place |
testTokens: aBagOfTokens | tests availability if tokens in the place |
removeAllTokens | removes all tokens from the place |
contents | returns a bag of tokens |
contents: aBagOfTokens | sets contents of the place |
preconditions: aConditionSpecification | sets the trancition precondoitions. aConditionSpecification is a set of associations placeName -> code where code is a multiset specification, e.g. 3`x+n`y |
conditions: aConditionSpecification | sets the trancition conditions |
postconditions: aConditionSpecification | sets the trancition postconditions |
guard: code | sets guard of the transition (code is a string) |
action: code | sets action of the transition (code is a string) |
preconditions | returns aConditionSpecification |
conditions | returns aConditionSpecification |
postconditions | returns aConditionSpecification |
guard | returns a code of the guard of the transition (code is a string) |
action | returns a code of the action of the transition (code is a string) |
parametres: parametersSpecification | parametersSpecification is a string containg names of parameters separated by spaces |
parametres | returns parametersSpecification |