1using System.Threading.Tasks;
23 public abstract string Label {
get; }
43 return Task.CompletedTask;
65 return Task.FromResult(
true);
Contains information about an event handler reference
Contains information required for evaluating script in a state-machine.
Represents an event definition.
Abstract base class for State-Machine event nodes.
abstract Task< EventHandlerReference > Register(int EventIndex, EvaluationArguments Arguments, OnEvent Event)
Registers the event
abstract string Label
UML Label for event.
virtual Task< bool > Applies(EvaluationArguments Arguments)
If the event node applies to the current context.
virtual Task< EventHandlerReference > StateUpdated(EvaluationArguments Arguments)
Method called when the internal state of the state-machine has been updated.
virtual Task Unregister(int EventIndex, EvaluationArguments Arguments)
Unregisters the event
EventNode()
Abstract base class for State-Machine event nodes.
Abstract base class for State-Machine nodes.
Action executed when entering a state.