CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
cmlabs::ParamInfo Struct Reference

One parameter as listed by ComponentMemory::getParameterInfo(): a copy, safe to keep after the call. More...

#include <ComponentMemory.h>

Collaboration diagram for cmlabs::ParamInfo:
[legend]

Public Member Functions

 ParamInfo ()

Public Attributes

std::string name
uint8 type
 PARAM_* data type.
std::string value
 Current value as text.
std::string defaultValue
 Value restored by resetParameter().
std::string minVal
std::string maxVal
 Integer/float: inclusive range, both empty when unbounded (min == max).
std::string step
 Integer/float: tweak step (interval), empty when 0.
std::vector< std::string > options
 Collections: every entry as text, in order.
uint32 index
uint32 defaultIndex
 Collections: the selected and the default entry.

Detailed Description

One parameter as listed by ComponentMemory::getParameterInfo(): a copy, safe to keep after the call.

Numbers are given as text so that 64-bit integers keep every digit; an empty min/max/step means none.

Definition at line 247 of file ComponentMemory.h.

Constructor & Destructor Documentation

◆ ParamInfo()

cmlabs::ParamInfo::ParamInfo ( )
inline

Definition at line 256 of file ComponentMemory.h.

References defaultIndex, index, and type.

Member Data Documentation

◆ defaultIndex

uint32 cmlabs::ParamInfo::defaultIndex

Collections: the selected and the default entry.

Definition at line 255 of file ComponentMemory.h.

Referenced by cmlabs::ComponentMemory::getParameterInfo(), and ParamInfo().

◆ defaultValue

std::string cmlabs::ParamInfo::defaultValue

Value restored by resetParameter().

Definition at line 251 of file ComponentMemory.h.

Referenced by cmlabs::ComponentMemory::getParameterInfo().

◆ index

uint32 cmlabs::ParamInfo::index

Definition at line 255 of file ComponentMemory.h.

Referenced by cmlabs::ComponentMemory::getParameterInfo(), and ParamInfo().

◆ maxVal

std::string cmlabs::ParamInfo::maxVal

Integer/float: inclusive range, both empty when unbounded (min == max).

Definition at line 252 of file ComponentMemory.h.

Referenced by cmlabs::ComponentMemory::getParameterInfo().

◆ minVal

std::string cmlabs::ParamInfo::minVal

Definition at line 252 of file ComponentMemory.h.

Referenced by cmlabs::ComponentMemory::getParameterInfo().

◆ name

std::string cmlabs::ParamInfo::name

Definition at line 248 of file ComponentMemory.h.

Referenced by cmlabs::ComponentMemory::getParameterInfo().

◆ options

std::vector<std::string> cmlabs::ParamInfo::options

Collections: every entry as text, in order.

Definition at line 254 of file ComponentMemory.h.

Referenced by cmlabs::ComponentMemory::getParameterInfo().

◆ step

std::string cmlabs::ParamInfo::step

Integer/float: tweak step (interval), empty when 0.

Definition at line 253 of file ComponentMemory.h.

Referenced by cmlabs::ComponentMemory::getParameterInfo().

◆ type

uint8 cmlabs::ParamInfo::type

PARAM_* data type.

Definition at line 249 of file ComponentMemory.h.

Referenced by cmlabs::ComponentMemory::getParameterInfo(), and ParamInfo().

◆ value

std::string cmlabs::ParamInfo::value

Current value as text.

Definition at line 250 of file ComponentMemory.h.

Referenced by cmlabs::ComponentMemory::getParameterInfo().


The documentation for this struct was generated from the following file: