fdf_testing::TestNode

Summary

Inheritance

Inherits from: fidl::WireServer< fuchsia_driver_framework::NodeController >, fidl::WireServer< fuchsia_driver_framework::Node >

Constructors and Destructors

TestNode(std::string name, async_dispatcher_t *dispatcher)
~TestNode()

Public types

ChildrenMap using
std::unordered_map< std::string, TestNode >

Public functions

ConnectToDevice()
CreateNodeChannel()
zx::result< fidl::ClientEnd< fuchsia_driver_framework::Node > >
CreateStartArgsAndServe()
GetBindData() const
std::vector< BindData >
GetProperties() const
std::vector< fuchsia_driver_framework::NodeProperty >
HasNode()
bool
Serve(fidl::ServerEnd< fuchsia_driver_framework::Node > server_end)
children()
ChildrenMap &
dispatcher() const
async_dispatcher_t *
name() const
const std::string &

Structs

fdf_testing::TestNode::BindData
fdf_testing::TestNode::CreateStartArgsResult

Public types

ChildrenMap

std::unordered_map< std::string, TestNode > ChildrenMap

Public functions

ConnectToDevice

zx::result< zx::channel > ConnectToDevice()

CreateNodeChannel

zx::result< fidl::ClientEnd< fuchsia_driver_framework::Node > > CreateNodeChannel()

CreateStartArgsAndServe

zx::result< CreateStartArgsResult > CreateStartArgsAndServe()

GetBindData

std::vector< BindData > GetBindData() const 

GetProperties

std::vector< fuchsia_driver_framework::NodeProperty > GetProperties() const 

HasNode

bool HasNode()

Serve

zx::result Serve(
  fidl::ServerEnd< fuchsia_driver_framework::Node > server_end
)

TestNode

 TestNode(
  std::string name,
  async_dispatcher_t *dispatcher
)

children

ChildrenMap & children()

dispatcher

async_dispatcher_t * dispatcher() const 

name

const std::string & name() const 

~TestNode

 ~TestNode() override