AGW Logo

agw_title PeakMeterData

A simple class which holds data for our PeakMeterCtrl.

hierarchy Inheritance Diagram

Inheritance diagram for: PeakMeterData

Inheritance diagram of PeakMeterData


method_summary Methods Summary

__init__Default class constructor.
IsEqualReturns whether 2 instances of PeakMeterData are the same.
IsGreaterReturns whether one PeakMeterData is greater than another.
IsLowerReturns whether one PeakMeterData is smaller than another.

API Class API

class PeakMeterData(object)[source]

A simple class which holds data for our PeakMeterCtrl.



__init__(value=0, falloff=0, peak=0)[source]

Default class constructor.

Parameters:
  • value – the current PeakMeterCtrl value;
  • falloff – the falloff effect. True to enable it, False to disable it;
  • peak – the peak value.


IsEqual(pm)[source]

Returns whether 2 instances of PeakMeterData are the same.

Parameters:pm – another instance of PeakMeterData.


IsGreater(pm)[source]

Returns whether one PeakMeterData is greater than another.

Parameters:pm – another instance of PeakMeterData.


IsLower(pm)[source]

Returns whether one PeakMeterData is smaller than another.

Parameters:pm – another instance of PeakMeterData.
Tree

Table Of Contents

Previous topic

PeakMeterCtrl

Next topic

peakmeter functions