Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::ParamInfo Struct Reference

Structure to hold parameter information. More...

#include <GmiInterface.h>

Collaboration diagram for sf::ParamInfo:
[legend]

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.

Detailed Description

Structure to hold parameter information.

Constructor & Destructor Documentation

◆ ParamInfo() [1/2]

Default constructor.

◆ ParamInfo() [2/2]

sf::gmi::ParamInfo::ParamInfo ( const ParamInfo & pi)
inline

Copy constructor.

Parameters
pi

Member Function Documentation

◆ copyFrom()

Sets the e instance as when it was constructed.

◆ init()

initialize/reset the instance as when it was constructed.

◆ operator=()

ParamInfo & sf::gmi::ParamInfo::operator= ( const ParamInfo & pi)

Assignment operator.

Parameters
pi
Returns

Member Data Documentation

◆ Axis

Holds the gate number this gate belongs to. When Axis is UINT_MAX the param is not an axis related param.

◆ Controller

Holds the controller instance number.

◆ Default

◆ Description

Usage off the parameter of the parameter.

◆ Flags

Parameter is readonly.

◆ Id

Holds a unique id for the current situation.

◆ Index

Param index in the hierarchy of the gate or non gate params.

◆ Maximum

◆ Minimum

◆ Name

Name of the parameter.

◆ Round

Round or step value of the parameter.

◆ States

Number of specified states for this.

◆ Unit

Unit of the parameter.


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