Instance of an action.
More...
Inherits org.lflang.generator.TriggerInstance< Action >.
Instance of an action.
- Author
- Edward A. Lee
-
Marten Lohstroh
◆ ActionInstance()
| org.lflang.generator.ActionInstance.ActionInstance |
( |
Action | definition, |
|
|
ReactorInstance | parent ) |
Create a new action instance.
If the definition is null, then this is a shutdown action.
- Parameters
-
| definition | The AST definition, or null for startup. |
| parent | The parent reactor. |
◆ builtinTrigger()
Construct a new instance for a special builtin trigger.
- Parameters
-
| trigger | The actual trigger definition. |
| parent | The reactor instance that creates this instance. |
◆ getDependentReactions()
Return the reaction instances that are triggered or read by this trigger.
If this port is an output, then the reaction instances belong to the parent of the port's parent. If the port is an input, then the reaction instances belong to the port's parent.
◆ getDependsOnReactions()
Return the reaction instances that may send data via this port or action.
If this is an input port, then the reaction instance belongs to parent of the port's parent. If it is an output port, the reaction instance belongs to the port's parent. If it is an action, then the reaction belongs to the same parent as that of this action.
◆ getMinDelay()
| TimeValue org.lflang.generator.ActionInstance.getMinDelay |
( |
| ) |
|
Return the minimum delay for this action.
◆ getMinSpacing()
| TimeValue org.lflang.generator.ActionInstance.getMinSpacing |
( |
| ) |
|
Return the minimum spacing between action events.
◆ getName()
Return the name of this trigger.
- Returns
- The name of this trigger.
◆ getPolicy()
| String org.lflang.generator.ActionInstance.getPolicy |
( |
| ) |
|
Return the replacement policy for when minimum spacing is violated.
◆ isPhysical()
| boolean org.lflang.generator.ActionInstance.isPhysical |
( |
| ) |
|
Return the indicator of whether the action is physical.
◆ isReset()
Return true if this trigger is "startup".
/
◆ isShutdown()
Return true if this trigger is "shutdown".
◆ isStartup()
Return true if this trigger is "startup".
/
◆ DEFAULT_MIN_DELAY
The constant default for a minimum delay.
◆ dependentReactions
Reaction instances that are triggered or read by this trigger.
If this port is an output, then the reaction instances belong to the parent of the port's parent. If the port is an input, then the reaction instances belong to the port's parent.
◆ dependsOnReactions
Reaction instances that may send data via this port or action.
If this is an input port, then the reaction instance belongs to parent of the port's parent. If it is an output port, the reaction instance belongs to the port's parent. If it is an action, then the reaction belongs belongs to the same parent as this action.
The documentation for this class was generated from the following file:
- /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/generator/ActionInstance.java