RecFusion SDK
SensorManager Class Reference

#include <Sensor.h>

Instantiates RGB-D sensors supported by RecFusion, needs to exist as long as the instantiated sensors are in use. More...

Detailed Description

Instantiates RGB-D sensors supported by RecFusion, needs to exist as long as the instantiated sensors are in use.

Public Member Functions

 ~SensorManager ()
 Destructor which destroys all instantiated sensors.
 
int deviceCount ()
 Get number of available sensors. More...
 
Sensorsensor (unsigned int id)
 Get sensor. More...
 

Member Function Documentation

◆ deviceCount()

int deviceCount ( )

Get number of available sensors.

Returns
Number of available sensors.

◆ sensor()

Sensor* sensor ( unsigned int  id)

Get sensor.

Parameters
idSensor ID in the range 0 to deviceCount-1
Returns
Return sensor object, caller is NOT responsible for the memory deallocation. Memory will be deallocated when the SensorManager is destructed

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close