Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Attributes | List of all members
rs2_option_value Struct Reference

The value of an option, in a known option type. More...

#include <rs_option.h>

Public Attributes

rs2_option id
 
int is_valid
 
rs2_option_type type
 
union {
   char const *   as_string
 
   float   as_float
 
   int64_t   as_integer
 
   rs2_option_rect   as_rect
 
}; 
 

Detailed Description

The value of an option, in a known option type.

Member Data Documentation

◆ @1

union { ... }

◆ as_float

float rs2_option_value::as_float

◆ as_integer

int64_t rs2_option_value::as_integer

including boolean value

◆ as_rect

rs2_option_rect rs2_option_value::as_rect

◆ as_string

char const* rs2_option_value::as_string

valid only while rs2_option_value is alive!

◆ id

rs2_option rs2_option_value::id

◆ is_valid

int rs2_option_value::is_valid

0 if no value available; 1 otherwise

◆ type

rs2_option_type rs2_option_value::type

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