class Resource
Defined at line 24 of file ../../src/devices/bin/driver_manager/resource.h
Represents a resource provided by a Node.
Public Methods
void Resource (ResourceIdid,std::weak_ptr<Node>owner,std::stringname,std::vector<fuchsia_driver_framework::NodeProperty2>properties,std::vector<NodeOffer>node_offers,std::optional<fuchsia_driver_framework::BusInfo>bus_info,async_dispatcher_t *dispatcher)
Defined at line 15 of file ../../src/devices/bin/driver_manager/resource.cc
void Bind (fidl::ServerEnd<fuchsia_driver_framework::ResourceController> server_end)
Defined at line 28 of file ../../src/devices/bin/driver_manager/resource.cc
void ~Resource ()
Defined at line 32 of file ../../src/devices/bin/driver_manager/resource.h
const std::vector<fuchsia_driver_framework::NodeProperty2> & properties ()
Defined at line 36 of file ../../src/devices/bin/driver_manager/resource.h
std::weak_ptr<Node> owner ()
Defined at line 39 of file ../../src/devices/bin/driver_manager/resource.h
const std::optional<fuchsia_driver_framework::BusInfo> & bus_info ()
Defined at line 40 of file ../../src/devices/bin/driver_manager/resource.h
const std::vector<NodeOffer> & offers ()
Defined at line 41 of file ../../src/devices/bin/driver_manager/resource.h
const std::string & name ()
Exposed for testing.
Defined at line 44 of file ../../src/devices/bin/driver_manager/resource.h
ResourceId id ()
Defined at line 46 of file ../../src/devices/bin/driver_manager/resource.h