Template Struct Range

Struct Documentation

template<typename T>
struct Range

Range of signal for range checks.

Template Parameters:

T – Type of signal

Public Functions

inline T check(const T &value) const

Check signal for range.

Parameters:

value – Signal value to check

Returns:

Value if in range and not NaN, SNA otherwise

Public Members

T physical_min

Physical minimum of signal.

T physical_max

Physical maximum of signal.

T sna

Signal not available value for signal.