#include <RealSenseContext.h>
Public Member Functions | |
class URealSenseDevice * | FindDeviceBySerial (FString Serial) |
class URealSenseDevice * | GetDeviceById (int Id) |
struct rs2_context * | GetHandle () |
void | QueryDevices () |
virtual | ~URealSenseContext () |
Static Public Member Functions | |
static URealSenseContext * | GetRealSense () |
Public Attributes | |
TArray< class URealSenseDevice * > | Devices |
Private Member Functions | |
class URealSenseDevice * | NewDevice (struct rs2_device *Handle, const TCHAR *Name) |
void | SetHandle (struct rs2_context *Handle) |
Private Attributes | |
FCriticalSection | DevicesMx |
struct rs2_context * | RsContext = nullptr |
Friends | |
class | FRealSensePlugin |
Definition at line 7 of file RealSenseContext.h.
|
virtual |
Definition at line 9 of file RealSenseContext.cpp.
URealSenseDevice * URealSenseContext::FindDeviceBySerial | ( | FString | Serial | ) |
Definition at line 74 of file RealSenseContext.cpp.
URealSenseDevice * URealSenseContext::GetDeviceById | ( | int | Id | ) |
Definition at line 67 of file RealSenseContext.cpp.
rs2_context * URealSenseContext::GetHandle | ( | ) |
Definition at line 19 of file RealSenseContext.cpp.
|
static |
Definition at line 24 of file RealSenseContext.cpp.
|
private |
Definition at line 29 of file RealSenseContext.cpp.
void URealSenseContext::QueryDevices | ( | ) |
Definition at line 36 of file RealSenseContext.cpp.
|
private |
Definition at line 14 of file RealSenseContext.cpp.
|
friend |
Definition at line 10 of file RealSenseContext.h.
TArray<class URealSenseDevice*> URealSenseContext::Devices |
Definition at line 30 of file RealSenseContext.h.
|
private |
Definition at line 38 of file RealSenseContext.h.
|
private |
Definition at line 37 of file RealSenseContext.h.