• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • VisionAssignment
  • video::VisionAssignment Struct

    struct video::VisionAssignment

    Binds one camera role to one video device. More...

    Header: #include <VisionAssignment>
    Since: 1.0

    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 and video::VisionCharacteristics.