Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
FreeMemReportControl Class Reference#include <FreeMemReportControl.h>
Inheritance diagram for FreeMemReportControl:
![]() Detailed Descriptiongives reports on free memory size at variable rates, can also warn if free memory drops too low.Definition at line 12 of file FreeMemReportControl.h.
Constructor & Destructor Documentation
Definition at line 16 of file FreeMemReportControl.h.
Definition at line 17 of file FreeMemReportControl.h.
Definition at line 18 of file FreeMemReportControl.h.
Member Function Documentation
By default, merely adds to the reference counter (through AddReference()); Note you should still call this from your overriding methods.
Reimplemented from BehaviorBase. Definition at line 22 of file FreeMemReportControl.h.
By default, subtracts from the reference counter (RemoveReference()), and thus may deletex if zero; Don't forget to still call this when you override this; Warning: call this at the end of your DoStop(), not beginning (it might
Reimplemented from BehaviorBase. Definition at line 27 of file FreeMemReportControl.h. Referenced by ~FreeMemReportControl().
By defining here, allows you to get away with not supplying a processEvent() function for the EventListener interface. By default, does nothing.
Reimplemented from BehaviorBase. Definition at line 7 of file FreeMemReportControl.cc.
Identifies the behavior in menus and such.
Reimplemented from BehaviorBase. Definition at line 35 of file FreeMemReportControl.h.
called when the child has deactivated and this control should refresh its display, or some other event (such as the user pressing the refresh button) has happened to cause a refresh to be needed
Reimplemented from ControlBase. Definition at line 28 of file FreeMemReportControl.cc.
reports size of free memory - if this is below low_mem, also generates a warning
Definition at line 38 of file FreeMemReportControl.cc. Referenced by processEvent(), and refresh().
returns the size of the free memory
Definition at line 49 of file FreeMemReportControl.cc. Referenced by init(), processEvent(), refresh(), and report().
builds the submenus
Definition at line 50 of file FreeMemReportControl.h. Referenced by FreeMemReportControl().
Member Data Documentation
how often to report memory size (in milliseconds - negative turns off, 0 is as often as possible)
Definition at line 59 of file FreeMemReportControl.h. Referenced by init(), and resetTimerFreq().
threshold to trigger low memory warning (in kilobytes)
Definition at line 60 of file FreeMemReportControl.h. Referenced by init(), processEvent(), and report().
how often to check for low memory (in milliseconds - -1U turns off, 0 is as often as possible)
Definition at line 61 of file FreeMemReportControl.h. Referenced by init(), and resetTimerFreq().
true we already know we're below threshold
Definition at line 62 of file FreeMemReportControl.h. Referenced by DoStop(), processEvent(), and report().
free memory at last report so we can report the difference
Definition at line 63 of file FreeMemReportControl.h.
The documentation for this class was generated from the following files: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:25 2007 by Doxygen 1.5.4 |