phoenix_title wx.lib.agw.peakmeter.PeakMeterData

A simple class which holds data for our PeakMeterCtrl.


class_hierarchy Class Hierarchy

Inheritance diagram for class PeakMeterData:

method_summary Methods Summary

__init__

Default class constructor.

IsEqual

Returns whether 2 instances of PeakMeterData are the same.

IsGreater

Returns whether one PeakMeterData is greater than another.

IsLower

Returns whether one PeakMeterData is smaller than another.


api Class API

class PeakMeterData(object)

A simple class which holds data for our PeakMeterCtrl.


Methods

__init__(self, value=0, falloff=0, peak=0)

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(self, pm)

Returns whether 2 instances of PeakMeterData are the same.

Parameters:

pm – another instance of PeakMeterData.



IsGreater(self, pm)

Returns whether one PeakMeterData is greater than another.

Parameters:

pm – another instance of PeakMeterData.



IsLower(self, pm)

Returns whether one PeakMeterData is smaller than another.

Parameters:

pm – another instance of PeakMeterData.