T - The type of the events in the statechartU - The type of the value of the variablepublic class StatechartVariableAtom<T extends Event,U> extends ConcreteValue<T,U>
| Modifier and Type | Field and Description |
|---|---|
protected Statechart<T> |
m_statechart
The statechart in which to fetch the value
|
protected java.lang.String |
m_variableName
The name of the statechart variable
|
| Constructor and Description |
|---|
StatechartVariableAtom(java.lang.String var_name,
Statechart<T> statechart)
Creates a new statechart variable atom
|
| Modifier and Type | Method and Description |
|---|---|
U |
getValue(T structure)
Fetches the value on this structure
|
java.lang.String |
toString() |
protected java.lang.String m_variableName
protected Statechart<T extends Event> m_statechart
public StatechartVariableAtom(java.lang.String var_name,
Statechart<T> statechart)
var_name - The name of the statechart variablestatechart - The statechart in which to fetch the valuepublic U getValue(T structure)
ConcreteValuegetValue in class ConcreteValue<T extends Event,U>structure - The structurepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © Sylvain HallĂ©. All Rights Reserved.