class WlantapDriverContext

Defined at line 19 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-driver-context.h

This contains references to all the objects needed to add child nodes and serve protocols.

Whereas in DFv1 we only needed to pass around a zx_device_t*, in DFv2 there are a few more

classes we need, so this class encapsulates all of them for convenience.

Public Methods

void WlantapDriverContext (fdf::Logger * logger, std::shared_ptr<fdf::OutgoingDirectory> outgoing, fidl::WireSyncClient<fuchsia_driver_framework::Node> * node_client)

Defined at line 21 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-driver-context.h

const fdf::Logger * logger ()

Defined at line 25 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-driver-context.h

const std::shared_ptr<fdf::OutgoingDirectory> & outgoing ()

Defined at line 26 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-driver-context.h

const fidl::WireSyncClient<fuchsia_driver_framework::Node> & node_client ()

Defined at line 27 of file ../../src/connectivity/wlan/testing/wlantap-driver/wlantap-driver-context.h