8 #ifndef LIBREALSENSE_UNITTESTS_LIVE_DS_COMMON_H 9 #define LIBREALSENSE_UNITTESTS_LIVE_DS_COMMON_H 27 #define NOEXCEPT_FALSE 29 #define NOEXCEPT_FALSE noexcept(false) 35 static const std::vector<std::string>
ds_names = {
"Intel RealSense R200" ,
"Intel RealSense LR200",
"Intel RealSense ZR300" };
int rs_get_device_count(const rs_context *context, rs_error **error)
Determines number of connected devices.
GLsizei const GLchar *const * string
const char * rs_get_device_name(const rs_device *device, rs_error **error)
Retrieves human-readable device model string.
rs_option
Defines general configuration controls.
void test_ds_device_streaming(std::initializer_list< stream_mode > modes)
void test_streaming(rs_device *device, std::initializer_list< stream_mode > modes)
void test_option(rs_device *device, rs_option option, std::initializer_list< int > good_values, std::initializer_list< int > bad_values)
GLenum GLsizei GLsizei GLint * values
rs_device * rs_get_device(rs_context *context, int index, rs_error **error)
Retrieves connected device by index.
void rs_enable_stream_preset(rs_device *device, rs_stream stream, rs_preset preset, rs_error **error)
Enables a specific stream and requests properties using a preset.
void rs_start_device(rs_device *device, rs_error **error)
Begins streaming on all enabled streams for this device.
void test_ds_device_option(rs_option option, std::initializer_list< int > values, std::initializer_list< int > bad_values, int when)
static const std::vector< std::string > ds_names