USRP Hardware Driver and USRP Manual  Version: 003.010.003.HEAD-0-gef157678
UHD and USRP Manual
uhd::usb_error Struct Reference

#include <uhd/exception.hpp>

Inheritance diagram for uhd::usb_error:
uhd::runtime_error uhd::exception

Public Member Functions

 usb_error (int code, const std::string &what)
 
virtual unsigned code (void) const
 
virtual usb_errordynamic_clone (void) const
 
virtual void dynamic_throw (void) const
 
- Public Member Functions inherited from uhd::runtime_error
 runtime_error (const std::string &what)
 
- Public Member Functions inherited from uhd::exception
 exception (const std::string &what)
 

Public Attributes

int _code
 

Constructor & Destructor Documentation

◆ usb_error()

uhd::usb_error::usb_error ( int  code,
const std::string &  what 
)

Member Function Documentation

◆ code()

virtual unsigned uhd::usb_error::code ( void  ) const
inlinevirtual

Reimplemented from uhd::runtime_error.

◆ dynamic_clone()

virtual usb_error* uhd::usb_error::dynamic_clone ( void  ) const
virtual

Reimplemented from uhd::runtime_error.

◆ dynamic_throw()

virtual void uhd::usb_error::dynamic_throw ( void  ) const
virtual

Reimplemented from uhd::runtime_error.

Member Data Documentation

◆ _code

int uhd::usb_error::_code

The documentation for this struct was generated from the following file: