Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
librealsense::platform::win_event_device_watcher Class Reference
Inheritance diagram for librealsense::platform::win_event_device_watcher:
Inheritance graph
[legend]

Classes

struct  extra_data
 

Public Member Functions

void start (device_changed_callback callback) override
 
void stop () override
 
 win_event_device_watcher (const backend *backend)
 
 ~win_event_device_watcher ()
 
- Public Member Functions inherited from librealsense::platform::device_watcher
virtual ~device_watcher ()
 

Private Member Functions

void run ()
 

Static Private Member Functions

static BOOL DoRegisterDeviceInterfaceToHwnd (HWND hWnd)
 
static LRESULT CALLBACK on_win_event (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 

Private Attributes

struct librealsense::platform::win_event_device_watcher::extra_data _data
 
std::mutex _m
 
std::thread _thread
 

Detailed Description

Definition at line 143 of file mf-backend.cpp.

Constructor & Destructor Documentation

librealsense::platform::win_event_device_watcher::win_event_device_watcher ( const backend backend)
inline

Definition at line 146 of file mf-backend.cpp.

librealsense::platform::win_event_device_watcher::~win_event_device_watcher ( )
inline

Definition at line 152 of file mf-backend.cpp.

Member Function Documentation

static BOOL librealsense::platform::win_event_device_watcher::DoRegisterDeviceInterfaceToHwnd ( HWND  hWnd)
inlinestaticprivate

Definition at line 292 of file mf-backend.cpp.

static LRESULT CALLBACK librealsense::platform::win_event_device_watcher::on_win_event ( HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
)
inlinestaticprivate

Definition at line 220 of file mf-backend.cpp.

void librealsense::platform::win_event_device_watcher::run ( )
inlineprivate

Definition at line 186 of file mf-backend.cpp.

void librealsense::platform::win_event_device_watcher::start ( device_changed_callback  callback)
inlineoverridevirtual

Implements librealsense::platform::device_watcher.

Definition at line 154 of file mf-backend.cpp.

void librealsense::platform::win_event_device_watcher::stop ( )
inlineoverridevirtual

Implements librealsense::platform::device_watcher.

Definition at line 163 of file mf-backend.cpp.

Member Data Documentation

struct librealsense::platform::win_event_device_watcher::extra_data librealsense::platform::win_event_device_watcher::_data
private
std::mutex librealsense::platform::win_event_device_watcher::_m
private

Definition at line 174 of file mf-backend.cpp.

std::thread librealsense::platform::win_event_device_watcher::_thread
private

Definition at line 173 of file mf-backend.cpp.


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


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