5 namespace oni {
namespace driver {
11 Rs2Driver(OniDriverServices* driverServices);
15 DeviceConnectedCallback connectedCallback,
16 DeviceDisconnectedCallback disconnectedCallback,
17 DeviceStateChangedCallback deviceStateChangedCallback,
27 virtual OniStatus
tryDevice(
const char* uri);
rs2_context * getRsContext()
virtual OniStatus initialize(DeviceConnectedCallback connectedCallback, DeviceDisconnectedCallback disconnectedCallback, DeviceStateChangedCallback deviceStateChangedCallback, void *cookie)
virtual void disableFrameSync(void *frameSyncGroup)
virtual DeviceBase * deviceOpen(const char *uri, const char *mode)
static void devicesChangedCallback(rs2_device_list *removed, rs2_device_list *added, void *param)
virtual void deviceClose(DeviceBase *deviceBase)
void operator=(const Rs2Driver &)
virtual OniStatus tryDevice(const char *uri)
virtual void * enableFrameSync(StreamBase **streams, int streamCount)
virtual void devicesChanged(rs2_device_list *removed, rs2_device_list *added)
std::map< std::string, class Rs2Device * > m_devices
Rs2Driver(OniDriverServices *driverServices)