Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Loading...
Searching...
No Matches
rs_pipeline.h
Go to the documentation of this file.
1/* License: Apache 2.0. See LICENSE file in root directory.
2Copyright(c) 2017 Intel Corporation. All Rights Reserved. */
3
8
9
10#ifndef LIBREALSENSE_RS2_PIPELINE_H
11#define LIBREALSENSE_RS2_PIPELINE_H
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#include "rs_types.h"
18#include "rs_sensor.h"
19#include "rs_config.h"
20
33
43
50 void rs2_pipeline_set_device( rs2_pipeline * pipe, rs2_device * device, rs2_error ** error );
51
66 rs2_frame* rs2_pipeline_wait_for_frames(rs2_pipeline* pipe, unsigned int timeout_ms, rs2_error ** error);
67
83 int rs2_pipeline_poll_for_frames(rs2_pipeline* pipe, rs2_frame** output_frame, rs2_error ** error);
84
100 int rs2_pipeline_try_wait_for_frames(rs2_pipeline* pipe, rs2_frame** output_frame, unsigned int timeout_ms, rs2_error ** error);
101
108
122
142
156
169
189
208
220
235
244
251
252#ifdef __cplusplus
253}
254#endif
255#endif
rs2_pipeline_profile * rs2_pipeline_start_with_config_and_callback_cpp(rs2_pipeline *pipe, rs2_config *config, rs2_frame_callback *callback, rs2_error **error)
void rs2_delete_pipeline(rs2_pipeline *pipe)
void rs2_delete_pipeline_profile(rs2_pipeline_profile *profile)
rs2_pipeline_profile * rs2_pipeline_start_with_callback(rs2_pipeline *pipe, rs2_frame_callback_ptr on_frame, void *user, rs2_error **error)
rs2_pipeline_profile * rs2_pipeline_start_with_callback_cpp(rs2_pipeline *pipe, rs2_frame_callback *callback, rs2_error **error)
rs2_stream_profile_list * rs2_pipeline_profile_get_streams(rs2_pipeline_profile *profile, rs2_error **error)
rs2_pipeline_profile * rs2_pipeline_start(rs2_pipeline *pipe, rs2_error **error)
rs2_pipeline_profile * rs2_pipeline_start_with_config(rs2_pipeline *pipe, rs2_config *config, rs2_error **error)
void rs2_pipeline_set_device(rs2_pipeline *pipe, rs2_device *device, rs2_error **error)
rs2_pipeline * rs2_create_pipeline(rs2_context *ctx, rs2_error **error)
rs2_pipeline_profile * rs2_pipeline_get_active_profile(rs2_pipeline *pipe, rs2_error **error)
rs2_device * rs2_pipeline_profile_get_device(rs2_pipeline_profile *profile, rs2_error **error)
rs2_frame * rs2_pipeline_wait_for_frames(rs2_pipeline *pipe, unsigned int timeout_ms, rs2_error **error)
int rs2_pipeline_try_wait_for_frames(rs2_pipeline *pipe, rs2_frame **output_frame, unsigned int timeout_ms, rs2_error **error)
void rs2_pipeline_stop(rs2_pipeline *pipe, rs2_error **error)
rs2_pipeline_profile * rs2_pipeline_start_with_config_and_callback(rs2_pipeline *pipe, rs2_config *config, rs2_frame_callback_ptr on_frame, void *user, rs2_error **error)
int rs2_pipeline_poll_for_frames(rs2_pipeline *pipe, rs2_frame **output_frame, rs2_error **error)
Exposes RealSense sensor functionality for C compilers.
Exposes RealSense structs.
struct rs2_pipeline_profile rs2_pipeline_profile
Definition rs_types.h:236
struct rs2_device rs2_device
Definition rs_types.h:229
void(* rs2_frame_callback_ptr)(rs2_frame *, void *)
Definition rs_types.h:269
struct rs2_stream_profile_list rs2_stream_profile_list
Definition rs_types.h:239
struct rs2_error rs2_error
Definition rs_types.h:230
struct rs2_config rs2_config
Definition rs_types.h:237
struct rs2_pipeline rs2_pipeline
Definition rs_types.h:235
struct rs2_frame rs2_frame
Definition rs_types.h:233
struct rs2_context rs2_context
Definition rs_types.h:251
Definition rs_types.hpp:27