Main Page   Hardware Class Hierarchy   Hardware API     Mapping Class Hierarchy  Mapping API 

mos.h

Go to the documentation of this file.
00001 #ifndef MRDOS_H
00002 #define MRDOS_H
00003 /*
00004 Object Oriented Mobile Robot Model (OOMRM) C++  Library Copyright (C) 2002-2005  Derek Jones
00005 
00006 This library is free software; you can redistribute it  and/or
00007 modify it under the terms of the GNU Lesser General Public
00008 License  as published by the Free Software Foundation; either
00009 version 2.1 of the  License, or (at your option) any later version.
00010 
00011 This library is  distributed in the hope that it will be useful,
00012 but WITHOUT ANY WARRANTY;  without even the implied warranty of
00013 MERCHANTABILITY or FITNESS FOR A  PARTICULAR PURPOSE.  See the GNU
00014 Lesser General Public License for more  details.
00015 
00016 You should have received a copy of the GNU Lesser General  Public
00017 License along with this library; if not, write to the Free  Software
00018 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA   02111-1307  USA
00019 
00020 
00021  * $Id: mos.h,v 1.2 2007/06/10 22:41:32 derek Exp $
00022 */
00023 
00024 //#include <persistent_interface.h>
00025 // FooMAX is maximum # of functions--not maximum array bound.
00029 #define MOS_FooMAX 15
00030 
00032 
00070 class MOS : public Persistent_Interface
00071 {
00072 public:
00073   MOS(void);
00075   static void run(void); 
00077   static void beep(MIDI_PITCH mp=F5); 
00079   static void beep(int, MIDI_PITCH mp=F5); 
00081   static bool add(foo,int slot);
00083   static bool drop(foo);        
00085   static void communicator_check(void);
00086 protected:
00087   static foo MOS_FooArray[];            // array of (maximum) 15 functions.
00088 //  static void JAUS_unlocked(char jc);
00089 
00090 };
00091 #endif

Generated on Mon Oct 8 19:32:19 2007 for OOMRM Mapping API by doxygen1.3