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

#include <storage.h>

Collaboration diagram for ConnectedDevicesStorage:
Collaboration graph
[legend]

Public Member Functions

 ConnectedDevicesStorage ()
 
bool Exists () const
 
void WriteDevices (const FileLock &, const std::set< std::string > &devices)
 
std::set< std::string > ReadDevices (const FileLock &)
 
void Clear (const FileLock &)
 
FileLock Lock () const
 

Private Attributes

std::string home_fastboot_path_
 
std::string devices_path_
 
std::string devices_lock_path_
 

Constructor & Destructor Documentation

◆ ConnectedDevicesStorage()

ConnectedDevicesStorage::ConnectedDevicesStorage ( )

Member Function Documentation

◆ Clear()

void ConnectedDevicesStorage::Clear ( const FileLock )

◆ Exists()

bool ConnectedDevicesStorage::Exists ( ) const

◆ Lock()

FileLock ConnectedDevicesStorage::Lock ( ) const

◆ ReadDevices()

std::set< std::string > ConnectedDevicesStorage::ReadDevices ( const FileLock )

◆ WriteDevices()

void ConnectedDevicesStorage::WriteDevices ( const FileLock ,
const std::set< std::string > &  devices 
)

Member Data Documentation

◆ devices_lock_path_

std::string ConnectedDevicesStorage::devices_lock_path_
private

◆ devices_path_

std::string ConnectedDevicesStorage::devices_path_
private

◆ home_fastboot_path_

std::string ConnectedDevicesStorage::home_fastboot_path_
private

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