class DriverInfo

Defined at line 1363 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

General information for a driver, used with both composite and normal drivers.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

void DriverInfo ()
void DriverInfo (DriverInfo && other)
const ::std::string & url ()

URL of the driver component.

Defined at line 1370 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool has_url ()

Defined at line 1374 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

::std::string * mutable_url ()

URL of the driver component.

Defined at line 1379 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

void clear_url ()

Defined at line 1387 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const ::std::string & name ()

Name of the driver, taken from the first field of the `ZIRCON_DRIVER`

macro in the driver.

Defined at line 1397 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool has_name ()

Defined at line 1401 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

::std::string * mutable_name ()

Name of the driver, taken from the first field of the `ZIRCON_DRIVER`

macro in the driver.

Defined at line 1407 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

void clear_name ()

Defined at line 1415 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const bool & colocate ()

If this is true then the driver should be colocated in its parent's DriverHost.

Defined at line 1424 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool has_colocate ()

Defined at line 1428 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool * mutable_colocate ()

If this is true then the driver should be colocated in its parent's DriverHost.

Defined at line 1433 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

void clear_colocate ()

Defined at line 1441 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const ::fuchsia::driver::framework::DriverPackageType & package_type ()

The type of package this driver is in.

Defined at line 1450 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool has_package_type ()

Defined at line 1454 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

::fuchsia::driver::framework::DriverPackageType * mutable_package_type ()

The type of package this driver is in.

Defined at line 1459 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

void clear_package_type ()

Defined at line 1467 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const bool & is_fallback ()

If this is true then the driver is a fallback driver. Fallback drivers have a

lesser priority for binding, so they will only be chosen for binding if there

is no non-fallback driver that has matched.

Defined at line 1478 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool has_is_fallback ()

Defined at line 1482 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool * mutable_is_fallback ()

If this is true then the driver is a fallback driver. Fallback drivers have a

lesser priority for binding, so they will only be chosen for binding if there

is no non-fallback driver that has matched.

Defined at line 1489 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

void clear_is_fallback ()

Defined at line 1497 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const ::std::vector< ::fuchsia::driver::framework::DeviceCategory> & device_categories ()

Device categories

Defined at line 1506 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool has_device_categories ()

Defined at line 1510 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

::std::vector< ::fuchsia::driver::framework::DeviceCategory> * mutable_device_categories ()

Device categories

Defined at line 1515 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

void clear_device_categories ()

Defined at line 1523 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const ::std::vector<uint8_t> & bind_rules_bytecode ()

Bind rules which declare set of constraints to evaluate in order to

determine whether the driver indexer should bind this driver to a

device.

Defined at line 1534 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool has_bind_rules_bytecode ()

Defined at line 1538 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

::std::vector<uint8_t> * mutable_bind_rules_bytecode ()

Bind rules which declare set of constraints to evaluate in order to

determine whether the driver indexer should bind this driver to a

device.

Defined at line 1545 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

void clear_bind_rules_bytecode ()

Defined at line 1553 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const uint8_t & driver_framework_version ()

The version of the driver framework that this driver is using.

Supported values are 1 (DFv1) and 2 (DFv2).

If not provided, 1 is the assumed version.

Defined at line 1564 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool has_driver_framework_version ()

Defined at line 1568 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

uint8_t * mutable_driver_framework_version ()

The version of the driver framework that this driver is using.

Supported values are 1 (DFv1) and 2 (DFv2).

If not provided, 1 is the assumed version.

Defined at line 1575 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

void clear_driver_framework_version ()

Defined at line 1583 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

const bool & is_disabled ()

Whether the driver is disabled. If true, this driver is not chosen to bind to nodes.

Defined at line 1592 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool has_is_disabled ()

Defined at line 1596 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

bool * mutable_is_disabled ()

Whether the driver is disabled. If true, this driver is not chosen to bind to nodes.

Defined at line 1601 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

void clear_is_disabled ()

Defined at line 1609 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h

DriverInfo & set_url (::std::string _value)
DriverInfo & set_name (::std::string _value)
DriverInfo & set_colocate (bool _value)
DriverInfo & set_package_type (::fuchsia::driver::framework::DriverPackageType _value)
DriverInfo & set_is_fallback (bool _value)
DriverInfo & set_device_categories (::std::vector< ::fuchsia::driver::framework::DeviceCategory> _value)
DriverInfo & set_bind_rules_bytecode (::std::vector<uint8_t> _value)
DriverInfo & set_driver_framework_version (uint8_t _value)
DriverInfo & set_is_disabled (bool _value)
void ~DriverInfo ()
DriverInfo & operator= (DriverInfo && other)
::std::unique_ptr<DriverInfo> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, DriverInfo * _value, size_t _offset)
zx_status_t Clone (DriverInfo * _result)