Classes | Namespaces | Macros | Typedefs | Functions
Rs2Base.h File Reference
#include <Driver/OniDriverAPI.h>
#include <librealsense2/rs.h>
#include <librealsense2/h/rs_pipeline.h>
#include <vector>
#include <list>
#include <map>
#include <mutex>
#include <thread>
Include dependency graph for Rs2Base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  oni::driver::Rs2Error
 

Namespaces

 oni
 
 oni::driver
 

Macros

#define INIT_PROFILER
 
#define NAMED_PROFILER(name)
 
#define ONI_MAX_DEPTH   10000
 
#define RS2_ASSERT   assert
 
#define RS2_EMULATE_PRIMESENSE_HARDWARE
 
#define rsLogDebug(format, ...)   printf("[RS2] " format "\n", ## __VA_ARGS__)
 
#define rsTraceError(format, ...)   printf("[RS2] ERROR at FILE %s LINE %d FUNC %s\n\t" format "\n", __FILE__, __LINE__, __FUNCTION__, ## __VA_ARGS__)
 
#define rsTraceFunc(format, ...)   printf("[RS2] %s " format "\n", __FUNCTION__, ## __VA_ARGS__)
 
#define SCOPED_PROFILER
 
#define SHUT_PROFILER
 

Typedefs

typedef std::mutex oni::driver::Rs2Mutex
 
typedef std::lock_guard< std::mutex > oni::driver::Rs2ScopedMutex
 

Functions

OniPixelFormat oni::driver::convertPixelFormat (rs2_format type)
 
rs2_format oni::driver::convertPixelFormat (OniPixelFormat type)
 
OniSensorType oni::driver::convertStreamType (rs2_stream type)
 
rs2_stream oni::driver::convertStreamType (OniSensorType type)
 
int oni::driver::getPixelFormatBytes (rs2_format type)
 
bool oni::driver::isSupportedPixelFormat (rs2_format type)
 
bool oni::driver::isSupportedStreamType (rs2_stream type)
 

Macro Definition Documentation

#define INIT_PROFILER

Definition at line 29 of file Rs2Base.h.

#define NAMED_PROFILER (   name)

Definition at line 31 of file Rs2Base.h.

#define ONI_MAX_DEPTH   10000

Definition at line 17 of file Rs2Base.h.

#define RS2_ASSERT   assert

Definition at line 38 of file Rs2Base.h.

#define RS2_EMULATE_PRIMESENSE_HARDWARE

Definition at line 18 of file Rs2Base.h.

#define rsLogDebug (   format,
  ... 
)    printf("[RS2] " format "\n", ## __VA_ARGS__)

Definition at line 43 of file Rs2Base.h.

#define rsTraceError (   format,
  ... 
)    printf("[RS2] ERROR at FILE %s LINE %d FUNC %s\n\t" format "\n", __FILE__, __LINE__, __FUNCTION__, ## __VA_ARGS__)

Definition at line 41 of file Rs2Base.h.

#define rsTraceFunc (   format,
  ... 
)    printf("[RS2] %s " format "\n", __FUNCTION__, ## __VA_ARGS__)

Definition at line 42 of file Rs2Base.h.

#define SCOPED_PROFILER

Definition at line 32 of file Rs2Base.h.

#define SHUT_PROFILER

Definition at line 30 of file Rs2Base.h.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:28