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

整数参数的详细信息。 更多...

#include <ToolInfo.h>

Public 成员函数

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

Public 属性

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

详细描述

整数参数的详细信息。

成员函数说明

◆ toString()

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

◆ constraintValue()

int dvsense::IntParameterInfo::constraintValue ( int  value)
inline

类成员变量说明

◆ min

int dvsense::IntParameterInfo::min

◆ max

int dvsense::IntParameterInfo::max

◆ default_value

int dvsense::IntParameterInfo::default_value

◆ unit

std::string dvsense::IntParameterInfo::unit

◆ readValue

std::function<bool(int&)> dvsense::IntParameterInfo::readValue

◆ writeValue

std::function<bool(int)> dvsense::IntParameterInfo::writeValue