T - The type of events in the statechartU - The type of the state variable to modifypublic class SetVariableTo<T extends Event,U> extends VariableAssignment<T,U>
| Modifier and Type | Field and Description |
|---|---|
protected U |
m_value
The value to give to the variable
|
m_variableName| Constructor and Description |
|---|
SetVariableTo(java.lang.String var_name,
U value) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(T event,
Transition<T> transition,
Statechart<T> statechart)
Executes the action
|
java.lang.String |
toString() |
protected final U m_value
public SetVariableTo(java.lang.String var_name,
U value)
public void execute(T event, Transition<T> transition, Statechart<T> statechart)
Actionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © Sylvain HallĂ©. All Rights Reserved.