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 (maxon::String, COMPUTERNAME, "net.maxon.machineinfo.computername")
 
 MAXON_ATTRIBUTE (maxon::String, USERNAME, "net.maxon.machineinfo.username")
 
 MAXON_ATTRIBUTE (maxon::String, OSVERSION, "net.maxon.machineinfo.osversion")
 
 MAXON_ATTRIBUTE (maxon::Int, OSBUILDNUMBER, "net.maxon.machineinfo.osbuildnumber")
 
 MAXON_ATTRIBUTE (maxon::String, UNIQUEOSIDENTIFIER, "net.maxon.machineinfo.uniqueosidentifier")
 
 MAXON_ATTRIBUTE (maxon::BaseArray< maxon::Id >, LANGUAGES, "net.maxon.machineinfo.languages")
 
 MAXON_ATTRIBUTE (maxon::Int, USER_ID, "net.maxon.machineinfo.user_id")
 
 MAXON_ATTRIBUTE (maxon::Int, EFFECTIVE_USER_ID, "net.maxon.machineinfo.effective_user_id")
 
 MAXON_ATTRIBUTE (maxon::Int, GROUP_ID, "net.maxon.machineinfo.group_id")
 
 MAXON_ATTRIBUTE (maxon::Int, EFFECTIVE_GROUP_ID, "net.maxon.machineinfo.effective_group_id")
 
 MAXON_ATTRIBUTE (maxon::String, PROCESSORTYPE, "net.maxon.machineinfo.processortype")
 
 MAXON_ATTRIBUTE (maxon::String, PROCESSORNAME, "net.maxon.machineinfo.processorname")
 
 MAXON_ATTRIBUTE (maxon::String, PROCESSORFEATURES, "net.maxon.machineinfo.processorfeatures")
 
 MAXON_ATTRIBUTE (maxon::String, PROCESSORARCHITECTURE, "net.maxon.machineinfo.processorarchitecture")
 
 MAXON_ATTRIBUTE (maxon::Float64, PROCESSORFREQMHZ, "net.maxon.machineinfo.processorfreqmhz")
 
 MAXON_ATTRIBUTE (maxon::Int32, NUMBEROFPROCESSORS, "net.maxon.machineinfo.numberofprocessors")
 
 MAXON_ATTRIBUTE (maxon::Int32, NUMBEROFPHYSICALCORES, "net.maxon.machineinfo.numberofphysicalcores")
 
 MAXON_ATTRIBUTE (maxon::Bool, SUPPORTSSE2, "net.maxon.machineinfo.supportsse2")
 
 MAXON_ATTRIBUTE (maxon::Bool, SUPPORTSSE3, "net.maxon.machineinfo.supportsse3")
 
 MAXON_ATTRIBUTE (maxon::Bool, SUPPORTSSSE3, "net.maxon.machineinfo.supportssse3")
 
 MAXON_ATTRIBUTE (maxon::Bool, SUPPORTSSE41, "net.maxon.machineinfo.supportsse41")
 
 MAXON_ATTRIBUTE (maxon::Bool, SUPPORTSSE42, "net.maxon.machineinfo.supportsse42")
 
 MAXON_ATTRIBUTE (maxon::Bool, SUPPORTAVX, "net.maxon.machineinfo.supportavx")
 
 MAXON_ATTRIBUTE (maxon::Bool, SUPPORTAVX2, "net.maxon.machineinfo.supportavx2")
 
 MAXON_ATTRIBUTE (maxon::Bool, SUPPORTFMA, "net.maxon.machineinfo.supportfma")
 
 MAXON_ATTRIBUTE (maxon::Bool, SUPPORTAES, "net.maxon.machineinfo.supportaes")
 
 MAXON_ATTRIBUTE (maxon::Bool, SUPPORTPCLMULQDQ, "net.maxon.machineinfo.supportpclmulqdq")
 
 MAXON_ATTRIBUTE (maxon::BytesValue, PHYSICALMEMORY, "net.maxon.machineinfo.physicalmemory")
 
 MAXON_ATTRIBUTE (maxon::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/31]

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

Computer name returned by the OS.

◆ MAXON_ATTRIBUTE() [2/31]

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

User name of the currently logged in user.

◆ MAXON_ATTRIBUTE() [3/31]

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

OS Version in text format.

◆ MAXON_ATTRIBUTE() [4/31]

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

OS build number as integer value.

◆ MAXON_ATTRIBUTE() [5/31]

maxon::MACHINEINFO::MAXON_ATTRIBUTE ( maxon::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/31]

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

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

◆ MAXON_ATTRIBUTE() [7/31]

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

Linux and OSX only (getuid).

◆ MAXON_ATTRIBUTE() [8/31]

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

Linux and OSX only (geteuid).

◆ MAXON_ATTRIBUTE() [9/31]

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

Linux and OSX only (getgid).

◆ MAXON_ATTRIBUTE() [10/31]

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

Linux and OSX only (getegid).

◆ MAXON_ATTRIBUTE() [11/31]

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

CPU id string.

◆ MAXON_ATTRIBUTE() [12/31]

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

Name of the processor.

◆ MAXON_ATTRIBUTE() [13/31]

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

Supported cpu features.

◆ MAXON_ATTRIBUTE() [14/31]

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

Processor architecture.

◆ MAXON_ATTRIBUTE() [15/31]

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

Nominal processor frequency.

◆ MAXON_ATTRIBUTE() [16/31]

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

Number of threads including hyper threading cores.

◆ MAXON_ATTRIBUTE() [17/31]

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

Number of physical cpu cores.

◆ MAXON_ATTRIBUTE() [18/31]

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

True if SSE2 is supported.

◆ MAXON_ATTRIBUTE() [19/31]

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

True if SSE3 is supported.

◆ MAXON_ATTRIBUTE() [20/31]

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

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

◆ MAXON_ATTRIBUTE() [21/31]

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

True if SSE41 is supported.

◆ MAXON_ATTRIBUTE() [22/31]

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

True if SSE42 is supported.

◆ MAXON_ATTRIBUTE() [23/31]

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

True if AVX is supported.

◆ MAXON_ATTRIBUTE() [24/31]

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

True if AVX2 is supported.

◆ MAXON_ATTRIBUTE() [25/31]

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

True if FMA is supported.

◆ MAXON_ATTRIBUTE() [26/31]

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

True if AES is supported.

◆ MAXON_ATTRIBUTE() [27/31]

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

True if PCLMULQDQ is supported.

◆ MAXON_ATTRIBUTE() [28/31]

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

Physical memory of the machine.

◆ MAXON_ATTRIBUTE() [29/31]

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

Name of the primary display device.

◆ MAXON_ATTRIBUTE() [30/31]

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

◆ MAXON_ATTRIBUTE() [31/31]

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