#include <usb_utils.h>
Definition at line 46 of file usb_utils.h.
◆ depthSensorModeDetailsToProtoMsg()
Converts a DepthSensorModeDetails to a protobuf message.
- Parameters
-
| depthSensorModeDetails | - the structure to convert. |
[out] | protoMsg | - the buffer cotaining the serialized data. |
Definition at line 70 of file usb_utils.cpp.
◆ protoMsgToDepthSensorModeDetails()
void UsbUtils::protoMsgToDepthSensorModeDetails |
( |
std::vector< aditof::DepthSensorModeDetails > & |
depthSensorModeDetailsVector, |
|
|
const usb_payload::DepthSensorModeDetailsVector & |
protoMsg |
|
) |
| |
|
static |
Converts from protobuf message to aditof type (vector of DepthSensorModeDetails)
- Parameters
-
[out] | depthSensorModeDetails | - the vector obtained from conversion |
| protoMsg | - The protobuf message to be converted |
Definition at line 40 of file usb_utils.cpp.
The documentation for this class was generated from the following files: