Android-cuttlefish cvd tool
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cuttlefish::webrtc_streaming::BluetoothHandler Struct Reference

#include <bluetooth_handler.h>

Collaboration diagram for cuttlefish::webrtc_streaming::BluetoothHandler:
Collaboration graph
[legend]

Public Member Functions

 BluetoothHandler (const int rootCanalTestPort, std::function< void(const uint8_t *, size_t)> send_to_client)
 
 ~BluetoothHandler ()
 
void handleMessage (const uint8_t *msg, size_t len)
 

Private Member Functions

void ReadLoop ()
 

Private Attributes

std::function< void(const uint8_t *, size_t)> send_to_client_
 
SharedFD rootcanal_socket_
 
SharedFD shutdown_
 
SharedFDSet read_set_
 
std::thread read_thread_
 

Constructor & Destructor Documentation

◆ BluetoothHandler()

cuttlefish::webrtc_streaming::BluetoothHandler::BluetoothHandler ( const int  rootCanalTestPort,
std::function< void(const uint8_t *, size_t)>  send_to_client 
)
explicit

◆ ~BluetoothHandler()

cuttlefish::webrtc_streaming::BluetoothHandler::~BluetoothHandler ( )

Member Function Documentation

◆ handleMessage()

void cuttlefish::webrtc_streaming::BluetoothHandler::handleMessage ( const uint8_t *  msg,
size_t  len 
)

◆ ReadLoop()

void cuttlefish::webrtc_streaming::BluetoothHandler::ReadLoop ( )
private

Member Data Documentation

◆ read_set_

SharedFDSet cuttlefish::webrtc_streaming::BluetoothHandler::read_set_
private

◆ read_thread_

std::thread cuttlefish::webrtc_streaming::BluetoothHandler::read_thread_
private

◆ rootcanal_socket_

SharedFD cuttlefish::webrtc_streaming::BluetoothHandler::rootcanal_socket_
private

◆ send_to_client_

std::function<void(const uint8_t *, size_t)> cuttlefish::webrtc_streaming::BluetoothHandler::send_to_client_
private

◆ shutdown_

SharedFD cuttlefish::webrtc_streaming::BluetoothHandler::shutdown_
private

The documentation for this struct was generated from the following files: