video::VisionAssignment

Binds one camera role to one video device.

Declared in src/libs/libvideo/video/VisionCharacteristic.hpp
Group video

Detailed description

deviceMatchKey identifies the device across sessions: its USB vendor and product id when it has one, otherwise its description. An assignment without a match key is not valid. customName names a video::VisionCharacteristic Custom role, and autoAssigned tells an assignment the node chose from one the user made.

toMap() and fromMap() convert an assignment to and from the QVariantMap that video::VisionCharacteristics stores in the node settings.

See also video::VisionCharacteristic, video::VisionCharacteristics.

In this section