NIBO Library  2.11
nibocc/textdisplay.hpp
gehe zur Dokumentation dieser Datei
00001 //
00002 //  Nibo C drivers - C functions for the Nibo robot
00003 //
00004 //  Copyright (C) 2007 by Nils Springob <nils@nicai-systems.de>
00005 //
00006 //  This program is free software; you can redistribute it and/or modify
00007 //  it under the terms of the GNU General Public License as published by
00008 //  the Free Software Foundation; either version 2 of the License, or
00009 //  (at your option) any later version.
00010 //
00011 //  This program 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
00014 //  GNU General Public License for more details.
00015 //
00016 //  You should have received a copy of the GNU General Public License
00017 //  along with this program; if not, write to the Free Software
00018 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019 
00026 #ifndef NIBOCC_TEXTDISPLAY_HPP_
00027 #define NIBOCC_TEXTDISPLAY_HPP_
00028 #if defined(NIBOCC_USE_TEXTDISPLAY) || defined (DOXYGEN)
00029 
00030 #include <stdint.h>
00031 #include "nibo/text.h"
00032 
00033 namespace nibocc {
00034 
00038 class TextDisplay
00039 {
00040   public:
00041 
00046     inline static void init(void) {::text_init();}
00047 
00051     inline static void clear(void)  {::text_clear();}
00052 
00058     inline static void gotoXY(int x, int y)  {::text_gotoXY(x, y);}
00059 
00064     inline static void print_char(char c)  {::text_print_char(c);}
00065 
00070     inline static void print(const char * str) {::text_print(str);}
00071 
00076     inline static void setCursorMode(int mode) {::text_setCursorMode(mode);}
00077 
00078 };
00079 
00080 } // namespace
00081 #endif // NIBOCC_USE_TEXTDISPLAY
00082 #endif // NIBOCC_TEXTDISPLAY_HPP_

Erzeugt am Fre Jun 3 2011 15:48:39 für NIBO Library von doxygen 1.7.4-20110426