Monero
Namespaces | Classes | Functions | Variables
hw Namespace Reference

Namespaces

 anonymous_namespace{device.hpp}
 
 core
 
 io
 
 ledger
 

Classes

class  device
 
class  device_registry
 
struct  reset_mode
 

Functions

deviceget_device (const std::string &device_descriptor)
 
bool register_device (const std::string &device_name, device *hw_device)
 
void buffer_to_str (char *to_buff, size_t to_len, const char *buff, size_t len)
 
void log_hexbuffer (const std::string &msg, const char *buff, size_t len)
 
void log_message (const std::string &msg, const std::string &info)
 

Variables

static std::unique_ptr< device_registryregistry
 

Function Documentation

◆ buffer_to_str()

void hw::buffer_to_str ( char *  to_buff,
size_t  to_len,
const char *  buff,
size_t  len 
)

◆ get_device()

device & hw::get_device ( const std::string &  device_descriptor)

◆ log_hexbuffer()

void hw::log_hexbuffer ( const std::string &  msg,
const char *  buff,
size_t  len 
)

◆ log_message()

void hw::log_message ( const std::string &  msg,
const std::string &  info 
)

◆ register_device()

bool hw::register_device ( const std::string &  device_name,
device hw_device 
)

Variable Documentation

◆ registry

std::unique_ptr<device_registry> hw::registry
static