Homepage Demos Overview Downloads Tutorials Reference
Credits

StartupBehavior_SetupStatusReports.cc

Go to the documentation of this file.
00001 #include "StartupBehavior.h"
00002 
00003 #include "Behaviors/Controls/ControlBase.h"
00004 
00005 #include "Behaviors/Controls/BatteryCheckControl.h"
00006 #include "Behaviors/Controls/FreeMemReportControl.h"
00007 #include "Behaviors/Controls/ProfilerCheckControl.h"
00008 #include "Behaviors/Controls/EventLogger.h"
00009 
00010 ControlBase*
00011 StartupBehavior::SetupStatusReports() {
00012   addItem(new ControlBase("Status Reports","Displays information about the runtime environment on the console"));
00013   startSubMenu();
00014   { 
00015     addItem(new BatteryCheckControl());
00016     addItem(new ProfilerCheckControl());
00017     addItem(new EventLogger());
00018     FreeMemReportControl * tmp=new FreeMemReportControl();
00019     tmp->DoStart();
00020     addItem(tmp);
00021   }
00022   return endSubMenu();
00023 }

Tekkotsu v1.5
Generated Fri Oct 10 15:52:00 2003 by Doxygen 1.3.4