class DriverInfo
Defined at line 967 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 974 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 978 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 983 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 991 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 1001 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 1005 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 1011 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 1019 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 1028 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 1032 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 1037 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 1045 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 1054 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 1058 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 1063 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 1071 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 1082 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 1086 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 1093 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 1101 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 1110 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 1114 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 1119 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 1127 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 1138 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 1142 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 1149 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 1157 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 1168 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 1172 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 1179 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 1187 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 1196 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 1200 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 1205 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 1213 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h