libsigrokcxx  unreleased development snapshot
C++ bindings for libsigrok
Static Public Member Functions | Static Public Attributes | List of all members
sigrok::QuantityFlag Class Reference

Flag applied to measured quantity. More...

#include </home/user/build/libsigrok/build/bindings/cxx/include/libsigrokcxx/enums.hpp>

+ Inheritance diagram for sigrok::QuantityFlag:

Static Public Member Functions

static std::vector< const QuantityFlag * > flags_from_mask (unsigned int mask)
 Get flags corresponding to a bitmask. More...
 
static unsigned int mask_from_flags (std::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 QuantityFlagget (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...
 
static const QuantityFlag *const FOUR_WIRE
 Measurement is four wire (e.g. 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...
 
std::string name () const
 The name associated with this value. More...
 

Detailed Description

Flag applied to measured quantity.

Definition at line 355 of file enums.hpp.

Member Function Documentation

static std::vector<const QuantityFlag *> sigrok::QuantityFlag::flags_from_mask ( unsigned int  mask)
static

Get flags corresponding to a bitmask.

static unsigned int sigrok::QuantityFlag::mask_from_flags ( std::vector< const QuantityFlag * >  flags)
static

Get bitmask corresponding to a set of flags.

Member Data Documentation

const QuantityFlag* const sigrok::QuantityFlag::AC
static

Voltage measurement is alternating current (AC).

Definition at line 360 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::DC
static

Voltage measurement is direct current (DC).

Definition at line 362 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::RMS
static

This is a true RMS measurement.

Definition at line 364 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::DIODE
static

Value is voltage drop across a diode, or NAN.

Definition at line 366 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::HOLD
static

Device is in "hold" mode (repeating the last measurement).

Definition at line 368 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::MAX
static

Device is in "max" mode, only updating upon a new max value.

Definition at line 370 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::MIN
static

Device is in "min" mode, only updating upon a new min value.

Definition at line 372 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::AUTORANGE
static

Device is in autoranging mode.

Definition at line 374 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::RELATIVE
static

Device is in relative mode.

Definition at line 376 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::SPL_FREQ_WEIGHT_A
static

Sound pressure level is A-weighted in the frequency domain, according to IEC 61672:2003.

Definition at line 378 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::SPL_FREQ_WEIGHT_C
static

Sound pressure level is C-weighted in the frequency domain, according to IEC 61672:2003.

Definition at line 380 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::SPL_FREQ_WEIGHT_Z
static

Sound pressure level is Z-weighted (i.e.

Definition at line 382 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::SPL_FREQ_WEIGHT_FLAT
static

Sound pressure level is not weighted in the frequency domain, albeit without standards-defined low and high frequency limits.

Definition at line 384 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::SPL_TIME_WEIGHT_S
static

Sound pressure level measurement is S-weighted (1s) in the time domain.

Definition at line 386 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::SPL_TIME_WEIGHT_F
static

Sound pressure level measurement is F-weighted (125ms) in the time domain.

Definition at line 388 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::SPL_LAT
static

Sound pressure level is time-averaged (LAT), also known as Equivalent Continuous A-weighted Sound Level (LEQ).

Definition at line 390 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::SPL_PCT_OVER_ALARM
static

Sound pressure level represented as a percentage of measurements that were over a preset alarm level.

Definition at line 392 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::DURATION
static

Time is duration (as opposed to epoch, ...).

Definition at line 394 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::AVG
static

Device is in "avg" mode, averaging upon each new value.

Definition at line 396 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::REFERENCE
static

Reference value shown.

Definition at line 398 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::UNSTABLE
static

Unstable value (hasn't settled yet).

Definition at line 400 of file enums.hpp.

const QuantityFlag* const sigrok::QuantityFlag::FOUR_WIRE
static

Measurement is four wire (e.g.

Definition at line 402 of file enums.hpp.


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