00001 /* 00002 Object Oriented Mobile Robot Model (OOMRM) C++ Library Copyright (C) 2002-2005 Derek Jones 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Lesser General Public 00006 License as published by the Free Software Foundation; either 00007 version 2.1 of the License, or (at your option) any later version. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Lesser General Public License for more details. 00013 00014 You should have received a copy of the GNU Lesser General Public 00015 License along with this library; if not, write to the Free Software 00016 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 00018 $Id: commander.h,v 1.2 2006/05/19 23:52:42 derek Exp $ 00019 */ 00020 #ifndef COMMANDER_H 00021 #define COMMANDER_H 00022 #include <jaus/subsystem_commander.h> 00023 #include <host/component_directory.h> 00024 class OOMRM_Simulator; 00025 00026 class local_commander : public subsystem_commander 00027 { 00028 public: 00029 local_commander(OOMRM_Simulator* gui); // commander udpates the screen. 00030 int run(void); 00031 void refresh(void); 00032 void select(int iselect); 00033 // static void JAUS_Message(jaus_message&); 00034 // static jaus_message message(void); 00035 protected: 00036 local_commander(void); 00037 private: 00038 OOMRM_Simulator* pGUI; 00039 Component_Directory dir_list; 00040 Component_List component_list; // list for manager node Component_Directory is also initialized to the content of this one. 00041 Component_List newlist; // list for browser update. 00042 00043 }; 00044 00045 #endif
1.3