|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Variable
A representation of the model object 'Variable'. A Variable is a data object that may be used for internal calculations. It is not directly intended for communication with concurrent program parts. Variables may be overridden multiple times within one synchronous tick. Hence writing a signal in concurrent program parts is not allowed. Therefore Variables, unlike Signals, do not need a combine strategy.
A Variable always carries a value and therefore needs a proper type. A Variable may be tagged to be a constant by the const attribute and then the value is given by the initialValue.
Due to the restrictions in broadcast communication, the usage of Variables is discouraged everywhere where Signals could be used instead.
The following features are supported:
KExpressionsPackage.getVariable()
Method Summary | |
---|---|
boolean |
isConst()
Returns the value of the 'Const' attribute. |
void |
setConst(boolean value)
Sets the value of the ' Const ' 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 isConst()
If the meaning of the 'Const' attribute isn't clear, there really should be more of a description here...
setConst(boolean)
,
KExpressionsPackage.getVariable_Const()
required | = | true |
void setConst(boolean value)
Const
' attribute.
value
- the new value of the 'Const' attribute.isConst()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |