//------------------------------------------------------------------------------ // Application default task -- // (C) Piero Giubilato 2008-2010, Berkeley Lab -- //------------------------------------------------------------------------------ //______________________________________________________________________________ // {Trace} // [File name] "task_Default.h" // [Author] "Piero Giubilato" // [Version] "1.5" // [Modified by] "Piero Giubilato" // [Last revision] "12 Mar 2009" // [Language] "C++" // [Compiler] "Visual C++ 9.x" // [Member of] "Cool SEAL" // [Project] "SEAL" // [Description] "Application default (startup) task" // [Key documentation] // "Visual C++ Reference Help" // {Trace} //______________________________________________________________________________ // Overloading check #ifndef task_Default_H #define task_Default_H // Standard components #include // Root components // Application components #include "task_Object.h" #include "gui_Menu.h" #include "gui_CoolButton.h" #include "gui_Led.h" #include "gui_Label.h" #include "gui_Map.h" //#include "gui_2D.h" #include "gui_Combo.h" #include "gui_Panel.h" #include "gui_Plot.h" class task_Default: public task_Object { private: // GUI Elements gui_Menu* mnu_Main; // The main menu gui_CoolButton* btn_Quit; // The quit button std::vector led_Test; // A test LED strip std::vector btn_Test; // A test button strip std::vector lbl_Label; // Misc labels std::vector cmb_Test; // Misc combos std::vector pnl_List; // Misc combos gui_CoolButton* btn_Color; // Change the colors! gui_Map* map_Spectrum; // A rainbow map! gui_Plot* plot_Test; // A 2D Test! Double_t map_Data[8192]; // The fake data! // Test routines void test_Speed(); // Speed test void test_Layer(); // Algebra test void test_Frame(); // Algebra test void test_Burst(); // Algebra test public: // Special members task_Default(); ~task_Default(); // Object events handlers void mnu_main_Evn(const int arg); // Main menu handler void btn_quit_Evn(const int arg); // Quit button handler void btn_test_Evn(const int arg); // Test button handler void btn_color_Evn(const int arg); // Color button handler }; // End of overloading check #endif