struct PassThrough

Defined at line 64 of file ../../src/devices/bin/driver_manager/devfs/devfs.h

This class represents a device in devfs. It is called "passthrough" because it sends

the channel and the connection type to a callback function.

Public Members

shared_ptr device_connect
shared_ptr controller_connect

Public Methods

void PassThrough (DeviceConnectCallback device_callback, ControllerConnectCallback controller_callback)

Create a Passthrough class. The client must make sure that any captures in the callback

live as long as the passthrough class (for this reason it's strongly recommended to use

owned captures).

Defined at line 74 of file ../../src/devices/bin/driver_manager/devfs/devfs.h