orca-robotics INTRODUCTION Overview Download and Install Documentation REPOSITORY Interfaces Drivers Libraries Utilities Software Map DEVELOPER Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
istringtocolormap.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2008 Alex Brooks, Alexei Makarenko, Tobias Kaupp 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef HYDRO_HYDROQGUI_ISTRING_TO_COLOR_MAP_H 00012 #define HYDRO_HYDROQGUI_ISTRING_TO_COLOR_MAP_H 00013 00014 #include <vector> 00015 #include <QColor> 00016 #include <map> 00017 00018 namespace hydroqgui 00019 { 00025 class IStringToColorMap 00026 { 00027 public: 00028 IStringToColorMap() {} 00029 virtual ~IStringToColorMap() {}; 00030 00031 // gets the color for a given string. 00032 virtual QColor getColor( const QString &str )=0; 00033 }; 00034 00035 00036 00037 } 00038 00039 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)