DvsenseDriver  1.2.4
The SDK for dvsense products.
Loading...
Searching...
No Matches
dvsense::FloatParameterInfo Struct Reference

The detailed information of the float parameter. More...

#include <ToolInfo.h>

Public Member Functions

std::string toString ()
float constraintValue (float value)

Public Attributes

float min
float max
float default_value
std::string unit
std::function< bool(float &)> readValue
std::function< bool(float)> writeValue

Detailed Description

The detailed information of the float parameter.

Member Function Documentation

◆ toString()

std::string dvsense::FloatParameterInfo::toString ( )
inline

◆ constraintValue()

float dvsense::FloatParameterInfo::constraintValue ( float value)
inline

Member Data Documentation

◆ min

float dvsense::FloatParameterInfo::min

◆ max

float dvsense::FloatParameterInfo::max

◆ default_value

float dvsense::FloatParameterInfo::default_value

◆ unit

std::string dvsense::FloatParameterInfo::unit

◆ readValue

std::function<bool(float&)> dvsense::FloatParameterInfo::readValue

◆ writeValue

std::function<bool(float)> dvsense::FloatParameterInfo::writeValue