TCSystem.h File Reference

This header file provides the definition of the namespace TC::System. More...

#include "TCTypes.h"
#include <string>

Include dependency graph for TCSystem.h:

Go to the source code of this file.


Namespaces

namespace  TC
namespace  TC::System
 Namespace for getting operating system depending information.

Functions

std::string TC::System::GetOSName ()
std::string TC::System::GetOSVersion ()
std::string TC::System::GetOSCompany ()
std::string TC::System::GetHostName ()
std::string TC::System::GetUserName ()
sint32 TC::System::GetNumCPUs ()
std::string TC::System::GetCpuModel ()
uint64 TC::System::GetCpuTime (uint64 starttime=0)
void TC::System::Sleep (uint64 milli_seconds)
 Suspends the process for specified time if supported by the system otherwise it just waits specified time by checking the wall time.
std::string TC::System::GetDate ()
std::string TC::System::GetEnvironment (const std::string &ename)
uint32 TC::System::GetProcessID ()
uint32 TC::System::GetCurrentThreadID ()
sint32 TC::System::GetLastError ()
std::string TC::System::GetLastErrorMessage ()


Detailed Description

This header file provides the definition of the namespace TC::System.

Author:
Thomas Goessler

Definition in file TCSystem.h.


Copyright (c) Thomas Goessler 2003 - 2008