#include <CPU.h>
Definition at line 34 of file CPU.h.
Public Member Functions | |
std::string | toString () |
std::string | toString () const |
virtual const char * | getClassName () |
Returns the name of the current class. | |
Static Public Member Functions | |
static const CPU | create (std::ifstream &in) |
static void | debugmsg (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) |
Will print a debug message to the screen. | |
static void | debugmsgln (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) |
Public Attributes | |
double | clockSpeed |
UInt64 | cacheSize |
String | model |
String | vendor |
Protected Attributes | |
std::string | __cls_name |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Object &s) |
static const CPU xvr2::Platform::CPU::create | ( | std::ifstream & | in | ) | [static] |
std::string xvr2::Platform::CPU::toString | ( | ) | [virtual] |
Reimplemented from xvr2::Object.
std::string xvr2::Platform::CPU::toString | ( | ) | const |
virtual const char* xvr2::Object::getClassName | ( | ) | [virtual, inherited] |
Returns the name of the current class.
static void xvr2::Object::debugmsg | ( | Object * | obj, | |
const char * | msg, | |||
int | linenumber = __LINE__ , |
|||
const char * | srcfile = __FILE__ | |||
) | [static, inherited] |
Will print a debug message to the screen.
static void xvr2::Object::debugmsgln | ( | Object * | obj, | |
const char * | msg, | |||
int | linenumber = __LINE__ , |
|||
const char * | srcfile = __FILE__ | |||
) | [static, inherited] |
std::ostream& operator<< | ( | std::ostream & | stream, | |
const Object & | s | |||
) | [friend, inherited] |
std::string xvr2::Object::__cls_name [protected, inherited] |