Stroika Library 3.0d25
 
Loading...
Searching...
No Matches
SystemConfiguration.h File Reference
#include "Stroika/Foundation/StroikaPreComp.h"
#include "Stroika/Foundation/Characters/String.h"
#include "Stroika/Foundation/Common/Common.h"
#include "Stroika/Foundation/Common/GUID.h"
#include "Stroika/Foundation/Containers/Sequence.h"
#include "Stroika/Foundation/Time/DateTime.h"
#include "SystemConfiguration.inl"

Go to the source code of this file.

Classes

struct  Stroika::Foundation::Common::SystemConfiguration
 What can be told of the machine this runs on - GetSystemConfiguration () gets it all, each GetSystemConfiguration_Xxx () a part. More...
 
struct  Stroika::Foundation::Common::SystemConfiguration::CPU::CoreDetails
 
struct  Stroika::Foundation::Common::SystemConfiguration::ComputerNames
 

Namespaces

namespace  Stroika::Foundation
 
namespace  Stroika::Foundation::Common
 

Functions

SystemConfiguration Stroika::Foundation::Common::GetSystemConfiguration ()
 Get the System Configuration object - note not a system global - because the configuration can change while the app is running.
 
SystemConfiguration::OperatingSystem Stroika::Foundation::Common::GetSystemConfiguration_ActualOperatingSystem ()
 
SystemConfiguration::OperatingSystem Stroika::Foundation::Common::GetSystemConfiguration_ApparentOperatingSystem ()
 
optional< GUID > Stroika::Foundation::Common::GetSystemConfiguration_MachineID ()
 The operating system's own ID for this machine - exactly as the OS keeps it, the same every time (it survives reboots); nullopt if the OS has none, or it cannot be read.
 
optional< GUID > Stroika::Foundation::Common::GetSystemConfiguration_MachineID (const GUID &applicationKey)
 one derived for an application
 
unsigned int Stroika::Foundation::Common::GetNumberOfLogicalCPUCores (const chrono::duration< double > &allowedStaleness=1min)
 return the number of currently available CPU cores on this (virtual) machine
 

Detailed Description

Note
Code-Status: Beta

TODO:

Definition in file SystemConfiguration.h.