Electroneum
Public Member Functions | Private Attributes | List of all members
hw::trezor::DebugLink Class Reference

#include <debug_link.hpp>

Public Member Functions

 DebugLink ()
 
virtual ~DebugLink ()
 
void init (std::shared_ptr< Transport > &transport)
 
void close ()
 
std::shared_ptr< messages::debug::DebugLinkState > state ()
 
void input_word (const std::string &word)
 
void input_button (bool button)
 
void input_swipe (bool swipe)
 
void press_yes ()
 
void press_no ()
 
void stop ()
 
template<class t_message = messages::debug::DebugLinkState>
std::shared_ptr< t_message > call (const google::protobuf::Message &req, const boost::optional< messages::MessageType > &resp_type=boost::none, bool no_wait=false)
 

Private Attributes

std::shared_ptr< Transportm_transport
 

Constructor & Destructor Documentation

◆ DebugLink()

hw::trezor::DebugLink::DebugLink ( )

◆ ~DebugLink()

hw::trezor::DebugLink::~DebugLink ( )
virtual

Member Function Documentation

◆ call()

template<class t_message = messages::debug::DebugLinkState>
std::shared_ptr<t_message> hw::trezor::DebugLink::call ( const google::protobuf::Message &  req,
const boost::optional< messages::MessageType > &  resp_type = boost::none,
bool  no_wait = false 
)
inline

◆ close()

void hw::trezor::DebugLink::close ( )

◆ init()

void hw::trezor::DebugLink::init ( std::shared_ptr< Transport > &  transport)

◆ input_button()

void hw::trezor::DebugLink::input_button ( bool  button)

◆ input_swipe()

void hw::trezor::DebugLink::input_swipe ( bool  swipe)

◆ input_word()

void hw::trezor::DebugLink::input_word ( const std::string &  word)

◆ press_no()

void hw::trezor::DebugLink::press_no ( )
inline

◆ press_yes()

void hw::trezor::DebugLink::press_yes ( )
inline

◆ state()

std::shared_ptr< messages::debug::DebugLinkState > hw::trezor::DebugLink::state ( )

◆ stop()

void hw::trezor::DebugLink::stop ( )

Member Data Documentation

◆ m_transport

std::shared_ptr<Transport> hw::trezor::DebugLink::m_transport
private

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