libsigrokcxx  0.4.0
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 <libsigrokcxx/enums.hpp>

+ Inheritance diagram for sigrok::QuantityFlag:

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 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...
 

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...
 

Detailed Description

Flag applied to measured quantity.

Definition at line 326 of file enums.hpp.

Member Function Documentation

static 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 ( 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 331 of file enums.hpp.

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

Voltage measurement is direct current (DC).

Definition at line 333 of file enums.hpp.

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

This is a true RMS measurement.

Definition at line 335 of file enums.hpp.

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

Value is voltage drop across a diode, or NAN.

Definition at line 337 of file enums.hpp.

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

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

Definition at line 339 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 341 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 343 of file enums.hpp.

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

Device is in autoranging mode.

Definition at line 345 of file enums.hpp.

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

Device is in relative mode.

Definition at line 347 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 349 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 351 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 353 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 355 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 357 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 359 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 361 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 363 of file enums.hpp.

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

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

Definition at line 365 of file enums.hpp.

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

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

Definition at line 367 of file enums.hpp.

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

Reference value shown.

Definition at line 369 of file enums.hpp.

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

Unstable value (hasn't settled yet).

Definition at line 371 of file enums.hpp.


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