#include <StandardError.h>
Inheritance diagram for clawsoft::StandardError:
Public Methods | |
void | write (const void *text, Uint32 siz) |
This method will write the textbuffer up to siz bytes to the current TextOuput object. | |
void | write (const String &text) |
This method will write the text String to the current TextOuput object. | |
void | writeLine (const void *text, Uint32 siz) |
This method will write the textbuffer up to siz bytes to the current TextOuput object plus the newline character. | |
void | writeLine (const String &text) |
This method will write the text String to the current TextOuput object plus the newline character. | |
Protected Methods | |
void | outputMethod (const void *buff, Uint32 size) |
This is the current output method, it will determine how the data is going to be phisically outputed, you are encouraged to overload this method in every implementation of the TextOutput class. | |
void | setClassName (const char *n) |
Call this method when you need to set the name of the class you're creating, typically in it's constructor, remember that you must set the classname for every class you create, that way you can have more information while debugging. | |
const char * | getClassName () |
Returns the name of the current class. | |
Static Protected Methods | |
int | installedCPUs () |
This will return how many CPUs are installed in the system. | |
double | cpuSpeed () |
This will return the CPU speed in megahertz. | |
int | totalMemory () |
Will return the total amount of system memory. | |
int | freeMemory () |
Will return the total amount of free system memory. | |
void | usleep (Uint32 usec) |
Will freeze the software for usec microseconds. |
|
This will return the CPU speed in megahertz.
|
|
Will return the total amount of free system memory.
|
|
Returns the name of the current class.
|
|
This will return how many CPUs are installed in the system.
|
|
This is the current output method, it will determine how the data is going to be phisically outputed, you are encouraged to overload this method in every implementation of the TextOutput class.
Reimplemented from clawsoft::TextOutput. |
|
Call this method when you need to set the name of the class you're creating, typically in it's constructor, remember that you must set the classname for every class you create, that way you can have more information while debugging.
|
|
Will return the total amount of system memory.
|
|
Will freeze the software for usec microseconds.
|
|
This method will write the text String to the current TextOuput object.
|
|
This method will write the textbuffer up to siz bytes to the current TextOuput object.
|
|
This method will write the text String to the current TextOuput object plus the newline character.
|
|
This method will write the textbuffer up to siz bytes to the current TextOuput object plus the newline character.
|
Authors:
Juan V. Guerrero
Jannette C. Mejia
Juan C. Guevara
Powered by: