class DriverInfo
Defined at line 429 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
General information for a driver, used with both composite and normal drivers.
Public Methods
void DriverInfo ()
Defined at line 431 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void DriverInfo (const DriverInfo & other)
Defined at line 432 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void DriverInfo (DriverInfo && other)
Defined at line 434 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_driver_framework::wire::DriverInfo> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_driver_framework::wire::DriverInfo> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::DriverInfo>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::StringView & url ()
URL of the driver component.
bool has_url ()
::fidl::StringView & name ()
Name of the driver, taken from the first field of the `ZIRCON_DRIVER`
macro in the driver.
bool has_name ()
bool & colocate ()
If this is true then the driver should be colocated in its parent's DriverHost.
bool has_colocate ()
::fuchsia_driver_framework::wire::DriverPackageType & package_type ()
The type of package this driver is in.
bool has_package_type ()
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.
bool has_is_fallback ()
::fidl::VectorView< ::fuchsia_driver_framework::wire::DeviceCategory> & device_categories ()
Device categories
bool has_device_categories ()
::fidl::VectorView<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.
bool has_bind_rules_bytecode ()
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.
bool has_driver_framework_version ()
bool & is_disabled ()
Whether the driver is disabled. If true, this driver is not chosen to bind to nodes.
bool has_is_disabled ()
DriverInfo & set_url (::fidl::ObjectView< ::fidl::StringView> elem)
DriverInfo & set_url (std::nullptr_t )
DriverInfo & clear_url ()
DriverInfo & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
DriverInfo & set_name (std::nullptr_t )
DriverInfo & clear_name ()
DriverInfo & set_colocate (bool elem)
DriverInfo & clear_colocate ()
DriverInfo & set_package_type (::fuchsia_driver_framework::wire::DriverPackageType elem)
DriverInfo & clear_package_type ()
DriverInfo & set_is_fallback (bool elem)
DriverInfo & clear_is_fallback ()
DriverInfo & set_device_categories (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::DeviceCategory>> elem)
DriverInfo & set_device_categories (std::nullptr_t )
DriverInfo & clear_device_categories ()
DriverInfo & set_bind_rules_bytecode (::fidl::ObjectView< ::fidl::VectorView<uint8_t>> elem)
DriverInfo & set_bind_rules_bytecode (std::nullptr_t )
DriverInfo & clear_bind_rules_bytecode ()
DriverInfo & set_driver_framework_version (uint8_t elem)
DriverInfo & clear_driver_framework_version ()
DriverInfo & set_is_disabled (bool elem)
DriverInfo & clear_is_disabled ()
void DriverInfo (::fidl::AnyArena & allocator)
void DriverInfo (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::DriverInfo>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::DriverInfo>> && frame_ptr)
DriverInfo & operator= (const DriverInfo & other)
Defined at line 433 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
DriverInfo & operator= (DriverInfo && other)
Defined at line 435 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void ~DriverInfo ()
Defined at line 437 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder