Static Public Member Functions | List of all members
UsbUtils Class Reference

#include <usb_utils.h>

Static Public Member Functions

static void depthSensorModeDetailsToProtoMsg (const aditof::DepthSensorModeDetails &depthSensorModeDetails, usb_payload::DepthSensorModeDetails *protoMsg)
 Converts a DepthSensorModeDetails to a protobuf message. More...
 
static void protoMsgToDepthSensorModeDetails (std::vector< aditof::DepthSensorModeDetails > &depthSensorModeDetailsVector, const usb_payload::DepthSensorModeDetailsVector &protoMsg)
 Converts from protobuf message to aditof type (vector of DepthSensorModeDetails) More...
 

Detailed Description

Definition at line 46 of file usb_utils.h.

Member Function Documentation

◆ depthSensorModeDetailsToProtoMsg()

void UsbUtils::depthSensorModeDetailsToProtoMsg ( const aditof::DepthSensorModeDetails depthSensorModeDetails,
usb_payload::DepthSensorModeDetails *  protoMsg 
)
static

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:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:06