Intel® RealSense™ Cross Platform API  2.13.0
Intel Realsense Cross-platform API
Public Member Functions | List of all members
rs2::event_information Class Reference

#include <rs_context.hpp>

Public Member Functions

 event_information (device_list removed, device_list added)
 
bool was_removed (const rs2::device &dev) const
 
device_list get_new_devices () const
 

Constructor & Destructor Documentation

◆ event_information()

rs2::event_information::event_information ( device_list  removed,
device_list  added 
)
inline

Member Function Documentation

◆ get_new_devices()

device_list rs2::event_information::get_new_devices ( ) const
inline

returns a list of all newly connected devices

Returns
the list of all new connected devices

◆ was_removed()

bool rs2::event_information::was_removed ( const rs2::device dev) const
inline

check if specific device was disconnected

Returns
true if device disconnected, false if device connected

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