CPU.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *            CPU.h
00003  *
00004  *  Tue Sep 12 16:47:31 2006
00005  *  Copyright  2006  Juan V. Guerrero
00006  *  mindstorm2600 at users dot sourceforge dot net
00007  ****************************************************************************/
00008 
00009 /*
00010  *  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version.
00014  *
00015  *  This program is distributed in the hope that it will be useful,
00016  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  *  GNU General Public License for more details.
00019  *
00020  *  You should have received a copy of the GNU General Public License
00021  *  along with this program; if not, write to the Free Software
00022  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00023  */
00024  
00025 #ifndef __XVR2_CPU_H__
00026 #define __XVR2_CPU_H__
00027 
00028 #include<xvr2/String.h>
00029 #include<xvr2/Platform/PlatformException.h>
00030 #include<fstream>
00031 
00032 namespace xvr2 {
00033 namespace Platform {
00034         struct CPU : public xvr2::Object {
00035                 const static CPU create(std::ifstream &in);
00036                 double clockSpeed;
00037                 UInt64 cacheSize;
00038                 String model;
00039                 String vendor;
00040                 std::string toString();
00041                 std::string toString() const;
00042         };
00043 };
00044 };
00045 
00046 #endif /* _CPU_H */

Generated on Fri Jun 20 22:55:48 2008 for X-VR2 SDK by  doxygen 1.5.5