class ResourceArgs
Defined at line 4614 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
Arguments for providing a resource.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
void ResourceArgs ()
Defined at line 4616 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void ResourceArgs (const ResourceArgs & other)
Defined at line 4617 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void _CloseHandles ()
::fidl::WireTableBuilder< ::fuchsia_driver_framework::wire::ResourceArgs> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_driver_framework::wire::ResourceArgs> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::ResourceArgs>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
::fidl::StringView & name ()
Name of the resource. Required.
bool has_name ()
::fuchsia_driver_framework::wire::BusInfo & bus_info ()
Information that feeds into a structured bus topology for the device. It should
only be specified by bus drivers, ideally those which are included by default. Optional.
bool has_bus_info ()
ResourceArgs & operator= (const ResourceArgs & other)
Defined at line 4618 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
void ResourceArgs (ResourceArgs && other)
Defined at line 4619 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
ResourceArgs & operator= (ResourceArgs && other)
Defined at line 4620 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h
::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty2> & properties ()
Properties of the resource. Required.
bool has_properties ()
::fidl::VectorView< ::fuchsia_driver_framework::wire::Offer> & offers ()
Capabilities the resource offers to the node that depends on it. Required.
bool has_offers ()
ResourceArgs & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
ResourceArgs & set_name (std::nullptr_t )
ResourceArgs & clear_name ()
ResourceArgs & set_properties (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty2>> elem)
ResourceArgs & set_properties (std::nullptr_t )
ResourceArgs & clear_properties ()
ResourceArgs & set_offers (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::Offer>> elem)
ResourceArgs & set_offers (std::nullptr_t )
ResourceArgs & clear_offers ()
ResourceArgs & set_bus_info (::fidl::ObjectView< ::fuchsia_driver_framework::wire::BusInfo> elem)
ResourceArgs & set_bus_info (std::nullptr_t )
ResourceArgs & clear_bus_info ()
void ResourceArgs (::fidl::AnyArena & allocator)
void ResourceArgs (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_framework::wire::ResourceArgs>> && 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::ResourceArgs>> && frame_ptr)
void ~ResourceArgs ()
Defined at line 4622 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