OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
OperatingSystem.h File Reference

Go to the source code of this file.

Namespaces

namespace  ot
 
namespace  os
 The os may be used to get different informations about the Hardware or System configuration.
 
namespace  ot::os
 

Functions

OT_SYS_API_EXPORT unsigned long long ot::os::getTotalPhysicalMemory (void)
 Returns the total physical memory of the current machine in bytes.
 
OT_SYS_API_EXPORT unsigned long long ot::os::getAvailablePhysicalMemory (void)
 Returns the available physical memory of the current machine in bytes.
 
OT_SYS_API_EXPORT unsigned long long ot::os::getTotalVirtualMemory (void)
 Returns the total virtual memory of the current machine in bytes.
 
OT_SYS_API_EXPORT unsigned long long ot::os::getAvailableVirtualMemory (void)
 Returns the available virtual memory of the current machine in bytes.
 
OT_SYS_API_EXPORT char * ot::os::getEnvironmentVariable (const char *_variableName)
 
OT_SYS_API_EXPORT std::string ot::os::getExecutablePath ()
 Returns the path of the current executable.
 

Detailed Description

Author
Alexander Kuester (alexk95)
Date
April 2023