![]() |
Scanframe Modular Application 0.1.0
|
Structure to hold parameter information. More...
#include <GmiInterface.h>
Public Member Functions | |
ParamInfo ()=default | |
Default constructor. | |
ParamInfo (const ParamInfo &pi) | |
Copy constructor. | |
ParamInfo & | operator= (const ParamInfo &pi) |
Assignment operator. | |
void | init () |
initialize/reset the instance as when it was constructed. | |
ParamInfo & | copyFrom (const ParamInfo &pi) |
Sets the e instance as when it was constructed. | |
Public Attributes | |
IdType | Id {0} |
Holds a unique id for the current situation. | |
int | Controller {0} |
Holds the controller instance number. | |
unsigned | Axis {0} |
Holds the gate number this gate belongs to. When Axis is UINT_MAX the param is not an axis related param. | |
unsigned | Index {0} |
Param index in the hierarchy of the gate or non gate params. | |
std::string | Name |
Name of the parameter. | |
std::string | Unit |
Unit of the parameter. | |
std::string | Description |
Usage off the parameter of the parameter. | |
Value | Round {Value::vitUndefined} |
Round or step value of the parameter. | |
Value | Default {Value::vitUndefined} |
Default or start value. | |
Value | Minimum {Value::vitUndefined} |
Minimum allowed value. | |
Value | Maximum {Value::vitUndefined} |
Maximum allowed value. | |
ParamState::Vector | States |
Number of specified states for this. | |
int | Flags {0} |
Parameter is readonly. | |
Structure to hold parameter information.
|
default |
Default constructor.
|
inline |
Copy constructor.
pi |
Sets the e instance as when it was constructed.
void sf::gmi::ParamInfo::init | ( | ) |
initialize/reset the instance as when it was constructed.
Assignment operator.
pi |
unsigned sf::gmi::ParamInfo::Axis {0} |
Holds the gate number this gate belongs to. When Axis is UINT_MAX the param is not an axis related param.
int sf::gmi::ParamInfo::Controller {0} |
Holds the controller instance number.
Value sf::gmi::ParamInfo::Default {Value::vitUndefined} |
Default or start value.
std::string sf::gmi::ParamInfo::Description |
Usage off the parameter of the parameter.
int sf::gmi::ParamInfo::Flags {0} |
Parameter is readonly.
IdType sf::gmi::ParamInfo::Id {0} |
Holds a unique id for the current situation.
unsigned sf::gmi::ParamInfo::Index {0} |
Param index in the hierarchy of the gate or non gate params.
Value sf::gmi::ParamInfo::Maximum {Value::vitUndefined} |
Maximum allowed value.
Value sf::gmi::ParamInfo::Minimum {Value::vitUndefined} |
Minimum allowed value.
std::string sf::gmi::ParamInfo::Name |
Name of the parameter.
Value sf::gmi::ParamInfo::Round {Value::vitUndefined} |
Round or step value of the parameter.
ParamState::Vector sf::gmi::ParamInfo::States |
Number of specified states for this.
std::string sf::gmi::ParamInfo::Unit |
Unit of the parameter.