Abstract Node Condition
Base implementation of a Condition evaluated on a target targetNode, owned by a reaction with any host.
When cloned, a condition targeting the host of its reaction targets the host of the new reaction, which must be a node; a condition targeting any other node keeps its target.
Inheritors
Properties
The live validity of this condition.
The reaction owning this condition. Its Reaction.host is the model entity hosting the condition, which may differ from the node it targets, if any.
Functions
Signals that the owning reaction is about to fire. Used to implement conditions latched to changes that occur in-between reaction executions.
Creates an equivalent condition owned by newReaction, such as a reaction cloned onto a new node. A condition targeting the host of its reaction targets the host of newReaction, which must then be a Node; a condition targeting any other node keeps its target.