Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
oni::driver::Rs2Driver Class Reference

#include <Rs2Driver.h>

Inheritance diagram for oni::driver::Rs2Driver:
Inheritance graph
[legend]

Public Member Functions

virtual void deviceClose (DeviceBase *deviceBase)
 
virtual DeviceBase * deviceOpen (const char *uri, const char *mode)
 
virtual void devicesChanged (rs2_device_list *removed, rs2_device_list *added)
 
virtual void disableFrameSync (void *frameSyncGroup)
 
virtual voidenableFrameSync (StreamBase **streams, int streamCount)
 
rs2_contextgetRsContext ()
 
virtual OniStatus initialize (DeviceConnectedCallback connectedCallback, DeviceDisconnectedCallback disconnectedCallback, DeviceStateChangedCallback deviceStateChangedCallback, void *cookie)
 
 Rs2Driver (OniDriverServices *driverServices)
 
virtual void shutdown ()
 
virtual OniStatus tryDevice (const char *uri)
 
virtual ~Rs2Driver ()
 

Static Public Member Functions

static void devicesChangedCallback (rs2_device_list *removed, rs2_device_list *added, void *param)
 

Protected Member Functions

void enumerateDevices ()
 
void operator= (const Rs2Driver &)
 
 Rs2Driver (const Rs2Driver &)
 

Protected Attributes

rs2_contextm_context
 
std::map< std::string, class Rs2Device * > m_devices
 
Rs2Mutex m_devicesMx
 
Rs2Mutex m_stateMx
 

Detailed Description

Definition at line 7 of file Rs2Driver.h.

Constructor & Destructor Documentation

oni::driver::Rs2Driver::Rs2Driver ( OniDriverServices *  driverServices)

Definition at line 9 of file Rs2Driver.cpp.

oni::driver::Rs2Driver::~Rs2Driver ( )
virtual

Definition at line 18 of file Rs2Driver.cpp.

oni::driver::Rs2Driver::Rs2Driver ( const Rs2Driver )
protected

Member Function Documentation

void oni::driver::Rs2Driver::deviceClose ( DeviceBase *  deviceBase)
virtual

Definition at line 235 of file Rs2Driver.cpp.

DeviceBase * oni::driver::Rs2Driver::deviceOpen ( const char *  uri,
const char *  mode 
)
virtual

Definition at line 163 of file Rs2Driver.cpp.

void oni::driver::Rs2Driver::devicesChanged ( rs2_device_list removed,
rs2_device_list added 
)
virtual

Definition at line 115 of file Rs2Driver.cpp.

void oni::driver::Rs2Driver::devicesChangedCallback ( rs2_device_list removed,
rs2_device_list added,
void param 
)
static

Definition at line 110 of file Rs2Driver.cpp.

void oni::driver::Rs2Driver::disableFrameSync ( void frameSyncGroup)
virtual

Definition at line 263 of file Rs2Driver.cpp.

void * oni::driver::Rs2Driver::enableFrameSync ( StreamBase **  streams,
int  streamCount 
)
virtual

Definition at line 256 of file Rs2Driver.cpp.

void oni::driver::Rs2Driver::enumerateDevices ( )
protected

Definition at line 93 of file Rs2Driver.cpp.

rs2_context* oni::driver::Rs2Driver::getRsContext ( )
inline

Definition at line 32 of file Rs2Driver.h.

OniStatus oni::driver::Rs2Driver::initialize ( DeviceConnectedCallback  connectedCallback,
DeviceDisconnectedCallback  disconnectedCallback,
DeviceStateChangedCallback  deviceStateChangedCallback,
void cookie 
)
virtual

Definition at line 25 of file Rs2Driver.cpp.

void oni::driver::Rs2Driver::operator= ( const Rs2Driver )
protected
void oni::driver::Rs2Driver::shutdown ( )
virtual

Definition at line 74 of file Rs2Driver.cpp.

OniStatus oni::driver::Rs2Driver::tryDevice ( const char *  uri)
virtual

Definition at line 249 of file Rs2Driver.cpp.

Member Data Documentation

rs2_context* oni::driver::Rs2Driver::m_context
protected

Definition at line 45 of file Rs2Driver.h.

std::map<std::string, class Rs2Device*> oni::driver::Rs2Driver::m_devices
protected

Definition at line 46 of file Rs2Driver.h.

Rs2Mutex oni::driver::Rs2Driver::m_devicesMx
protected

Definition at line 44 of file Rs2Driver.h.

Rs2Mutex oni::driver::Rs2Driver::m_stateMx
protected

Definition at line 43 of file Rs2Driver.h.


The documentation for this class was generated from the following files:


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