USRP Hardware Driver and USRP Manual  Version: 3.15.0.HEAD-0-g6563c537
UHD and USRP Manual
uhd::assertion_error Struct Reference

#include <uhd/exception.hpp>

Inheritance diagram for uhd::assertion_error:
uhd::exception

Public Member Functions

 assertion_error (const std::string &what)
 
virtual unsigned code (void) const
 
virtual assertion_errordynamic_clone (void) const
 
virtual void dynamic_throw (void) const
 
- Public Member Functions inherited from uhd::exception
 exception (const std::string &what)
 

Detailed Description

Raised when an assert statement fails.

This includes our own assertion macros, such as UHD_ASSERT_THROW().

Constructor & Destructor Documentation

◆ assertion_error()

uhd::assertion_error::assertion_error ( const std::string &  what)

Member Function Documentation

◆ code()

virtual unsigned uhd::assertion_error::code ( void  ) const
virtual

Implements uhd::exception.

◆ dynamic_clone()

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

Implements uhd::exception.

◆ dynamic_throw()

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

Implements uhd::exception.


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