Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Loading...
Searching...
No Matches
rs_types.hpp File Reference
#include "../rs.h"
#include "../h/rs_context.h"
#include "../h/rs_device.h"
#include "../h/rs_frame.h"
#include "../h/rs_processing.h"
#include "../h/rs_record_playback.h"
#include "../h/rs_sensor.h"
#include "../h/rs_pipeline.h"
#include <string>
#include <vector>
#include <memory>
#include <functional>
#include <exception>
#include <iterator>
#include <sstream>
#include <chrono>
#include <cstring>

Go to the source code of this file.

Classes

struct  rs2_frame_callback
struct  rs2_frame_processor_callback
struct  rs2_notifications_callback
struct  rs2_software_device_destruction_callback
struct  rs2_log_callback
struct  rs2_calibration_change_callback
struct  rs2_devices_changed_callback
struct  rs2_playback_status_changed_callback
struct  rs2_update_progress_callback
struct  rs2_options_changed_callback
class  rs2::error
struct  rs2::option_range
struct  rs2::region_of_interest

Namespaces

namespace  rs2

Macros

#define RS2_ERROR_CLASS(name, base)

Typedefs

typedef std::shared_ptr< rs2_frame_callbackrs2_frame_callback_sptr
typedef std::shared_ptr< rs2_frame_processor_callbackrs2_frame_processor_callback_sptr
typedef std::shared_ptr< rs2_notifications_callbackrs2_notifications_callback_sptr
typedef void(* log_callback_function_ptr) (rs2_log_severity severity, rs2_log_message const *msg)
typedef std::shared_ptr< rs2_software_device_destruction_callbackrs2_software_device_destruction_callback_sptr
typedef std::shared_ptr< rs2_log_callbackrs2_log_callback_sptr
typedef std::shared_ptr< rs2_calibration_change_callbackrs2_calibration_change_callback_sptr
typedef std::shared_ptr< rs2_devices_changed_callbackrs2_devices_changed_callback_sptr
typedef std::shared_ptr< rs2_playback_status_changed_callbackrs2_playback_status_changed_callback_sptr
typedef std::shared_ptr< rs2_update_progress_callbackrs2_update_progress_callback_sptr
typedef std::shared_ptr< rs2_options_changed_callbackrs2_options_changed_callback_sptr

Functions

 rs2::RS2_ERROR_CLASS (recoverable_error, error)
 rs2::RS2_ERROR_CLASS (unrecoverable_error, error)
 rs2::RS2_ERROR_CLASS (camera_disconnected_error, unrecoverable_error)
 rs2::RS2_ERROR_CLASS (backend_error, unrecoverable_error)
 rs2::RS2_ERROR_CLASS (device_in_recovery_mode_error, unrecoverable_error)
 rs2::RS2_ERROR_CLASS (invalid_value_error, recoverable_error)
 rs2::RS2_ERROR_CLASS (wrong_api_call_sequence_error, recoverable_error)
 rs2::RS2_ERROR_CLASS (not_implemented_error, recoverable_error)
std::ostream & operator<< (std::ostream &o, rs2_vector v)
std::ostream & operator<< (std::ostream &o, rs2_quaternion q)

Macro Definition Documentation

◆ RS2_ERROR_CLASS

#define RS2_ERROR_CLASS ( name,
base )
Value:
class name : public base\
{\
public:\
explicit name(rs2_error* e) noexcept : base(e) {}\
}
struct rs2_error rs2_error
Definition rs_types.h:230

Typedef Documentation

◆ log_callback_function_ptr

typedef void(* log_callback_function_ptr) (rs2_log_severity severity, rs2_log_message const *msg)

◆ rs2_calibration_change_callback_sptr

◆ rs2_devices_changed_callback_sptr

◆ rs2_frame_callback_sptr

typedef std::shared_ptr<rs2_frame_callback> rs2_frame_callback_sptr

◆ rs2_frame_processor_callback_sptr

◆ rs2_log_callback_sptr

typedef std::shared_ptr< rs2_log_callback > rs2_log_callback_sptr

◆ rs2_notifications_callback_sptr

◆ rs2_options_changed_callback_sptr

◆ rs2_playback_status_changed_callback_sptr

◆ rs2_software_device_destruction_callback_sptr

◆ rs2_update_progress_callback_sptr

Function Documentation

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream & o,
rs2_quaternion q )
inline

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream & o,
rs2_vector v )
inline