DvsenseDriver  1.0.3
The SDK for dvsense products.
dvsense::FloatParameterInfo结构体 参考

浮点数参数的详细信息。 更多...

#include <ToolInfo.h>

Public 成员函数

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

Public 属性

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

详细描述

浮点数参数的详细信息。

成员函数说明

◆ toString()

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

◆ constraintValue()

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

类成员变量说明

◆ 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