duvc-ctl 2.0.0
USB Video Class Camera Control Library
Loading...
Searching...
No Matches
duvc::VendorProperty Struct Reference

Vendor-specific property data container. More...

#include <duvc-ctl/core.h>

Collaboration diagram for duvc::VendorProperty:

Public Member Functions

 VendorProperty ()=default
 Default constructor.
 
 VendorProperty (const GUID &set, ULONG id, const std::vector< uint8_t > &payload={})
 Construct vendor property with initial values.
 

Public Attributes

GUID property_set
 Property set GUID (vendor-specific extension unit)
 
ULONG property_id
 Property ID within set (vendor-defined numeric identifier)
 
std::vector< uint8_tdata
 Property data payload (opaque vendor-defined binary data)
 

Detailed Description

Vendor-specific property data container.

Encapsulates a vendor extension unit property identified by a GUID property set and numeric property ID. The data payload is opaque and vendor-defined.

Definition at line 41 of file core.h.

Constructor & Destructor Documentation

◆ VendorProperty() [1/2]

duvc::VendorProperty::VendorProperty ( )
default

Default constructor.

◆ VendorProperty() [2/2]

duvc::VendorProperty::VendorProperty ( const GUID & set,
ULONG id,
const std::vector< uint8_t > & payload = {} )
inline

Construct vendor property with initial values.

Parameters
setProperty set GUID identifying the extension unit
idProperty ID within the extension unit
payloadInitial data buffer (empty by default)

Definition at line 42 of file constants.h.

Member Data Documentation

◆ data

std::vector< uint8_t > duvc::VendorProperty::data

Property data payload (opaque vendor-defined binary data)

Definition at line 44 of file core.h.

◆ property_id

ULONG duvc::VendorProperty::property_id

Property ID within set (vendor-defined numeric identifier)

Definition at line 43 of file core.h.

◆ property_set

GUID duvc::VendorProperty::property_set

Property set GUID (vendor-specific extension unit)

Definition at line 42 of file core.h.


The documentation for this struct was generated from the following files: