Event graph
Creation of multiple event paths
Last updated
Was this helpful?
Creation of multiple event paths
Last updated
Was this helpful?
The goal is to create many unique execution paths where a node is invoked only if it is on the active execution path.
The annotation marks a method to be included in the execution graph as per the description. In this case we want to create a graph containing multiple execution paths. The uniqueness of an execution path is defined as the compound value of event type and filter value.
For Fluxtion ESC there is no difference between a graph and a pipeline, the use of determines what the structure is. Similarly for the programmer there is no change in the annotations used, only the creation of a rich object model in the builder is required. Once an object graph is provided to Fluxtion it will generate a SEP with multiple execution paths.
This example creates a processing graph using the builder below. The Combiner node has multiple parents and is on a separate path to the pipeline/child nodes for incoming events of type MyEvent. This described network has multiple execution paths in the execution graph.
The code for the graph example is located .
The generated SEP creates a dispatch method for each incoming event, each with its own unique execution path.
The graphical representation of this execution graph as generated by Fluxtion ESC: