class DriverInfo

Defined at line 968 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.

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 ()
void DriverInfo (DriverInfo && other)
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)
const ::std::string & url ()

URL of the driver component.

Defined at line 975 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 979 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 984 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 992 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 1002 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 1006 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 1012 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 1020 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 1029 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 1033 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 1038 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 1046 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 1055 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 1059 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 1064 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 1072 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 1083 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 1087 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 1094 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 1102 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 1111 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 1115 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 1120 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 1128 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 1139 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 1143 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 1150 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 1158 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 1169 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 1173 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 1180 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 1188 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 1197 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 1201 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 1206 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 1214 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h