fdf::DriverBase
Summary
Protected functions
|
AddChild(std::string_view node_name, cpp20::span< const fuchsia_driver_framework::NodeProperty > properties, cpp20::span< const fuchsia_driver_framework::Offer > offers)
|
|
AddChild(std::string_view node_name, fuchsia_driver_framework::DevfsAddArgs & devfs_args, cpp20::span< const fuchsia_driver_framework::NodeProperty > properties, cpp20::span< const fuchsia_driver_framework::Offer > offers)
|
|
AddChild(std::string_view node_name, cpp20::span< const fuchsia_driver_framework::NodeProperty2 > properties, cpp20::span< const fuchsia_driver_framework::Offer > offers)
|
|
AddChild(std::string_view node_name, fuchsia_driver_framework::DevfsAddArgs & devfs_args, cpp20::span< const fuchsia_driver_framework::NodeProperty2 > properties, cpp20::span< const fuchsia_driver_framework::Offer > offers)
|
|
AddOwnedChild(std::string_view node_name)
|
|
AddOwnedChild(std::string_view node_name, fuchsia_driver_framework::DevfsAddArgs & devfs_args)
|
|
InitInspectorExactlyOnce(inspect::Inspector inspector)
|
void
|
dispatcher() const
|
async_dispatcher_t *
|
driver_dispatcher() const
|
|
incoming() const
|
|
inspector()
|
|
name() const
|
std::string_view
|
node()
|
|
node() const
|
|
node_name() const
|
const std::optional< std::string > &
|
node_offers()
|
const std::vector< fuchsia_driver_framework::Offer > &
|
node_properties_2(const std::string & parent_node_name) const
|
cpp20::span< const fuchsia_driver_framework::NodeProperty2 >
|
outgoing()
|
|
program() const
|
const std::optional< fuchsia_data::Dictionary > &
|
svc() const
|
|
symbols() const
|
const std::optional< std::vector< fuchsia_driver_framework::NodeSymbol > > &
|
take_config()
|
StructuredConfig
|
url() const
|
const std::optional< std::string > &
|
Public types
Protected attributes
logger_
std::unique_ptr< Logger > logger_
Public static functions
GetInstanceFromTokenForTesting
DriverBaseImpl * GetInstanceFromTokenForTesting(
void *token
)
Public functions
DriverBase
DriverBase(
const DriverBase &
)=delete
~DriverBase
virtual ~DriverBase()
Protected functions
AddChild
zx::result< fidl::ClientEnd< fuchsia_driver_framework::NodeController > > AddChild(
std::string_view node_name,
cpp20::span< const fuchsia_driver_framework::NodeProperty > properties,
cpp20::span< const fuchsia_driver_framework::Offer > offers
)
AddChild
zx::result< fidl::ClientEnd< fuchsia_driver_framework::NodeController > > AddChild(
std::string_view node_name,
fuchsia_driver_framework::DevfsAddArgs & devfs_args,
cpp20::span< const fuchsia_driver_framework::NodeProperty > properties,
cpp20::span< const fuchsia_driver_framework::Offer > offers
)
AddChild
zx::result< fidl::ClientEnd< fuchsia_driver_framework::NodeController > > AddChild(
std::string_view node_name,
cpp20::span< const fuchsia_driver_framework::NodeProperty2 > properties,
cpp20::span< const fuchsia_driver_framework::Offer > offers
)
AddChild
zx::result< fidl::ClientEnd< fuchsia_driver_framework::NodeController > > AddChild(
std::string_view node_name,
fuchsia_driver_framework::DevfsAddArgs & devfs_args,
cpp20::span< const fuchsia_driver_framework::NodeProperty2 > properties,
cpp20::span< const fuchsia_driver_framework::Offer > offers
)
AddOwnedChild
zx::result< OwnedChildNode > AddOwnedChild(
std::string_view node_name,
fuchsia_driver_framework::DevfsAddArgs & devfs_args
)
dispatcher
async_dispatcher_t * dispatcher() const
incoming
const std::shared_ptr< Namespace > & incoming() const
name
std::string_view name() const
node
const fidl::ClientEnd< fuchsia_driver_framework::Node > & node() const
node_name
const std::optional< std::string > & node_name() const
node_offers
const std::vector< fuchsia_driver_framework::Offer > & node_offers()
node_properties_2
cpp20::span< const fuchsia_driver_framework::NodeProperty2 > node_properties_2(
const std::string & parent_node_name
) const
program
const std::optional< fuchsia_data::Dictionary > & program() const
symbols
const std::optional< std::vector< fuchsia_driver_framework::NodeSymbol > > & symbols() const
take_config
StructuredConfig take_config()
url
const std::optional< std::string > & url() const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-18 UTC."],[],[]]