libsigrokcxx
0.4.0
C++ bindings for libsigrok
|
Flag applied to measured quantity. More...
#include <libsigrokcxx/enums.hpp>
Static Public Member Functions | |
static vector< const QuantityFlag * > | flags_from_mask (unsigned int mask) |
Get flags corresponding to a bitmask. More... | |
static unsigned int | mask_from_flags (vector< const QuantityFlag * > flags) |
Get bitmask corresponding to a set of flags. More... | |
Static Public Member Functions inherited from sigrok::EnumValue< QuantityFlag, enum sr_mqflag > | |
static const QuantityFlag * | get (int id) |
Get value associated with a given integer constant. More... | |
static std::vector< const QuantityFlag * > | values () |
Get possible values. More... | |
Static Public Attributes | |
static const QuantityFlag *const | AC |
Voltage measurement is alternating current (AC). More... | |
static const QuantityFlag *const | DC |
Voltage measurement is direct current (DC). More... | |
static const QuantityFlag *const | RMS |
This is a true RMS measurement. More... | |
static const QuantityFlag *const | DIODE |
Value is voltage drop across a diode, or NAN. More... | |
static const QuantityFlag *const | HOLD |
Device is in "hold" mode (repeating the last measurement). More... | |
static const QuantityFlag *const | MAX |
Device is in "max" mode, only updating upon a new max value. More... | |
static const QuantityFlag *const | MIN |
Device is in "min" mode, only updating upon a new min value. More... | |
static const QuantityFlag *const | AUTORANGE |
Device is in autoranging mode. More... | |
static const QuantityFlag *const | RELATIVE |
Device is in relative mode. More... | |
static const QuantityFlag *const | SPL_FREQ_WEIGHT_A |
Sound pressure level is A-weighted in the frequency domain, according to IEC 61672:2003. More... | |
static const QuantityFlag *const | SPL_FREQ_WEIGHT_C |
Sound pressure level is C-weighted in the frequency domain, according to IEC 61672:2003. More... | |
static const QuantityFlag *const | SPL_FREQ_WEIGHT_Z |
Sound pressure level is Z-weighted (i.e. More... | |
static const QuantityFlag *const | SPL_FREQ_WEIGHT_FLAT |
Sound pressure level is not weighted in the frequency domain, albeit without standards-defined low and high frequency limits. More... | |
static const QuantityFlag *const | SPL_TIME_WEIGHT_S |
Sound pressure level measurement is S-weighted (1s) in the time domain. More... | |
static const QuantityFlag *const | SPL_TIME_WEIGHT_F |
Sound pressure level measurement is F-weighted (125ms) in the time domain. More... | |
static const QuantityFlag *const | SPL_LAT |
Sound pressure level is time-averaged (LAT), also known as Equivalent Continuous A-weighted Sound Level (LEQ). More... | |
static const QuantityFlag *const | SPL_PCT_OVER_ALARM |
Sound pressure level represented as a percentage of measurements that were over a preset alarm level. More... | |
static const QuantityFlag *const | DURATION |
Time is duration (as opposed to epoch, ...). More... | |
static const QuantityFlag *const | AVG |
Device is in "avg" mode, averaging upon each new value. More... | |
static const QuantityFlag *const | REFERENCE |
Reference value shown. More... | |
static const QuantityFlag *const | UNSTABLE |
Unstable value (hasn't settled yet). More... | |
Additional Inherited Members | |
Public Member Functions inherited from sigrok::EnumValue< QuantityFlag, enum sr_mqflag > | |
int | id () const |
The integer constant associated with this value. More... | |
string | name () const |
The name associated with this value. More... | |
|
static |
Get flags corresponding to a bitmask.
|
static |
Get bitmask corresponding to a set of flags.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |