Public Member Functions | Protected Member Functions | Private Attributes | List of all members
librealsense::librealsense_exception Class Reference

#include <types.h>

Inheritance diagram for librealsense::librealsense_exception:
Inheritance graph
[legend]

Public Member Functions

rs2_exception_type get_exception_type () const noexcept
 
const char * get_message () const noexcept
 
const char * what () const noexceptoverride
 

Protected Member Functions

 librealsense_exception (const std::string &msg, rs2_exception_type exception_type) noexcept
 

Private Attributes

rs2_exception_type _exception_type
 
std::string _msg
 

Detailed Description

Definition at line 271 of file src/types.h.

Constructor & Destructor Documentation

librealsense::librealsense_exception::librealsense_exception ( const std::string msg,
rs2_exception_type  exception_type 
)
inlineprotectednoexcept

Definition at line 290 of file src/types.h.

Member Function Documentation

rs2_exception_type librealsense::librealsense_exception::get_exception_type ( ) const
inlinenoexcept

Definition at line 279 of file src/types.h.

const char* librealsense::librealsense_exception::get_message ( ) const
inlinenoexcept

Definition at line 274 of file src/types.h.

const char* librealsense::librealsense_exception::what ( ) const
inlineoverridenoexcept

Definition at line 284 of file src/types.h.

Member Data Documentation

rs2_exception_type librealsense::librealsense_exception::_exception_type
private

Definition at line 298 of file src/types.h.

std::string librealsense::librealsense_exception::_msg
private

Definition at line 297 of file src/types.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37