Classes | Namespaces | Defines | Typedefs | Functions | Variables
types.h File Reference
#include "../include/librealsense/rs.h"
#include "../include/librealsense/rscore.hpp"
#include <cassert>
#include <cstring>
#include <vector>
#include <sstream>
#include <mutex>
#include <condition_variable>
#include <memory>
#include <atomic>
#include <map>
#include <algorithm>
#include <functional>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rsimpl::big_endian< T >
class  rsimpl::calibration_validator
struct  rsimpl::data_polling_request
struct  rsimpl::device_config
class  rsimpl::firmware_version
struct  rsimpl::float3
struct  rsimpl::float3x3
class  rsimpl::frame_callback
class  rsimpl::frame_callback_ptr
class  rsimpl::frame_continuation
struct  rsimpl::int2
struct  rsimpl::interstream_rule
class  rsimpl::log_callback
class  rsimpl::motion_events_callback
struct  rsimpl::native_pixel_format
struct  rsimpl::pixel_format_unpacker
struct  rsimpl::pose
class  rsimpl::small_heap< T, C >
struct  rsimpl::static_device_info
struct  rsimpl::stream_request
struct  rsimpl::subdevice_mode
struct  rsimpl::subdevice_mode_selection
struct  rsimpl::supported_capability
struct  rsimpl::supported_option
class  rsimpl::timestamp_events_callback
struct  rsimpl::to_string

Namespaces

namespace  rsimpl

Defines

#define LOG(SEVERITY,...)   do { if(static_cast<int>(SEVERITY) >= rsimpl::get_minimum_severity()) { std::ostringstream ss; ss << __VA_ARGS__; rsimpl::log(SEVERITY, ss.str()); } } while(false)
#define LOG_DEBUG(...)   LOG(RS_LOG_SEVERITY_DEBUG, __VA_ARGS__)
#define LOG_ERROR(...)   LOG(RS_LOG_SEVERITY_ERROR, __VA_ARGS__)
#define LOG_FATAL(...)   LOG(RS_LOG_SEVERITY_FATAL, __VA_ARGS__)
#define LOG_INFO(...)   LOG(RS_LOG_SEVERITY_INFO, __VA_ARGS__)
#define LOG_WARNING(...)   LOG(RS_LOG_SEVERITY_WARN, __VA_ARGS__)
#define RS_ENUM_HELPERS(TYPE, PREFIX)

Typedefs

typedef uint8_t rsimpl::byte
typedef void(* rsimpl::frame_callback_function_ptr )(rs_device *dev, rs_frame_ref *frame, void *user)
typedef void(* rsimpl::log_callback_function_ptr )(rs_log_severity severity, const char *message, void *user)
typedef std::unique_ptr
< rs_log_callback, void(*)(rs_log_callback *) 
rsimpl::log_callback_ptr )
typedef void(* rsimpl::motion_callback_function_ptr )(rs_device *dev, rs_motion_data data, void *user)
typedef std::unique_ptr
< rs_motion_callback, void(*)(rs_motion_callback *) 
rsimpl::motion_callback_ptr )
typedef void(* rsimpl::timestamp_callback_function_ptr )(rs_device *dev, rs_timestamp_data data, void *user)
typedef std::unique_ptr
< rs_timestamp_callback, void(*)(rs_timestamp_callback *) 
rsimpl::timestamp_callback_ptr )

Functions

bool rsimpl::check_not_all_zeros (std::vector< byte > data)
rs_log_severity rsimpl::get_minimum_severity ()
pose rsimpl::inverse (const pose &a)
void rsimpl::log (rs_log_severity severity, const std::string &message)
void rsimpl::log_to_callback (rs_log_severity min_severity, rs_log_callback *callback)
void rsimpl::log_to_callback (rs_log_severity min_severity, void(*on_log)(rs_log_severity min_severity, const char *message, void *user), void *user)
void rsimpl::log_to_console (rs_log_severity min_severity)
void rsimpl::log_to_file (rs_log_severity min_severity, const char *file_path)
float3 rsimpl::operator* (const float3 &a, float b)
float3 rsimpl::operator* (const float3x3 &a, const float3 &b)
float3x3 rsimpl::operator* (const float3x3 &a, const float3x3 &b)
float3 rsimpl::operator* (const pose &a, const float3 &b)
pose rsimpl::operator* (const pose &a, const pose &b)
float3 rsimpl::operator+ (const float3 &a, const float3 &b)
bool rsimpl::operator== (const float3 &a, const float3 &b)
bool rsimpl::operator== (const float3x3 &a, const float3x3 &b)
bool rsimpl::operator== (const pose &a, const pose &b)
bool rsimpl::operator== (const rs_intrinsics &a, const rs_intrinsics &b)
uint32_t rsimpl::pack (uint8_t c0, uint8_t c1, uint8_t c2, uint8_t c3)
rs_intrinsics rsimpl::pad_crop_intrinsics (const rs_intrinsics &i, int pad_crop)
rs_intrinsics rsimpl::scale_intrinsics (const rs_intrinsics &i, int width, int height)
float3x3 rsimpl::transpose (const float3x3 &a)

Variables

const int RS_MAX_EVENT_QUEUE_SIZE = 500
const int RS_MAX_EVENT_TIME_OUT = 20
const uint8_t RS_STREAM_NATIVE_COUNT = 5
const int RS_USER_QUEUE_SIZE = 20

Define Documentation

#define LOG (   SEVERITY,
  ... 
)    do { if(static_cast<int>(SEVERITY) >= rsimpl::get_minimum_severity()) { std::ostringstream ss; ss << __VA_ARGS__; rsimpl::log(SEVERITY, ss.str()); } } while(false)

Definition at line 76 of file types.h.

#define LOG_DEBUG (   ...)    LOG(RS_LOG_SEVERITY_DEBUG, __VA_ARGS__)

Definition at line 77 of file types.h.

#define LOG_ERROR (   ...)    LOG(RS_LOG_SEVERITY_ERROR, __VA_ARGS__)

Definition at line 80 of file types.h.

#define LOG_FATAL (   ...)    LOG(RS_LOG_SEVERITY_FATAL, __VA_ARGS__)

Definition at line 81 of file types.h.

#define LOG_INFO (   ...)    LOG(RS_LOG_SEVERITY_INFO, __VA_ARGS__)

Definition at line 78 of file types.h.

#define LOG_WARNING (   ...)    LOG(RS_LOG_SEVERITY_WARN, __VA_ARGS__)

Definition at line 79 of file types.h.

#define RS_ENUM_HELPERS (   TYPE,
  PREFIX 
)
Value:
const char * get_string(TYPE value); \
        inline bool is_valid(TYPE value) { return value >= 0 && value < RS_##PREFIX##_COUNT; } \
        inline std::ostream & operator << (std::ostream & out, TYPE value) { if(is_valid(value)) return out << get_string(value); else return out << (int)value; }

Definition at line 87 of file types.h.


Variable Documentation

Definition at line 31 of file types.h.

Definition at line 32 of file types.h.

const uint8_t RS_STREAM_NATIVE_COUNT = 5

Definition at line 27 of file types.h.

const int RS_USER_QUEUE_SIZE = 20

Definition at line 28 of file types.h.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:40