Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
rs2::error Class Reference

#include <rs_types.hpp>

Inheritance diagram for rs2::error:
Inheritance graph
[legend]

Public Member Functions

 error (rs2_error *err)
 
 error (const std::string &message)
 
const std::stringget_failed_args () const
 
const std::stringget_failed_function () const
 
rs2_exception_type get_type () const
 

Static Public Member Functions

static void handle (rs2_error *e)
 

Private Attributes

std::string args
 
std::string function
 
rs2_exception_type type
 

Detailed Description

Definition at line 92 of file rs_types.hpp.

Constructor & Destructor Documentation

rs2::error::error ( rs2_error err)
inlineexplicit

Definition at line 97 of file rs_types.hpp.

rs2::error::error ( const std::string message)
inlineexplicit

Definition at line 105 of file rs_types.hpp.

Member Function Documentation

const std::string& rs2::error::get_failed_args ( ) const
inline

Definition at line 117 of file rs_types.hpp.

const std::string& rs2::error::get_failed_function ( ) const
inline

Definition at line 112 of file rs_types.hpp.

rs2_exception_type rs2::error::get_type ( ) const
inline

Definition at line 122 of file rs_types.hpp.

void rs2::error::handle ( rs2_error e)
inlinestatic

Definition at line 144 of file rs_types.hpp.

Member Data Documentation

std::string rs2::error::args
private

Definition at line 94 of file rs_types.hpp.

std::string rs2::error::function
private

Definition at line 94 of file rs_types.hpp.

rs2_exception_type rs2::error::type
private

Definition at line 95 of file rs_types.hpp.


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:40