32 #ifndef DEPTH_SENSOR_INTERFACE_H 33 #define DEPTH_SENSOR_INTERFACE_H 35 #include <aditof/frame_definitions.h> 36 #include <aditof/sensor_definitions.h> 37 #include <aditof/status_definitions.h> 119 uint16_t *data,
size_t length) = 0;
130 const uint16_t *data,
161 #endif // DEPTH_SENSOR_INTERFACE_H virtual aditof::Status getName(std::string &sensorName) const =0
Get the name of the available image sensor.
virtual aditof::Status setFrameType(const aditof::FrameDetails &details)=0
Set the sensor frame type to the given type.
virtual ~DepthSensorInterface()=default
Destructor.
virtual aditof::Status stop()=0
Stop the sensor data stream.
virtual aditof::Status getFrame(uint16_t *buffer, aditof::BufferInfo *bufferInfo=nullptr)=0
Request a frame from the sensor.
virtual aditof::Status start()=0
Start the streaming of data from the sensor.
virtual aditof::Status getHandle(void **handle)=0
Gets a handle to be used by other devices such as Storage, Temperature, etc. This handle will allow t...
Provides extra details for the frame buffer.
Provides details about the device.
Provides access to the low level functionality of the camera sensor. This includes sensor configurati...
virtual aditof::Status readAfeRegisters(const uint16_t *address, uint16_t *data, size_t length)=0
Read multiple registers from AFE.
virtual aditof::Status getDetails(aditof::SensorDetails &details) const =0
Get a structure that contains information about the instance of the sensor.
virtual aditof::Status program(const uint8_t *firmware, size_t size)=0
Program the sensor with the given firmware.
Status
Status of any operation that the TOF sdk performs.
virtual aditof::Status getAvailableFrameTypes(std::vector< aditof::FrameDetails > &types)=0
Return all frame types that are supported by the sensor.
Describes the properties of a frame.
virtual aditof::Status writeAfeRegisters(const uint16_t *address, const uint16_t *data, size_t length)=0
Write to multiple AFE registers.
virtual aditof::Status open()=0
Open the communication channels with the hardware.