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 #include "Behaviors/Controls/SensorObserverControl.h"
00010 
00011 ControlBase*
00012 StartupBehavior::SetupStatusReports() {
00013   addItem(new ControlBase("Status Reports","Displays information about the runtime environment on the console"));
00014   startSubMenu();
00015   { 
00016     addItem(new BatteryCheckControl());
00017     addItem(new ProfilerCheckControl());
00018     addItem(new EventLogger());
00019     addItem(new SensorObserverControl());
00020     FreeMemReportControl * tmp=new FreeMemReportControl();
00021     tmp->DoStart();
00022     addItem(tmp);
00023   }
00024   return endSubMenu();
00025 }

Tekkotsu v2.1
Generated Tue Mar 16 23:19:15 2004 by Doxygen 1.3.5