...
- Question: what does isAvailable() mean in case of multiple consumers. Do all consumers need to have the same time(s)?
- Leave in for now, review after more implementation, one suggestion of modification bool isAvailable(whosAsking);
- Will be discussed later during the meeting, Stef will show an example of using isAvailable(whosAsking);
- Related: The code:
Code Block | ||||
---|---|---|---|---|
| ||||
while (!providingOutputItem.IsAvailable(consumerThatIsAsking)) {
providingOutputItem.Component.Update(providingOutputItem);
}
values = providingOutputItem.Values;
|
is actually representing the original 1.4 GetValues() call. So it might be wise, to put emphasis again on the still working 'pull approach', introduce this getValues() call:
Code Block | ||||
---|---|---|---|---|
| ||||
values = providingOutputItem.GetValues(consumerThatIsAsking);
|
Will be discussed later during the meeting, Stef will show an example of using isAvailable(whosAsking);
- We will introduce a boolean argument that indicates whether the component should run in a pull mode (like in OpenMI 1.4) or in loop mode
: Discuss component operation mode here - comment from Peter Gijsbers need to be discussed
- "string Validate()" / "bool IsValid(IExchangeItem item)" / "IsAvailable()", etc.
- to be reviewed at this meeting
- When we get loops in the compositions - we have to tell which component will be first! In the new GUI, we will let the user indicate the 'Start up component'.
...