Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
ErrorUtil Class Reference

Classes

class  ErrorInfo
 

Public Member Functions

 ~ErrorUtil ()
 

Static Public Member Functions

static void AnalyzeError (rs2_error *err)
 
static v8::Local< v8::Value > GetJSErrorObject ()
 
static void Init ()
 
static void ResetError ()
 
static void UpdateJSErrorCallback (const Nan::FunctionCallbackInfo< v8::Value > &info)
 

Private Member Functions

void MarkError (bool recoverable, std::string description, std::string native_function)
 

Private Attributes

ErrorInfo error_info_
 
std::string js_error_callback_name_
 
Nan::Persistent< v8::Object > js_error_container_
 

Static Private Attributes

static ErrorUtilsingleton_ = nullptr
 

Detailed Description

Definition at line 91 of file addon.cpp.

Constructor & Destructor Documentation

ErrorUtil::~ErrorUtil ( )
inline

Definition at line 127 of file addon.cpp.

Member Function Documentation

static void ErrorUtil::AnalyzeError ( rs2_error err)
inlinestatic

Definition at line 141 of file addon.cpp.

static v8::Local<v8::Value> ErrorUtil::GetJSErrorObject ( )
inlinestatic

Definition at line 162 of file addon.cpp.

static void ErrorUtil::Init ( )
inlinestatic

Definition at line 129 of file addon.cpp.

void ErrorUtil::MarkError ( bool  recoverable,
std::string  description,
std::string  native_function 
)
inlineprivate

Definition at line 171 of file addon.cpp.

static void ErrorUtil::ResetError ( )
inlinestatic

Definition at line 158 of file addon.cpp.

static void ErrorUtil::UpdateJSErrorCallback ( const Nan::FunctionCallbackInfo< v8::Value > &  info)
inlinestatic

Definition at line 133 of file addon.cpp.

Member Data Documentation

ErrorInfo ErrorUtil::error_info_
private

Definition at line 183 of file addon.cpp.

std::string ErrorUtil::js_error_callback_name_
private

Definition at line 185 of file addon.cpp.

Nan::Persistent<v8::Object> ErrorUtil::js_error_container_
private

Definition at line 184 of file addon.cpp.

ErrorUtil * ErrorUtil::singleton_ = nullptr
staticprivate

Definition at line 182 of file addon.cpp.


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