You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
11 KiB
22 lines
11 KiB
3 months ago
|
<?xml version="1.0" encoding="utf-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"><svg xmlns="http://www.w3.org/2000/svg" width="1182" height="735" xmlns:xlink="http://www.w3.org/1999/xlink"><source><![CDATA[title: RS4xx - Registration for metadata attributes
|
||
|
Participant C++ main
|
||
|
Participant rs2_context
|
||
|
Participant rs2_device
|
||
|
Participant rs2_metadata_handler
|
||
|
Participant OS
|
||
|
Participant Device
|
||
|
Device->OS: new device found
|
||
|
Note over OS: device is enumerated
|
||
|
Note over OS,C++ main: .......... system is in idle state ...............
|
||
|
Note over C++ main: Librealsense2 is started
|
||
|
C++ main->rs2_context: create context
|
||
|
rs2_context-->C++ main:
|
||
|
rs2_context->OS: Query connected devices
|
||
|
OS-->C++ main: List of device info
|
||
|
C++ main->rs2_device: create rs4xx object
|
||
|
rs2_device->rs2_device: ctor: register for metadata
|
||
|
rs2_device->rs2_metadata_handler: ctor: Instantiate handler
|
||
|
rs2_metadata_handler-->rs2_device:
|
||
|
rs2_device->rs2_device: ctor: map handler to an attribute
|
||
|
rs2_device-->C++ main:
|
||
|
Note over C++ main: device with metadata support is ready]]></source><desc>RS4xx - Registration for metadata attributes</desc><defs><marker viewBox="0 0 5 5" markerWidth="5" markerHeight="5" orient="auto" refX="5" refY="2.5" id="markerArrowBlock"><path d="M 0 0 L 5 2.5 L 0 5 z"></path></marker><marker viewBox="0 0 9.6 16" markerWidth="4" markerHeight="16" orient="auto" refX="9.6" refY="8" id="markerArrowOpen"><path d="M 9.6,8 1.92,16 0,13.7 5.76,8 0,2.286 1.92,0 9.6,8 z"></path></marker></defs><g class="title"><rect x="10" y="10" width="397.0625" height="29" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="15" y="30" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="15">RS4xx - Registration for metadata attributes</tspan></text></g><g class="actor"><rect x="132.65625" y="49" width="90.375" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="142.65625" y="74" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="142.65625">C++ main</tspan></text></g><g class="actor"><rect x="132.65625" y="676" width="90.375" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="142.65625" y="701" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="142.65625">C++ main</tspan></text></g><line x1="177.84375" x2="177.84375" y1="88" y2="676" stroke="#000000" fill="none" style="stroke-width: 2;"></line><g class="actor"><rect x="297.3046875" y="49" width="116.765625" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="307.3046875" y="74" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="307.3046875">rs2_context</tspan></text></g><g class="actor"><rect x="297.3046875" y="676" width="116.765625" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="307.3046875" y="701" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="307.3046875">rs2_context</tspan></text></g><line x1="355.6875" x2="355.6875" y1="88" y2="676" stroke="#000000" fill="none" style="stroke-width: 2;"></line><g class="actor"><rect x="434.0703125" y="49" width="108.171875" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="444.0703125" y="74" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="444.0703125">rs2_device</tspan></text></g><g class="actor"><rect x="434.0703125" y="676" width="108.171875" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="444.0703125" y="701" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="444.0703125">rs2_device</tspan></text></g><line x1="488.15625" x2="488.15625" y1="88" y2="676" stroke="#000000" fill="none" style="stroke-width: 2;"></line><g class="actor"><rect x="720.5859375" y="49" width="196.140625" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="730.5859375" y="74" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="730.5859375">rs2_metadata_handler</tspan></text></g><g class="actor"><rect x="720.5859375" y="676" width="196.140625" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="730.5859375" y="701" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="730.5859375">rs2_metadata_handler</tspan></text></g><line x1="818.65625" x2="818.65625" y1="88" y2="676" stroke="#000000" fill="none" style="stroke-width: 2;"></line><g class="actor"><rect x="936.7265625" y="49" width="37.796875" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="946.7265625" y="74" style="font-size: 16px; font-family: "Andale Mono", monospace;"><tspan x="946.7265625">OS</tspan></text></g><g class="actor"><rect x="936.7265625" y="676" width="37.796875" height="39" stroke="#000000" fill="#ffffff" style="stroke-width: 2;"></rect><text x="946.7265625" y="701" style="fo
|