Android-cuttlefish cvd tool
Public Member Functions | Private Member Functions | Private Attributes | List of all members
AttachedDevices Class Reference

#include <detach.h>

Public Member Functions

void RegisterAttach (const std::string &serial)
 
void RegisterDetach (const std::string &serial)
 
bool ShouldStartDetached (const Connection &connection)
 

Private Member Functions

bool IsAttached (const std::string &serial)
 
std::unordered_set< std::string > attached_devices_ GUARDED_BY (attached_devices_mutex_)
 

Private Attributes

std::mutex attached_devices_mutex_
 

Member Function Documentation

◆ GUARDED_BY()

std::unordered_set< std::string > attached_devices_ AttachedDevices::GUARDED_BY ( attached_devices_mutex_  )
private

◆ IsAttached()

bool AttachedDevices::IsAttached ( const std::string &  serial)
private

◆ RegisterAttach()

void AttachedDevices::RegisterAttach ( const std::string &  serial)

◆ RegisterDetach()

void AttachedDevices::RegisterDetach ( const std::string &  serial)

◆ ShouldStartDetached()

bool AttachedDevices::ShouldStartDetached ( const Connection connection)

Member Data Documentation

◆ attached_devices_mutex_

std::mutex AttachedDevices::attached_devices_mutex_
private

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