Skip to content

(IActivitySequencer): retrieve more data on update

What does this MR do?

The sequencer allows to store all data related to all activities in a member called requirements. When the sequencer checks an activity for the first time, it'll create it and add all it's needed data that already exist in the requirement list into the activity composite.

If we have two activities A1 and A2, A1 needs an image called CT and A2 needs the same image, and also a matrix MA created by A1.

You launch A1 after adding its needed data in the wizard (CT), at this time, the sequencer stores CT in its requirements list.

So A1 is open, the sequencer will check if needed data for A2 have been loaded (Allows to enable a button in the view). To do that, A2 is created and the sequencer adds the CT into the composite of A2, but MA is missing, nothing is launched.

Now A1 has created the matrix MA and asks the sequencer to open the next activity, A2. The sequencer checks needed data, but A2 is created, and the sequencer only updates data that are contained in the composite of A2.

  • These modifications allow to update data and also to add potential new data generated by a previous activity (IActivitySequencer::getActivity).
  • Now, before checking a next activity, the sequencer stores data of the current one (the current one has maybe created a new data).
  • IActivitySequencer::parseActivities returns the last valid activity. Before modifications, the next one was launched.

How to test it?

  • Check any app that use activity or a sequencer.

Associated Issues/Merge Requests

Edited by Caroline TROMPF

Merge request reports