Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
RSSensor Class Reference
Inheritance diagram for RSSensor:
Inheritance graph
[legend]

Public Member Functions

rs2_optionsGetOptionsPointer () override
 
void ReplaceFrame (rs2_frame *raw_frame)
 

Static Public Member Functions

static void Init (v8::Local< v8::Object > exports)
 
static v8::Local< v8::Object > NewInstance (rs2_sensor *sensor)
 

Private Member Functions

void DestroyMe ()
 
void RegisterNotificationCallbackMethod ()
 
 RSSensor ()
 
 ~RSSensor ()
 
- Private Member Functions inherited from Options
void GetOptionDescriptionInternal (const Nan::FunctionCallbackInfo< v8::Value > &info)
 
void GetOptionInternal (const Nan::FunctionCallbackInfo< v8::Value > &info)
 
void GetOptionRangeInternal (const Nan::FunctionCallbackInfo< v8::Value > &info)
 
void GetOptionValueDescriptionInternal (const Nan::FunctionCallbackInfo< v8::Value > &info)
 
void IsOptionReadonlyInternal (const Nan::FunctionCallbackInfo< v8::Value > &info)
 
 Options ()
 
void SetOptionInternal (const Nan::FunctionCallbackInfo< v8::Value > &info)
 
void SupportsOptionInternal (const Nan::FunctionCallbackInfo< v8::Value > &info)
 
virtual ~Options ()
 

Static Private Member Functions

static NAN_METHOD (SupportsOption)
 
static NAN_METHOD (GetOption)
 
static NAN_METHOD (GetOptionDescription)
 
static NAN_METHOD (GetOptionValueDescription)
 
static NAN_METHOD (SetOption)
 
static NAN_METHOD (GetOptionRange)
 
static NAN_METHOD (IsOptionReadonly)
 
static NAN_METHOD (GetCameraInfo)
 
static NAN_METHOD (StartWithSyncer)
 
static NAN_METHOD (StartWithCallback)
 
static NAN_METHOD (Destroy)
 
static NAN_METHOD (OpenStream)
 
static NAN_METHOD (OpenMultipleStream)
 
static NAN_METHOD (Stop)
 
static NAN_METHOD (GetStreamProfiles)
 
static NAN_METHOD (SupportsCameraInfo)
 
static NAN_METHOD (Close)
 
static NAN_METHOD (SetNotificationCallback)
 
static NAN_METHOD (SetRegionOfInterest)
 
static NAN_METHOD (GetRegionOfInterest)
 
static NAN_METHOD (GetDepthScale)
 
static NAN_METHOD (Is)
 
static NAN_METHOD (IsROISensor)
 
static void New (const Nan::FunctionCallbackInfo< v8::Value > &info)
 

Private Attributes

RSFramedepth_frame_
 
RSFramedisparity_frame_
 
rs2_errorerror_
 
RSFrameframe_
 
std::string frame_callback_name_
 
RSFramemotion_frame_
 
std::string notification_callback_name_
 
RSFramepose_frame_
 
rs2_stream_profile_listprofile_list_
 
rs2_sensorsensor_
 
RSFramevideo_frame_
 

Static Private Attributes

static Nan::Persistent< v8::Function > constructor_
 

Friends

class DevicesChangedCallbackInfo
 
class FrameCallbackInfo
 
class NotificationCallbackInfo
 
class RSContext
 

Detailed Description

Definition at line 2014 of file addon.cpp.

Constructor & Destructor Documentation

RSSensor::RSSensor ( )
inlineprivate

Definition at line 2103 of file addon.cpp.

RSSensor::~RSSensor ( )
inlineprivate

Definition at line 2107 of file addon.cpp.

Member Function Documentation

void RSSensor::DestroyMe ( )
inlineprivate

Definition at line 2113 of file addon.cpp.

rs2_options* RSSensor::GetOptionsPointer ( )
inlineoverridevirtual

Implements Options.

Definition at line 2067 of file addon.cpp.

static void RSSensor::Init ( v8::Local< v8::Object >  exports)
inlinestatic

Definition at line 2016 of file addon.cpp.

static RSSensor::NAN_METHOD ( SupportsOption  )
inlinestaticprivate

Definition at line 2130 of file addon.cpp.

static RSSensor::NAN_METHOD ( GetOption  )
inlinestaticprivate

Definition at line 2137 of file addon.cpp.

static RSSensor::NAN_METHOD ( GetOptionDescription  )
inlinestaticprivate

Definition at line 2144 of file addon.cpp.

static RSSensor::NAN_METHOD ( GetOptionValueDescription  )
inlinestaticprivate

Definition at line 2151 of file addon.cpp.

static RSSensor::NAN_METHOD ( SetOption  )
inlinestaticprivate

Definition at line 2158 of file addon.cpp.

static RSSensor::NAN_METHOD ( GetOptionRange  )
inlinestaticprivate

Definition at line 2165 of file addon.cpp.

static RSSensor::NAN_METHOD ( IsOptionReadonly  )
inlinestaticprivate

Definition at line 2172 of file addon.cpp.

static RSSensor::NAN_METHOD ( GetCameraInfo  )
inlinestaticprivate

Definition at line 2179 of file addon.cpp.

static RSSensor::NAN_METHOD ( StartWithSyncer  )
inlinestaticprivate

Definition at line 2193 of file addon.cpp.

static RSSensor::NAN_METHOD ( StartWithCallback  )
inlinestaticprivate

Definition at line 2203 of file addon.cpp.

static RSSensor::NAN_METHOD ( Destroy  )
inlinestaticprivate

Definition at line 2227 of file addon.cpp.

static RSSensor::NAN_METHOD ( OpenStream  )
inlinestaticprivate

Definition at line 2235 of file addon.cpp.

static RSSensor::NAN_METHOD ( OpenMultipleStream  )
inlinestaticprivate

Definition at line 2246 of file addon.cpp.

static RSSensor::NAN_METHOD ( Stop  )
inlinestaticprivate

Definition at line 2264 of file addon.cpp.

static RSSensor::NAN_METHOD ( GetStreamProfiles  )
inlinestaticprivate

Definition at line 2271 of file addon.cpp.

static RSSensor::NAN_METHOD ( SupportsCameraInfo  )
inlinestaticprivate

Definition at line 2297 of file addon.cpp.

static RSSensor::NAN_METHOD ( Close  )
inlinestaticprivate

Definition at line 2308 of file addon.cpp.

static RSSensor::NAN_METHOD ( SetNotificationCallback  )
inlinestaticprivate

Definition at line 2315 of file addon.cpp.

static RSSensor::NAN_METHOD ( SetRegionOfInterest  )
inlinestaticprivate

Definition at line 2324 of file addon.cpp.

static RSSensor::NAN_METHOD ( GetRegionOfInterest  )
inlinestaticprivate

Definition at line 2337 of file addon.cpp.

static RSSensor::NAN_METHOD ( GetDepthScale  )
inlinestaticprivate

Definition at line 2353 of file addon.cpp.

static RSSensor::NAN_METHOD ( Is  )
inlinestaticprivate

Definition at line 2365 of file addon.cpp.

static RSSensor::NAN_METHOD ( IsROISensor  )
inlinestaticprivate

Definition at line 2379 of file addon.cpp.

static void RSSensor::New ( const Nan::FunctionCallbackInfo< v8::Value > &  info)
inlinestaticprivate

Definition at line 2122 of file addon.cpp.

static v8::Local<v8::Object> RSSensor::NewInstance ( rs2_sensor sensor)
inlinestatic

Definition at line 2053 of file addon.cpp.

void RSSensor::RegisterNotificationCallbackMethod ( )
private

Definition at line 2412 of file addon.cpp.

void RSSensor::ReplaceFrame ( rs2_frame raw_frame)
inline

Definition at line 2073 of file addon.cpp.

Friends And Related Function Documentation

friend class DevicesChangedCallbackInfo
friend

Definition at line 2405 of file addon.cpp.

friend class FrameCallbackInfo
friend

Definition at line 2406 of file addon.cpp.

friend class NotificationCallbackInfo
friend

Definition at line 2407 of file addon.cpp.

friend class RSContext
friend

Definition at line 2404 of file addon.cpp.

Member Data Documentation

Nan::Persistent< v8::Function > RSSensor::constructor_
staticprivate

Definition at line 2392 of file addon.cpp.

RSFrame* RSSensor::depth_frame_
private

Definition at line 2400 of file addon.cpp.

RSFrame* RSSensor::disparity_frame_
private

Definition at line 2401 of file addon.cpp.

rs2_error* RSSensor::error_
private

Definition at line 2394 of file addon.cpp.

RSFrame* RSSensor::frame_
private

Definition at line 2398 of file addon.cpp.

std::string RSSensor::frame_callback_name_
private

Definition at line 2396 of file addon.cpp.

RSFrame* RSSensor::motion_frame_
private

Definition at line 2402 of file addon.cpp.

std::string RSSensor::notification_callback_name_
private

Definition at line 2397 of file addon.cpp.

RSFrame* RSSensor::pose_frame_
private

Definition at line 2403 of file addon.cpp.

rs2_stream_profile_list* RSSensor::profile_list_
private

Definition at line 2395 of file addon.cpp.

rs2_sensor* RSSensor::sensor_
private

Definition at line 2393 of file addon.cpp.

RSFrame* RSSensor::video_frame_
private

Definition at line 2399 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:32