MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Public Member Functions | Public Attributes | List of all members
mip::metadata::ParameterInfo::Count Struct Reference

#include <mip_structures.hpp>

Public Member Functions

constexpr Count ()=default
 
constexpr Count (uint8_t n)
 
constexpr Count (uint8_t n, microstrain::Id id)
 
constexpr bool isFixed () const
 
constexpr bool hasCounter () const
 

Public Attributes

uint8_t count = 1
 Fixed size if paramIdx unassigned. More...
 
microstrain::Id paramIdx = {}
 If assigned, specifies parameter that holds the actual runtime count. More...
 

Constructor & Destructor Documentation

◆ Count() [1/3]

constexpr mip::metadata::ParameterInfo::Count::Count ( )
constexprdefault

◆ Count() [2/3]

constexpr mip::metadata::ParameterInfo::Count::Count ( uint8_t  n)
inlineconstexpr

◆ Count() [3/3]

constexpr mip::metadata::ParameterInfo::Count::Count ( uint8_t  n,
microstrain::Id  id 
)
inlineconstexpr

Member Function Documentation

◆ hasCounter()

constexpr bool mip::metadata::ParameterInfo::Count::hasCounter ( ) const
inlineconstexpr

◆ isFixed()

constexpr bool mip::metadata::ParameterInfo::Count::isFixed ( ) const
inlineconstexpr

Member Data Documentation

◆ count

uint8_t mip::metadata::ParameterInfo::Count::count = 1

Fixed size if paramIdx unassigned.

◆ paramIdx

microstrain::Id mip::metadata::ParameterInfo::Count::paramIdx = {}

If assigned, specifies parameter that holds the actual runtime count.


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