Electroneum
device.hpp File Reference
#include "crypto/crypto.h"
#include "crypto/chacha.h"
#include "ringct/rctTypes.h"
#include "cryptonote_config.h"
Include dependency graph for device.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hw::device_progress
 
class  hw::i_device_callback
 
class  hw::device
 
struct  hw::reset_mode
 
class  hw::device_registry
 

Namespaces

 cryptonote
 Holds cryptonote related classes and helpers.
 
 hw
 

Macros

#define USE_DEVICE_LEDGER   1
 
#define USE_DEVICE_LEDGER   0
 
#define dfns()
 

Functions

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

Macro Definition Documentation

◆ dfns

#define dfns ( )
Value:
throw std::runtime_error(std::string("device function not supported: ")+ std::string(__FUNCTION__) + \
std::string(" (device.hpp line ")+std::to_string(__LINE__)+std::string(").")); \
return false;
::std::string string
Definition: gtest-port.h:1097
std::string to_string(t_connection_type type)

Definition at line 65 of file device.hpp.

◆ USE_DEVICE_LEDGER [1/2]

#define USE_DEVICE_LEDGER   1

Definition at line 44 of file device.hpp.

◆ USE_DEVICE_LEDGER [2/2]

#define USE_DEVICE_LEDGER   0

Definition at line 44 of file device.hpp.