maxon::MACHINEINFO Namespace Reference

Detailed Description

IDs for the DataDictionary of Application::GetMachineInfo(). you can get the values by calling machineInfo.Get(MACHINEINFO::USERNAME) iferr_return;

Functions

 MAXON_RESOURCE_DATABASE_SCOPE ("net.maxon.machineinfo")
 
 MAXON_ATTRIBUTE (String, COMPUTERNAME, "net.maxon.machineinfo.computername")
 
 MAXON_ATTRIBUTE (String, USERNAME, "net.maxon.machineinfo.username")
 
 MAXON_ATTRIBUTE (String, OSVERSION, "net.maxon.machineinfo.osversion")
 
 MAXON_ATTRIBUTE (Int, OSBUILDNUMBER, "net.maxon.machineinfo.osbuildnumber")
 
 MAXON_ATTRIBUTE (String, UNIQUEOSIDENTIFIER, "net.maxon.machineinfo.uniqueosidentifier")
 
 MAXON_ATTRIBUTE (Id, UNIQUEOSIDENTIFIERSOURCE, "net.maxon.machineinfo.uniqueosidentifiersource", RESOURCE_DEFINE(ENUM_UUIDKEY, Id("uuidkey")))
 
 MAXON_ATTRIBUTE (BaseArray< maxon::Id >, LANGUAGES, "net.maxon.machineinfo.languages")
 
 MAXON_ATTRIBUTE (Int, USER_ID, "net.maxon.machineinfo.user_id")
 
 MAXON_ATTRIBUTE (Int, EFFECTIVE_USER_ID, "net.maxon.machineinfo.effective_user_id")
 
 MAXON_ATTRIBUTE (Int, GROUP_ID, "net.maxon.machineinfo.group_id")
 
 MAXON_ATTRIBUTE (Int, EFFECTIVE_GROUP_ID, "net.maxon.machineinfo.effective_group_id")
 
 MAXON_ATTRIBUTE (String, PROCESSORTYPE, "net.maxon.machineinfo.processortype")
 
 MAXON_ATTRIBUTE (String, PROCESSORNAME, "net.maxon.machineinfo.processorname")
 
 MAXON_ATTRIBUTE (String, PROCESSORFEATURES, "net.maxon.machineinfo.processorfeatures")
 
 MAXON_ATTRIBUTE (String, PROCESSORARCHITECTURE, "net.maxon.machineinfo.processorarchitecture")
 
 MAXON_ATTRIBUTE (Float64, PROCESSORFREQMHZ, "net.maxon.machineinfo.processorfreqmhz")
 
 MAXON_ATTRIBUTE (Int32, NUMBEROFPROCESSORS, "net.maxon.machineinfo.numberofprocessors")
 
 MAXON_ATTRIBUTE (Int32, NUMBEROFPHYSICALCORES, "net.maxon.machineinfo.numberofphysicalcores")
 
 MAXON_ATTRIBUTE (Bool, SUPPORTSSE2, "net.maxon.machineinfo.supportsse2")
 
 MAXON_ATTRIBUTE (Bool, SUPPORTSSE3, "net.maxon.machineinfo.supportsse3")
 
 MAXON_ATTRIBUTE (Bool, SUPPORTSSSE3, "net.maxon.machineinfo.supportssse3")
 
 MAXON_ATTRIBUTE (Bool, SUPPORTSSE41, "net.maxon.machineinfo.supportsse41")
 
 MAXON_ATTRIBUTE (Bool, SUPPORTSSE42, "net.maxon.machineinfo.supportsse42")
 
 MAXON_ATTRIBUTE (Bool, SUPPORTAVX, "net.maxon.machineinfo.supportavx")
 
 MAXON_ATTRIBUTE (Bool, SUPPORTAVX2, "net.maxon.machineinfo.supportavx2")
 
 MAXON_ATTRIBUTE (Bool, SUPPORTFMA, "net.maxon.machineinfo.supportfma")
 
 MAXON_ATTRIBUTE (Bool, SUPPORTAES, "net.maxon.machineinfo.supportaes")
 
 MAXON_ATTRIBUTE (Bool, SUPPORTPCLMULQDQ, "net.maxon.machineinfo.supportpclmulqdq")
 
 MAXON_ATTRIBUTE (BytesValue, PHYSICALMEMORY, "net.maxon.machineinfo.physicalmemory")
 
 MAXON_ATTRIBUTE (String, DISPLAYDEVICE, "net.maxon.machineinfo.displaydevice")
 
 MAXON_ATTRIBUTE (Group, GROUP_OS, "net.maxon.machineinfo.group.os")
 
 MAXON_ATTRIBUTE (Group, GROUP_HARDWARE, "net.maxon.machineinfo.group.hardware")
 

Function Documentation

◆ MAXON_RESOURCE_DATABASE_SCOPE()

maxon::MACHINEINFO::MAXON_RESOURCE_DATABASE_SCOPE ( "net.maxon.machineinfo"  )

◆ MAXON_ATTRIBUTE() [1/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( String  ,
COMPUTERNAME  ,
"net.maxon.machineinfo.computername"   
)

Computer name returned by the OS.

◆ MAXON_ATTRIBUTE() [2/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( String  ,
USERNAME  ,
"net.maxon.machineinfo.username"   
)

User name of the currently logged in user.

◆ MAXON_ATTRIBUTE() [3/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( String  ,
OSVERSION  ,
"net.maxon.machineinfo.osversion"   
)

OS Version in text format.

◆ MAXON_ATTRIBUTE() [4/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Int  ,
OSBUILDNUMBER  ,
"net.maxon.machineinfo.osbuildnumber"   
)

OS build number as integer value.

◆ MAXON_ATTRIBUTE() [5/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( String  ,
UNIQUEOSIDENTIFIER  ,
"net.maxon.machineinfo.uniqueosidentifier"   
)

Unique OS identifier. This id allows to identify a machine. Each machine (even VMs) should have it's unique identifier.

◆ MAXON_ATTRIBUTE() [6/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Id  ,
UNIQUEOSIDENTIFIERSOURCE  ,
"net.maxon.machineinfo.uniqueosidentifiersource"  ,
RESOURCE_DEFINE(ENUM_UUIDKEY, Id("uuidkey"))   
)

Unique OS identifier source. This id allows to identify a machine. Each machine (even VMs) should have it's unique identifier. NONE TPM: WIN TPM module UEFI: WIN Uefi REGISTRY: WIN registry CRYPTOGRAPHYID: WIN old cryptography id CRYPTOGRAPHYID_FALLBACK: WIN blocked collision id -> cryptography id SERIALKEY: OSX kIOPlatformSerialNumberKey UUIDKEY: OSX kIOPlatformUUIDKey

◆ MAXON_ATTRIBUTE() [7/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( BaseArray< maxon::Id ,
LANGUAGES  ,
"net.maxon.machineinfo.languages"   
)

Languages in order of preference. the first language is the most preferred language.

◆ MAXON_ATTRIBUTE() [8/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Int  ,
USER_ID  ,
"net.maxon.machineinfo.user_id"   
)

Linux and OSX only (getuid).

◆ MAXON_ATTRIBUTE() [9/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Int  ,
EFFECTIVE_USER_ID  ,
"net.maxon.machineinfo.effective_user_id"   
)

Linux and OSX only (geteuid).

◆ MAXON_ATTRIBUTE() [10/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Int  ,
GROUP_ID  ,
"net.maxon.machineinfo.group_id"   
)

Linux and OSX only (getgid).

◆ MAXON_ATTRIBUTE() [11/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Int  ,
EFFECTIVE_GROUP_ID  ,
"net.maxon.machineinfo.effective_group_id"   
)

Linux and OSX only (getegid).

◆ MAXON_ATTRIBUTE() [12/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( String  ,
PROCESSORTYPE  ,
"net.maxon.machineinfo.processortype"   
)

CPU id string.

◆ MAXON_ATTRIBUTE() [13/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( String  ,
PROCESSORNAME  ,
"net.maxon.machineinfo.processorname"   
)

Name of the processor.

◆ MAXON_ATTRIBUTE() [14/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( String  ,
PROCESSORFEATURES  ,
"net.maxon.machineinfo.processorfeatures"   
)

Supported cpu features.

◆ MAXON_ATTRIBUTE() [15/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( String  ,
PROCESSORARCHITECTURE  ,
"net.maxon.machineinfo.processorarchitecture"   
)

Processor architecture.

◆ MAXON_ATTRIBUTE() [16/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Float64  ,
PROCESSORFREQMHZ  ,
"net.maxon.machineinfo.processorfreqmhz"   
)

Nominal processor frequency.

◆ MAXON_ATTRIBUTE() [17/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Int32  ,
NUMBEROFPROCESSORS  ,
"net.maxon.machineinfo.numberofprocessors"   
)

Number of threads including hyper threading cores.

◆ MAXON_ATTRIBUTE() [18/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Int32  ,
NUMBEROFPHYSICALCORES  ,
"net.maxon.machineinfo.numberofphysicalcores"   
)

Number of physical cpu cores.

◆ MAXON_ATTRIBUTE() [19/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Bool  ,
SUPPORTSSE2  ,
"net.maxon.machineinfo.supportsse2"   
)

True if SSE2 is supported.

◆ MAXON_ATTRIBUTE() [20/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Bool  ,
SUPPORTSSE3  ,
"net.maxon.machineinfo.supportsse3"   
)

True if SSE3 is supported.

◆ MAXON_ATTRIBUTE() [21/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Bool  ,
SUPPORTSSSE3  ,
"net.maxon.machineinfo.supportssse3"   
)

True if SSSE3 is supported (some older 64 bit AMD cpus do not support this feature).

◆ MAXON_ATTRIBUTE() [22/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Bool  ,
SUPPORTSSE41  ,
"net.maxon.machineinfo.supportsse41"   
)

True if SSE41 is supported.

◆ MAXON_ATTRIBUTE() [23/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Bool  ,
SUPPORTSSE42  ,
"net.maxon.machineinfo.supportsse42"   
)

True if SSE42 is supported.

◆ MAXON_ATTRIBUTE() [24/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Bool  ,
SUPPORTAVX  ,
"net.maxon.machineinfo.supportavx"   
)

True if AVX is supported.

◆ MAXON_ATTRIBUTE() [25/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Bool  ,
SUPPORTAVX2  ,
"net.maxon.machineinfo.supportavx2"   
)

True if AVX2 is supported.

◆ MAXON_ATTRIBUTE() [26/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Bool  ,
SUPPORTFMA  ,
"net.maxon.machineinfo.supportfma"   
)

True if FMA is supported.

◆ MAXON_ATTRIBUTE() [27/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Bool  ,
SUPPORTAES  ,
"net.maxon.machineinfo.supportaes"   
)

True if AES is supported.

◆ MAXON_ATTRIBUTE() [28/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Bool  ,
SUPPORTPCLMULQDQ  ,
"net.maxon.machineinfo.supportpclmulqdq"   
)

True if PCLMULQDQ is supported.

◆ MAXON_ATTRIBUTE() [29/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( BytesValue  ,
PHYSICALMEMORY  ,
"net.maxon.machineinfo.physicalmemory"   
)

Physical memory of the machine.

◆ MAXON_ATTRIBUTE() [30/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( String  ,
DISPLAYDEVICE  ,
"net.maxon.machineinfo.displaydevice"   
)

Main Display Device of the machine.

◆ MAXON_ATTRIBUTE() [31/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Group  ,
GROUP_OS  ,
"net.maxon.machineinfo.group.os"   
)

◆ MAXON_ATTRIBUTE() [32/32]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( Group  ,
GROUP_HARDWARE  ,
"net.maxon.machineinfo.group.hardware"   
)