class DriverInfo
Defined at line 1329 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 1336 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 1340 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 1345 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 1353 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 1363 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 1367 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 1373 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 1381 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 1390 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 1394 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 1399 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 1407 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 1416 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 1420 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 1425 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 1433 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 1444 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 1448 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 1455 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 1463 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 1472 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 1476 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 1481 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 1489 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 1500 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 1504 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 1511 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 1519 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 1530 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 1534 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 1541 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 1549 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 1558 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 1562 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 1567 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 1575 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h