Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

soccerrender.h

Go to the documentation of this file.
00001 /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*-
00002    this file is part of rcssserver3D
00003    Fri May 9 2003
00004    Copyright (C) 2002,2003 Koblenz University
00005    Copyright (C) 2003 RoboCup Soccer Server 3D Maintenance Group
00006    $Id: soccerrender.h,v 1.1 2004/12/22 16:17:32 rollmark Exp $
00007 
00008    This program is free software; you can redistribute it and/or modify
00009    it under the terms of the GNU General Public License as published by
00010    the Free Software Foundation; version 2 of the License.
00011 
00012    This program is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015    GNU General Public License for more details.
00016 
00017    You should have received a copy of the GNU General Public License
00018    along with this program; if not, write to the Free Software
00019    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00020 
00021    SoccerRender
00022 */
00023 #ifndef KEROSIN_SOCCERRENDER_H
00024 #define KEROSIN_SOCCERRENDER_H
00025 
00026 #include <kerosin/renderserver/customrender.h>
00027 
00028 namespace kerosin
00029 {
00030     class Font;
00031     class FontServer;
00032 }
00033 
00034 class SoccerMonitor;
00035 
00036 class SoccerRender : public kerosin::CustomRender
00037 {
00038     //
00039     // Functions
00040     //
00041 public:
00042     SoccerRender();
00043     virtual ~SoccerRender();
00044 
00045     virtual void Render();
00046 
00047     virtual void OnLink();
00048     virtual void OnUnlink();
00049 
00050 protected:
00051     boost::shared_ptr<SoccerMonitor> mMonitor;
00052     boost::shared_ptr<kerosin::FontServer> mFontServer;
00053     boost::shared_ptr<kerosin::Font> mFont;
00054 };
00055 
00056 DECLARE_CLASS(SoccerRender);
00057 
00058 #endif //KEROSIN_SOCCERRENDER_H

Generated on Thu Apr 6 15:25:40 2006 for rcssserver3d by  doxygen 1.4.4