class DriverInfo
Defined at line 1349 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 1356 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 1360 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 1365 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 1373 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 1383 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 1387 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 1393 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 1401 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 1410 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 1414 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 1419 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 1427 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 1436 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 1440 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 1445 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 1453 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 1464 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 1468 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 1475 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 1483 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 1492 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 1496 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 1501 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 1509 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 1520 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 1524 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 1531 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 1539 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 1550 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 1554 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 1561 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 1569 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 1578 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 1582 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 1587 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 1595 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)