textual-notation-of-model/packages/features/hmi/hmi_display_functional_architecture.sysml
5 view(s) · 121 declared member(s) Jump to source ↓
view hmiDisplayFunctionBreakdownViewsource ↓
| Viewpoint | selected (System |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | hmi |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view hmiDisplayRequirementFunctionMatrixViewsource ↓
| Viewpoint | selected (System |
|---|---|
| View type | MVD:: |
| Framed concerns |
|
| Exposes | reqreqreqreqreqreqreqreqreqreqhmihmihmihmihmiDE4 |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view hmiDisplaySystemProcessViewsource ↓
| Viewpoint | selected (System |
|---|---|
| View type | Action |
| Framed concerns |
|
| Exposes | HmiHmiHmiHmiHmiHmi |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view hmiDisplayStateTableViewsource ↓
| Viewpoint | selected (System |
|---|---|
| View type | TVD:: |
| Framed concerns |
|
| Exposes | ElementElementCollisionCollisionCollision |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view hmiDisplayFunctionalInterfaceViewsource ↓
| Viewpoint | selected (System |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | DisplayDisplayDisplayDisplayDisplay |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
Source
1/*2 * DE4SDV HMI display functional architecture.3 *4 * INC-HMI-001, phase 6: the functions of the HMI display and the requirements5 * of phase 5 each carries. Five functions record the display identity, draw6 * the scene, judge the currency of what the display shows, show the content7 * and give the collision warning. Every requirement but REQ-HMI-009 is8 * allocated to a function. REQ-HMI-009 constrains which elements draw the9 * scene, the vehicle speed and the warning, and the paths that bring them10 * their inputs, not what a function does: phase 8 carries it by the elements11 * that it places, and the inspection of the realization that phase 8 records12 * verifies it. An allocation assigns responsibility only (allocatedTo); it13 * asserts no satisfaction. No logical element, platform, transport or14 * technology is chosen, and no safety claim is made.15 *16 * The drawing of the scene stands apart from the other functions: they take17 * nothing from it but the scenes that it has drawn, and the function that18 * gives the warning takes nothing from it at all. An outage of the drawing of19 * the scene or of the environment that hosts it is therefore an event inside20 * the HMI display that stops the drawn scenes and leaves the vehicle speed and21 * the warning going: judgeCurrency finds the scene outdated by the term22 * current, and showContent shows it as outdated until the drawing gives a23 * current scene again.24 *25 * The display in operation is a process, not a second architecture: the26 * candidate gives the scene and the warning request, the command and warning27 * path carries the warning request to the display, the vehicle gives its28 * speed, and the driver supervises the system with what the display shows and29 * gets the collision warning. Those are functions of the context elements,30 * outside the scope of the display, and HmiDisplaySystemProcess runs the31 * display as one action between them, with the times from the start of a32 * request to each mode of the warning. Its participants are the parts of the33 * one operational context of phase 2, bound by reference. The functions whose34 * behavior differs by state depend on the states of ElementCurrency and35 * CollisionWarningStates, and the conceptual interfaces of the display are the36 * ports of HmiDisplayFunctionalBoundary, whose items specialize the items of37 * phase 2. No vehicle signal specification is imported or used anywhere in38 * this package: the interface items are conceptual, their quantities are ISQ39 * quantity values, and the signal typing of an interface starts in phase 8.40 * The functions state what the display has to do, not what any element does at41 * an inspected revision; phase 8 maps them to its software.42 */4344package DE4SDV_HmiDisplayFunctionalArchitecture {45 private import DE4SDV_Stakeholders::*;46 private import DE4SDV_TraceVocabulary::AllocatableFunction;47 private import DE4SDV_HmiDisplayFraming::hmiDisplayInputsConcern;48 private import DE4SDV_HmiDisplayFraming::hmiWarningSequenceConcern;49 private import DE4SDV_HmiDisplayFraming::hmiContentCurrencyConcern;50 private import DE4SDV_HmiDisplayFraming::hmiAndroidOutageConcern;51 private import DE4SDV_HmiDisplayFraming::HmiDisplaySystem;52 private import DE4SDV_HmiDisplayOperationalContext::PerceivedScene;53 private import DE4SDV_HmiDisplayOperationalContext::HmiDisplayContent;54 private import DE4SDV_HmiDisplayOperationalContext::hmiDisplayOperationalContext;55 private import DE4SDV_DriverAssistanceFraming::DriverAssistanceSystem;56 private import DE4SDV_OperationalContext::SubjectVehicle;57 private import DE4SDV_OperationalContext::Driver;58 private import DE4SDV_DriverAssistanceOperationalContext::VehicleSpeed;59 private import DE4SDV_DriverAssistanceOperationalContext::WarningRequest;60 private import DE4SDV_DriverAssistanceOperationalContext::CollisionWarning;61 private import DE4SDV_DriverAssistanceOperationalContext::SCORECommandAndWarningPath;62 private import DE4SDV_DriverAssistanceFunctionalArchitecture::VehicleSpeedInput;63 private import DE4SDV_DriverAssistanceFunctionalArchitecture::CollisionWarningRequestOutput;64 private import DE4SDV_HmiDisplayNeedsRequirements::*;65 private import ScalarValues::Boolean;66 private import SAF_Viewpoints::*;67 private import StandardViewDefinitions::*;68 private import SysideViews::**;69 private import Views::*;7071 /* Items the functions exchange inside the HMI display */7273 item def DisplayIdentityRecord {74 doc /*75 * The record of the display identity of one run, made before the first76 * frame of the HMI display on the display in that run.77 */78 }7980 item def DrawnScene {81 doc /*82 * A scene as the drawing of the scene shows it, with the time of that83 * scene. The drawing gives one for each scene that it draws, and none84 * while it, or the environment that hosts it, is out.85 */86 }8788 item def ContentCurrency {89 doc /*90 * Whether each element, the scene as drawn and the vehicle speed, and the91 * warning request is current or outdated by the term current, as92 * judgeCurrency judges it.93 */94 }9596 /* The functions of the context elements of phase 2 */9798 action def HmiDisplayContextFunction {99 doc /*100 * A behavior of a context element of phase 2 while the HMI display101 * operates. It is outside the scope of the HMI display: the display does102 * not provide it and no requirement of phase 5 is allocated to it.103 */104 }105106 action def GiveSceneAndWarningRequest :> HmiDisplayContextFunction {107 doc /*108 * The candidate: gives the scene of each result pass with its time, and109 * the warning request of each plan with its issue time, as the110 * driver-assistance increment defines the request, both every 0.1 s of111 * simulation time. At the inspected revision it gives no scene at its112 * boundary (gapHmiSceneOutput).113 */114 out perceivedScene : PerceivedScene;115 out warningRequest : WarningRequest;116 }117118 action def CarryWarningRequestToDisplay :> HmiDisplayContextFunction {119 doc /*120 * The command and warning path: carries the warning request to the121 * boundary of the HMI display, with no exchange beside it.122 */123 in warningRequest : WarningRequest;124 out carriedWarningRequest : WarningRequest;125 }126127 action def GiveVehicleSpeed :> HmiDisplayContextFunction {128 doc /*129 * The vehicle: gives its speed with each world snapshot, every step of130 * 0.05 s of simulation time, with its sample time. Which element of System131 * 1 brings it to the display is for the architecture phases.132 */133 out vehicleSpeed : VehicleSpeed;134 }135136 action def SuperviseWithTheDisplay :> HmiDisplayContextFunction {137 doc /*138 * The driver: supervises the driver-assistance system with what the HMI139 * display shows, and gets the collision warning on the display and as a140 * sound; nothing flows back to the display.141 */142 in shownContent : HmiDisplayContent;143 in collisionWarning : CollisionWarning;144 }145146 /* Functions */147148 action def RecordDisplayIdentity :> AllocatableFunction {149 doc /*150 * Records the display identity of the HMI display before its first frame151 * on the display in each run, so that each verdict binds the display that152 * ran.153 */154 out identityRecord : DisplayIdentityRecord;155 }156157 action def DrawScene :> AllocatableFunction {158 doc /*159 * Draws each scene that reaches the HMI display, or a newer one, as the160 * driver-assistance system gives it, with the object that the system acts161 * on, when the scene has one, as an element of its own with its distance162 * to the whole metre and the speed of the closest object to the whole163 * km/h. It gives each scene that it draws with the time of that scene, and164 * none while it, or the environment that hosts it, is out.165 */166 in perceivedScene : PerceivedScene;167 out drawnScene : DrawnScene;168 }169170 action def JudgeCurrency :> AllocatableFunction {171 doc /*172 * Judges, by the term current, whether each element, the scene as drawn173 * and the vehicle speed, and the warning request is current or outdated.174 * It judges from the times of the values that reach the HMI display, from175 * when the newest value of each input reached it, and, for the scene, from176 * the drawn scenes, which stop while the drawing of the scene or the177 * environment that hosts it is out. It takes nothing else from the drawing178 * of the scene, so it goes on through each such outage.179 */180 in perceivedScene : PerceivedScene;181 in vehicleSpeed : VehicleSpeed;182 in warningRequest : WarningRequest;183 in drawnScene : DrawnScene;184 out contentCurrency : ContentCurrency;185 }186187 action def ShowContent :> AllocatableFunction {188 doc /*189 * Shows on the HMI display, within the presentation time, the drawn scene190 * and the vehicle speed to the whole km/h. It shows each element as191 * outdated while, and only while, it is outdated, the scene included while192 * its drawing is out. It shows that the collision warning is unavailable193 * while, and only while, the warning request is outdated. It takes nothing194 * from the drawing of the scene but the drawn scenes, so it goes on195 * through each outage of that drawing or of the environment that hosts it.196 */197 in drawnScene : DrawnScene;198 in vehicleSpeed : VehicleSpeed;199 in contentCurrency : ContentCurrency;200 out shownContent : HmiDisplayContent;201 }202203 action def GiveCollisionWarning :> AllocatableFunction {204 doc /*205 * Gives the collision warning on the HMI display and as a sound while, and206 * only while, the warning request asks for it. Each mode starts within 0.1207 * s of wall-clock time after the start of a request reaches the display,208 * and follows each change of the asking within the presentation time. It209 * takes nothing from the drawing of the scene, so it goes on through each210 * outage of that drawing or of the environment that hosts it.211 */212 in warningRequest : WarningRequest;213 in contentCurrency : ContentCurrency;214 out collisionWarning : CollisionWarning;215 }216217 /* The functional breakdown of the HMI display */218219 action def HmiDisplayFunctionalFlow {220 doc /*221 * The HMI display broken into its functions, and the items they exchange.222 * The scene and the warning request come from the candidate, the warning223 * request over the command and warning path, and the vehicle speed from224 * the vehicle. What the display shows and the collision warning go to the225 * driver. Only the content of showContent leaves as what the display226 * shows, and only the warning of giveWarning as the collision warning. The227 * display identity is recorded before the display gives its first frame.228 */229 in item perceivedScene : PerceivedScene;230 in item vehicleSpeed : VehicleSpeed;231 in item warningRequest : WarningRequest;232 out item shownContent : HmiDisplayContent;233 out item collisionWarning : CollisionWarning;234235 action recordDisplayIdentity : RecordDisplayIdentity {236 out identityRecord;237 }238239 action drawScene : DrawScene {240 in perceivedScene = HmiDisplayFunctionalFlow::perceivedScene;241 out drawnScene;242 }243 first recordDisplayIdentity then drawScene;244245 action judgeCurrency : JudgeCurrency {246 in perceivedScene = HmiDisplayFunctionalFlow::perceivedScene;247 in vehicleSpeed = HmiDisplayFunctionalFlow::vehicleSpeed;248 in warningRequest = HmiDisplayFunctionalFlow::warningRequest;249 in drawnScene;250 out contentCurrency;251 }252 flow from drawScene.drawnScene to judgeCurrency.drawnScene;253254 action showContent : ShowContent {255 in drawnScene;256 in vehicleSpeed = HmiDisplayFunctionalFlow::vehicleSpeed;257 in contentCurrency;258 out shownContent = HmiDisplayFunctionalFlow::shownContent;259 }260 flow from drawScene.drawnScene to showContent.drawnScene;261 flow from judgeCurrency.contentCurrency to showContent.contentCurrency;262 first recordDisplayIdentity then showContent;263264 action giveWarning : GiveCollisionWarning {265 in warningRequest = HmiDisplayFunctionalFlow::warningRequest;266 in contentCurrency;267 out collisionWarning = HmiDisplayFunctionalFlow::collisionWarning;268 }269 flow from judgeCurrency.contentCurrency to giveWarning.contentCurrency;270 first recordDisplayIdentity then giveWarning;271 }272273 action hmiDisplayFunctionalFlow : HmiDisplayFunctionalFlow;274275 /* The system process: the HMI display between the context elements */276277 action def HmiDisplaySystemProcess {278 doc /*279 * One run of the HMI display in operation, as a process. The participants280 * are the context parts of phase 2 themselves and the system of interest,281 * bound by reference: the process declares no part of its own, so the282 * increment has one context. Each participant owns and performs its283 * functions, as the swim lane of its functions: the candidate gives the284 * scene and the warning request, the command and warning path carries the285 * warning request to the display, and the vehicle gives its speed. The286 * display records its identity, draws the scene, judges the currency of287 * what it shows, shows the content and gives the warning, as one action of288 * the process. The driver supervises the system with what the display289 * shows and gets the collision warning. The functions of the context290 * elements are outside the scope of the HMI display; its functional scope291 * is the one functional flow usage it performs. The items that cross its292 * boundary are the flows of the process, each chained through the293 * participant that gives and the one that takes, and nothing flows back294 * from the driver.295 *296 * The sequence and its times: the candidate gives the scene and the297 * warning request every 0.1 s of simulation time, and the vehicle gives298 * its speed with each world snapshot, every step of 0.05 s. The299 * driver-assistance increment allots 0.2 s of wall-clock time from the300 * warning request at the boundary of the candidate to each mode of the301 * warning. The display starts each mode within 0.1 s of wall-clock time302 * after the start of a request reaches it, and the other 0.1 s lies before303 * its boundary, on the path, which the architecture phases of both304 * increments place. Phase 8 divides the 0.1 s of the display among its305 * elements. An outage of the drawing of the scene or of the environment306 * that hosts it is an event inside the display: the drawn scenes stop, and307 * the scene shows as outdated within the limits of the term current and308 * the presentation time from the last scene drawn, while the vehicle speed309 * and the warning go on. Once the drawing gives a current scene again, the310 * scene shows as current. No transport, display or sound technology is311 * fixed here.312 */313 ref part candidate : DriverAssistanceSystem = hmiDisplayOperationalContext::candidate {314 doc /*315 * The candidate of phase 2: gives the scene with its time and the316 * warning request with its issue time, every 0.1 s of simulation time.317 * At the inspected revision it gives no scene at its boundary318 * (gapHmiSceneOutput).319 */320 perform action giveSceneAndRequest : GiveSceneAndWarningRequest;321 }322323 ref part scorePath : SCORECommandAndWarningPath = hmiDisplayOperationalContext::scorePath {324 doc /*325 * The command and warning path of phase 2: carries the warning request326 * to the HMI display, with no exchange beside it. Of the 0.2 s of327 * wall-clock time that the driver-assistance increment allots from the328 * warning request at the boundary of the candidate to each mode of the329 * warning, 0.1 s lies before the boundary of the display, on this path,330 * and the architecture phases of both increments place it.331 */332 perform action carryRequest : CarryWarningRequestToDisplay;333 }334335 ref part vehicle : SubjectVehicle = hmiDisplayOperationalContext::vehicle {336 doc /*337 * The vehicle of phase 2: gives its speed with each world snapshot,338 * every step of 0.05 s of simulation time.339 */340 perform action giveSpeed : GiveVehicleSpeed;341 }342343 ref part hmiDisplay : HmiDisplaySystem = hmiDisplayOperationalContext::hmiDisplay {344 doc /*345 * The system of interest of phase 2: it performs its whole functional346 * flow, the one usage its functional boundary performs, and starts each347 * mode of the warning within 0.1 s of wall-clock time after the start of348 * a request reaches it; phase 8 divides that 0.1 s among its elements.349 * An outage of the drawing of the scene or of the environment that hosts350 * it is an event inside the display: the drawn scenes stop,351 * judgeCurrency finds the scene outdated by the term current, and352 * showContent shows it as outdated within the limits of that term and353 * the presentation time from the last scene drawn. Through the outage354 * the display goes on showing the vehicle speed, giving the warning355 * while the request asks for it, and showing the warning as unavailable356 * while the request is outdated.357 */358 perform hmiDisplayFunctionalFlow;359 }360361 ref part driver : Driver = hmiDisplayOperationalContext::driver {362 doc /*363 * The driver of phase 2: supervises the system with what the HMI display364 * shows and gets the collision warning; nothing flows back to the365 * display.366 */367 perform action supervise : SuperviseWithTheDisplay;368 }369370 flow from candidate.giveSceneAndRequest.perceivedScene to hmiDisplay.hmiDisplayFunctionalFlow.perceivedScene;371 flow from candidate.giveSceneAndRequest.warningRequest to scorePath.carryRequest.warningRequest;372 flow from scorePath.carryRequest.carriedWarningRequest to hmiDisplay.hmiDisplayFunctionalFlow.warningRequest;373 flow from vehicle.giveSpeed.vehicleSpeed to hmiDisplay.hmiDisplayFunctionalFlow.vehicleSpeed;374 flow from hmiDisplay.hmiDisplayFunctionalFlow.shownContent to driver.supervise.shownContent;375 flow from hmiDisplay.hmiDisplayFunctionalFlow.collisionWarning to driver.supervise.collisionWarning;376 }377378 action hmiDisplaySystemProcess : HmiDisplaySystemProcess;379380 /* States */381382 state def ElementCurrency {383 doc /*384 * The state of each element of the HMI display, the scene as drawn and the385 * vehicle speed, by the term current. Each element is in one of them on386 * its own, and is outdated from the start of each run until its first387 * current value.388 */389 state outdated {390 doc /*391 * The element shows no current value: its value came late or never, no392 * value of its input has reached the display yet, or, for the scene, the393 * drawing of the scene or the environment that hosts it is out and the394 * scene shown is no longer current. showContent shows the element as395 * outdated (REQ-HMI-006).396 */397 }398 state current {399 doc /*400 * The element shows a current value: showContent shows the scene as401 * drawn and the vehicle speed to the whole km/h (REQ-HMI-001,402 * REQ-HMI-003).403 */404 }405 transition first outdated then current; // a current value is shown406 transition first current then outdated; // the value shown is no longer current, the drawing of the scene being out included407 }408409 state def CollisionWarningStates {410 doc /*411 * The state of the collision warning at the HMI display, by the warning412 * request. It is unavailable from the start of each run until the first413 * current event of the request.414 */415 state unavailable {416 doc /*417 * The warning request is outdated: giveWarning gives no collision418 * warning, and showContent shows that the warning is unavailable419 * (REQ-HMI-007), through each outage of the drawing of the scene as well420 * (REQ-HMI-008).421 */422 }423 state notAsking {424 doc /* The warning request is current and asks for no collision warning: giveWarning gives none. */425 }426 state asking {427 doc /*428 * The warning request asks: giveWarning gives the collision warning on429 * the display and as a sound, each mode starting within 0.1 s of430 * wall-clock time after the start of a request reaches the display431 * (REQ-HMI-004, REQ-HMI-005), through each outage of the drawing of the432 * scene as well (REQ-HMI-008).433 */434 }435 transition first unavailable then notAsking; // a current event that asks for none436 transition first unavailable then asking; // a current event that asks: the start of a request437 transition first notAsking then asking; // the start of a request438 transition first asking then notAsking; // a current event that asks for none439 transition first asking then unavailable; // the warning request becomes outdated440 transition first notAsking then unavailable; // the warning request becomes outdated441 }442443 /* The functions whose behavior differs by state depend on it */444445 dependency showContentDependsOnOutdatedState446 from HmiDisplayFunctionalFlow::showContent447 to ElementCurrency::outdated;448 dependency showContentDependsOnCurrentState449 from HmiDisplayFunctionalFlow::showContent450 to ElementCurrency::current;451 dependency showContentDependsOnUnavailableState452 from HmiDisplayFunctionalFlow::showContent453 to CollisionWarningStates::unavailable;454 dependency giveWarningDependsOnUnavailableState455 from HmiDisplayFunctionalFlow::giveWarning456 to CollisionWarningStates::unavailable;457 dependency giveWarningDependsOnNotAskingState458 from HmiDisplayFunctionalFlow::giveWarning459 to CollisionWarningStates::notAsking;460 dependency giveWarningDependsOnAskingState461 from HmiDisplayFunctionalFlow::giveWarning462 to CollisionWarningStates::asking;463464 /* The conceptual interfaces of the HMI display: one functional chain */465466 item def DisplaySceneInput :> PerceivedScene {467 doc /*468 * The scene as it reaches the HMI display at its input, with its time, the469 * capture time in simulation time of the camera image of its result pass.470 * When the scene has an object that the system acts on, it also carries471 * that object's distance and the speed of the closest object that the472 * fusion gives. The rest of the scene travels with it.473 */474 attribute captureTime : ISQ::DurationValue;475 attribute actedOnObjectDistance : ISQ::LengthValue[0..1];476 attribute actedOnObjectSpeed : ISQ::SpeedValue[0..1];477 }478479 item def DisplayVehicleSpeedInput :> VehicleSpeedInput {480 doc /*481 * The vehicle speed as it reaches the HMI display: the speed of each world482 * snapshot, the same speed that the driver-assistance system takes at its483 * input, with its sample time in simulation time.484 */485 }486487 item def DisplayWarningRequestInput :> CollisionWarningRequestOutput {488 doc /*489 * The warning request as it reaches the HMI display: the request that the490 * driver-assistance system gives at its boundary, whether it asks for the491 * collision warning, with its issue time in simulation time.492 */493 }494495 item def DisplayContentOutput :> HmiDisplayContent {496 doc /*497 * What the HMI display shows: the drawn scene, the vehicle speed to the498 * whole km/h, whether each element is shown as outdated, and whether the499 * collision warning is shown as unavailable. How each looks is for phase500 * 8.501 */502 attribute shownSpeed : ISQ::SpeedValue[0..1];503 attribute sceneOutdated : Boolean;504 attribute speedOutdated : Boolean;505 attribute warningUnavailable : Boolean;506 }507508 item def DisplayWarningOutput :> CollisionWarning {509 doc /* The collision warning as the HMI display gives it, in its two modes: on the display and as a sound. */510 attribute onDisplay : Boolean;511 attribute asSound : Boolean;512 }513514 port def DisplaySceneInbound {515 doc /* The input port of the scene: the candidate gives it. */516 in item perceivedScene : DisplaySceneInput;517 }518519 port def DisplaySpeedInbound {520 doc /* The input port of the vehicle speed: the vehicle gives it. */521 in item vehicleSpeed : DisplayVehicleSpeedInput;522 }523524 port def DisplayWarningRequestInbound {525 doc /* The input port of the warning request: the command and warning path brings it from the candidate. */526 in item warningRequest : DisplayWarningRequestInput;527 }528529 port def DisplayContentOutbound {530 doc /* The output port of what the display shows: the driver sees it. */531 out item shownContent : DisplayContentOutput;532 }533534 port def DisplayWarningOutbound {535 doc /* The output port of the collision warning, on the display and as a sound: the driver gets it. */536 out item collisionWarning : DisplayWarningOutput;537 }538539 part def HmiDisplayFunctionalBoundary :> HmiDisplaySystem {540 doc /*541 * The HMI display at its functional boundary, the one place its conceptual542 * interfaces are stated: three input ports and two output ports, each with543 * one directed item typed by an item definition of this package that544 * specializes the item of phase 2, or the item that the driver-assistance545 * increment defines for it. It performs the functional flow and binds its546 * inputs and outputs to the ports. It is not a logical element: neither it547 * nor its ports names a computer, a process, a transport or a technology.548 */549 port sceneIn : DisplaySceneInbound;550 port speedIn : DisplaySpeedInbound;551 port warningRequestIn : DisplayWarningRequestInbound;552 port contentOut : DisplayContentOutbound;553 port warningOut : DisplayWarningOutbound;554555 perform hmiDisplayFunctionalFlow : HmiDisplayFunctionalFlow {556 in item perceivedScene = sceneIn.perceivedScene;557 in item vehicleSpeed = speedIn.vehicleSpeed;558 in item warningRequest = warningRequestIn.warningRequest;559 out item shownContent = contentOut.shownContent;560 out item collisionWarning = warningOut.collisionWarning;561 }562 }563564 /* Requirement-to-function allocations (allocatedTo) */565566 /* Recording the display identity. */567 allocation displayIdentityResponsibility568 allocate reqRecordDisplayIdentity to HmiDisplayFunctionalFlow::recordDisplayIdentity;569570 /* Drawing the scene, with the object that the system acts on. */571 allocation sceneDrawingResponsibility572 allocate reqShowTheSceneAsGiven to HmiDisplayFunctionalFlow::drawScene;573 allocation actedOnObjectResponsibility574 allocate reqMarkTheObjectTheSystemActsOn to HmiDisplayFunctionalFlow::drawScene;575576 /* Judging the currency of the elements and of the warning request. */577 allocation requestAskingResponsibility578 allocate reqCollisionWarningWhileRequested to HmiDisplayFunctionalFlow::judgeCurrency;579 allocation requestStartResponsibility580 allocate reqStartEachWarningModeWithinLimit to HmiDisplayFunctionalFlow::judgeCurrency;581 allocation elementCurrencyResponsibility582 allocate reqShowOutdatedElementsAsOutdated to HmiDisplayFunctionalFlow::judgeCurrency;583 allocation requestCurrencyResponsibility584 allocate reqShowWarningUnavailableWhileRequestOutdated to HmiDisplayFunctionalFlow::judgeCurrency;585 allocation currencyThroughOutagesResponsibility586 allocate reqSpeedAndWarningThroughOutages to HmiDisplayFunctionalFlow::judgeCurrency;587588 /* Showing the content. */589 allocation sceneShowingResponsibility590 allocate reqShowTheSceneAsGiven to HmiDisplayFunctionalFlow::showContent;591 allocation actedOnObjectShowingResponsibility592 allocate reqMarkTheObjectTheSystemActsOn to HmiDisplayFunctionalFlow::showContent;593 allocation speedShowingResponsibility594 allocate reqShowTheVehicleSpeed to HmiDisplayFunctionalFlow::showContent;595 allocation outdatedShowingResponsibility596 allocate reqShowOutdatedElementsAsOutdated to HmiDisplayFunctionalFlow::showContent;597 allocation unavailableShowingResponsibility598 allocate reqShowWarningUnavailableWhileRequestOutdated to HmiDisplayFunctionalFlow::showContent;599 allocation contentThroughOutagesResponsibility600 allocate reqSpeedAndWarningThroughOutages to HmiDisplayFunctionalFlow::showContent;601602 /* Giving the collision warning. */603 allocation warningWhileRequestedResponsibility604 allocate reqCollisionWarningWhileRequested to HmiDisplayFunctionalFlow::giveWarning;605 allocation warningModeStartResponsibility606 allocate reqStartEachWarningModeWithinLimit to HmiDisplayFunctionalFlow::giveWarning;607 allocation warningThroughOutagesResponsibility608 allocate reqSpeedAndWarningThroughOutages to HmiDisplayFunctionalFlow::giveWarning;609610 /* Views */611612 concern hmiDisplayFunctionsConcern : FunctionalBehaviorConcern {613 doc /*614 * System architects and verification engineers need the functions of the615 * HMI display and each requirement of phase 5 mapped to the functions that616 * carry it: phase 7 gives the functions to logical elements, and phase 10617 * verifies each requirement on its functions.618 */619 subject;620 stakeholder systemArchitect : SystemArchitect;621 stakeholder verificationEngineer : VerificationEngineer;622 }623624 view hmiDisplayFunctionBreakdownView {625 viewpoint selectedFunctionalBreakdownViewpoint : SystemFunctionalBreakdownStructureViewpoint {626 frame hmiDisplayFunctionsConcern;627 }628 expose hmiDisplayFunctionalFlow;629 render asTreeDiagram;630 }631632 view hmiDisplayRequirementFunctionMatrixView : MVD::MatrixView {633 viewpoint selectedRequirementFunctionViewpoint : SystemRequirementTraceabilityViewpoint {634 frame hmiDisplayFunctionsConcern;635 }636 view :>> rowView {637 expose reqShowTheSceneAsGiven;638 expose reqMarkTheObjectTheSystemActsOn;639 expose reqShowTheVehicleSpeed;640 expose reqCollisionWarningWhileRequested;641 expose reqStartEachWarningModeWithinLimit;642 expose reqShowOutdatedElementsAsOutdated;643 expose reqShowWarningUnavailableWhileRequestOutdated;644 expose reqSpeedAndWarningThroughOutages;645 expose reqRendererSplitAndInputPaths;646 expose reqRecordDisplayIdentity;647 attribute :>> includeReferenceElements = true;648 attribute :>> representation = Rep::name;649 }650 view :>> columnView {651 expose hmiDisplayFunctionalFlow::recordDisplayIdentity;652 expose hmiDisplayFunctionalFlow::drawScene;653 expose hmiDisplayFunctionalFlow::judgeCurrency;654 expose hmiDisplayFunctionalFlow::showContent;655 expose hmiDisplayFunctionalFlow::giveWarning;656 attribute :>> includeReferenceElements = true;657 attribute :>> representation = Rep::name;658 }659 view :>> cellView {660 expose DE4SDV_HmiDisplayFunctionalArchitecture::*;661 attribute :>> direction = SysideViews::MatrixTraceabilityDirection::row2col;662 }663 }664665 /* The HMI display in operation as a process: its inputs, the warning and the outages */666667 view hmiDisplaySystemProcessView : ActionFlowView {668 viewpoint selectedSystemProcessViewpoint : SystemProcessViewpoint {669 frame hmiDisplayInputsConcern;670 frame hmiWarningSequenceConcern;671 frame hmiAndroidOutageConcern;672 }673 expose HmiDisplaySystemProcess::*;674 expose HmiDisplaySystemProcess::candidate::*;675 expose HmiDisplaySystemProcess::scorePath::*;676 expose HmiDisplaySystemProcess::vehicle::*;677 expose HmiDisplaySystemProcess::hmiDisplay::*;678 expose HmiDisplaySystemProcess::driver::*;679 attribute showAnnotationRows = false;680 attribute maxCompartmentEntries = 0;681 }682683 /* The states, and the functions that depend on them */684685 view hmiDisplayStateTableView : TVD::TableView {686 viewpoint selectedSystemStateTableViewpoint : SystemStateViewpoint {687 frame hmiContentCurrencyConcern;688 }689 expose ElementCurrency::outdated;690 expose ElementCurrency::current;691 expose CollisionWarningStates::unavailable;692 expose CollisionWarningStates::notAsking;693 expose CollisionWarningStates::asking;694 filter @ SysML::StateUsage;695 attribute :>> maxRowHeight = 300;696 view State :> columnViews {697 attribute :>> featureToRender = CT::declaredName;698 }699 view DependentFunctions :> columnViews {700 attribute :>> featureToRender = CT::documentation;701 attribute :>> columnWidth = 360;702 }703 }704705 /* The conceptual interfaces of the HMI display */706707 concern hmiDisplayInterfaceConcern : FunctionalInterfaceConcern {708 doc /*709 * Systems engineers and software developers need the conceptual interfaces710 * of the HMI display before phase 7 allocates the functions and phase 8711 * places software on them: the port of the functional chain for each item712 * that crosses its boundary, and the direction of that item. Signal typing713 * at a software contract belongs to phase 8.714 */715 subject;716 stakeholder systemsEngineer : SystemsEngineer;717 stakeholder softwareDeveloper : SoftwareDeveloper;718 }719720 view hmiDisplayFunctionalInterfaceView {721 viewpoint selectedFunctionalInterfaceViewpoint : SystemInterfaceDefinitionViewpoint {722 frame hmiDisplayInterfaceConcern;723 }724 expose DisplayContentOutbound;725 expose DisplaySceneInbound;726 expose DisplaySpeedInbound;727 expose DisplayWarningOutbound;728 expose DisplayWarningRequestInbound;729 attribute showAnnotationRows = false;730 render asTreeDiagram;731 }732}733