class DriverInfo

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

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

Public Methods

void DriverInfo (Storage_ storage)
void DriverInfo ()

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

void DriverInfo (DriverInfo && )

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

void DriverInfo (const DriverInfo & other)
DriverInfo & operator= (DriverInfo && )

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

DriverInfo & operator= (const DriverInfo & other)
bool operator== (const DriverInfo & other)
bool operator!= (const DriverInfo & other)
bool IsEmpty ()
const std::optional< ::std::string> & url ()

URL of the driver component.

::std::optional< ::std::string> & url ()

URL of the driver component.

DriverInfo & url (std::optional< ::std::string> value)

URL of the driver component.

const std::optional< ::std::string> & name ()

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

macro in the driver.

::std::optional< ::std::string> & name ()

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

macro in the driver.

DriverInfo & name (std::optional< ::std::string> value)

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

macro in the driver.

const std::optional<bool> & colocate ()

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

::std::optional<bool> & colocate ()

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

DriverInfo & colocate (std::optional<bool> value)

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

const std::optional< ::fuchsia_driver_framework::DriverPackageType> & package_type ()

The type of package this driver is in.

::std::optional< ::fuchsia_driver_framework::DriverPackageType> & package_type ()

The type of package this driver is in.

DriverInfo & package_type (std::optional< ::fuchsia_driver_framework::DriverPackageType> value)

The type of package this driver is in.

const std::optional<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.

::std::optional<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.

DriverInfo & is_fallback (std::optional<bool> value)

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.

const std::optional< ::std::vector< ::fuchsia_driver_framework::DeviceCategory>> & device_categories ()

Device categories

::std::optional< ::std::vector< ::fuchsia_driver_framework::DeviceCategory>> & device_categories ()

Device categories

DriverInfo & device_categories (std::optional< ::std::vector< ::fuchsia_driver_framework::DeviceCategory>> value)

Device categories

const std::optional< ::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.

::std::optional< ::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.

DriverInfo & bind_rules_bytecode (std::optional< ::std::vector<uint8_t>> value)

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

determine whether the driver indexer should bind this driver to a

device.

const std::optional<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.

::std::optional<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.

DriverInfo & driver_framework_version (std::optional<uint8_t> value)

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.

const std::optional<bool> & is_disabled ()

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

::std::optional<bool> & is_disabled ()

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

DriverInfo & is_disabled (std::optional<bool> value)

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

void DriverInfo (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits