#include <Platform.h>

Definition at line 49 of file Platform.h.
Public Member Functions | |
| virtual const char * | getClassName () |
| Returns the name of the current class. | |
| virtual std::string | toString () |
Static Public Member Functions | |
| static UInt32 | cpuCount () |
| Obtains how many CPUs the system has installed. | |
| static const CPU & | getCPU (UInt32 idx=0) |
| Returns a list with the details of each CPU found. | |
| static UInt64 | memorySize () |
| Gives the total amount of memory the system has which is a sum of physical + swap. | |
| static UInt64 | physicalMemorySize () |
| Returns the mount of physical memory installed. | |
| static UInt64 | swapSize () |
| Returns the mount of swap memory installed. | |
| static const String & | OSDistribution () |
| Returns the distribution name for the OS and distribution specific version. | |
| static const String & | OSName () |
| static const String & | OSVersionString () |
| static const std::vector< int > & | OSVersion () |
| 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__) |
Protected Attributes | |
| std::string | __cls_name |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const Object &s) |
| static UInt32 xvr2::Platform::SystemInformation::cpuCount | ( | ) | [static] |
Obtains how many CPUs the system has installed.
Returns a list with the details of each CPU found.
| static UInt64 xvr2::Platform::SystemInformation::memorySize | ( | ) | [static] |
Gives the total amount of memory the system has which is a sum of physical + swap.
| static UInt64 xvr2::Platform::SystemInformation::physicalMemorySize | ( | ) | [static] |
Returns the mount of physical memory installed.
| static UInt64 xvr2::Platform::SystemInformation::swapSize | ( | ) | [static] |
Returns the mount of swap memory installed.
| static const String& xvr2::Platform::SystemInformation::OSDistribution | ( | ) | [static] |
Returns the distribution name for the OS and distribution specific version.
| static const String& xvr2::Platform::SystemInformation::OSName | ( | ) | [static] |
| static const String& xvr2::Platform::SystemInformation::OSVersionString | ( | ) | [static] |
| static const std::vector<int>& xvr2::Platform::SystemInformation::OSVersion | ( | ) | [static] |
| 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] |
| virtual std::string xvr2::Object::toString | ( | ) | [virtual, inherited] |
| std::ostream& operator<< | ( | std::ostream & | stream, | |
| const Object & | s | |||
| ) | [friend, inherited] |
std::string xvr2::Object::__cls_name [protected, inherited] |
1.5.5