|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Signal
A representation of the model object 'Signal'. A Signal is the first-class data object in synchronous languages used for communication. Signals extend ValuedObject and therefore have a name and may carry a value. A Signal can be part of a module's interface and therefore be an input, an output (or even both). If a Signal is neither input nor output, it is considered to be a local signal with a limited scope not visible to the outside.
As the value of a Signal is unique in one tick, the interpreter needs to know how to handle multiple emissions of the same Signal in a tick. Therefore a combineOperator can be set. Such operator needs to be commutative. It can be chosen from a pre-defined enumeration or by a String referencing a function in the target language (e.g. a C or Java function name that has exactly two parameters and produces one combined result of the corresponding data type).
The following features are supported:
KExpressionsPackage.getSignal()
Method Summary | |
---|---|
CombineOperator |
getCombineOperator()
Returns the value of the 'Combine Operator' attribute. |
String |
getHostCombineOperator()
Returns the value of the 'Host Combine Operator' attribute. |
boolean |
isIsInput()
Returns the value of the 'Is Input' attribute. |
boolean |
isIsOutput()
Returns the value of the 'Is Output' attribute. |
void |
setCombineOperator(CombineOperator value)
Sets the value of the ' Combine Operator ' attribute. |
void |
setHostCombineOperator(String value)
Sets the value of the ' Host Combine Operator ' attribute. |
void |
setIsInput(boolean value)
Sets the value of the ' Is Input ' attribute. |
void |
setIsOutput(boolean value)
Sets the value of the ' Is Output ' attribute. |
Methods inherited from interface de.cau.cs.kieler.core.kexpressions.ValuedObject |
---|
getHostType, getInitialValue, getName, getType, setHostType, setInitialValue, setName, setType |
Methods inherited from interface de.cau.cs.kieler.core.annotations.Annotatable |
---|
getAllAnnotations, getAnnotation, getAnnotations, removeAllAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
boolean isIsInput()
If the meaning of the 'Is Input' attribute isn't clear, there really should be more of a description here...
setIsInput(boolean)
,
KExpressionsPackage.getSignal_IsInput()
required | = | true |
void setIsInput(boolean value)
Is Input
' attribute.
value
- the new value of the 'Is Input' attribute.isIsInput()
boolean isIsOutput()
If the meaning of the 'Is Output' attribute isn't clear, there really should be more of a description here...
setIsOutput(boolean)
,
KExpressionsPackage.getSignal_IsOutput()
required | = | true |
void setIsOutput(boolean value)
Is Output
' attribute.
value
- the new value of the 'Is Output' attribute.isIsOutput()
CombineOperator getCombineOperator()
CombineOperator
.
If the meaning of the 'Combine Operator' attribute isn't clear, there really should be more of a description here...
CombineOperator
,
setCombineOperator(CombineOperator)
,
KExpressionsPackage.getSignal_CombineOperator()
required | = | true |
void setCombineOperator(CombineOperator value)
Combine Operator
' attribute.
value
- the new value of the 'Combine Operator' attribute.CombineOperator
,
getCombineOperator()
String getHostCombineOperator()
If the meaning of the 'Host Combine Operator' attribute isn't clear, there really should be more of a description here...
setHostCombineOperator(String)
,
KExpressionsPackage.getSignal_HostCombineOperator()
void setHostCombineOperator(String value)
Host Combine Operator
' attribute.
value
- the new value of the 'Host Combine Operator' attribute.getHostCombineOperator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |