Machine Class

This class provides read-only access to some attributes of the current machine, such as the hostname, amount of RAM, and the number of logical processors.

Inheritance Hierarchy

System.Object
  IntervalZero.MaxRT.wRTOS.wRTOSObject
    IntervalZero.MaxRT.wRTOS.Config.Machine

Namespace:  IntervalZero.MaxRT.wRTOS.Config
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.1)

Syntax

Copy
public class Device : wRTOSObject, IConfigDevice

 

The Machine class exposes the following members.

Constructors

  Name Description

Public method

Machine

Initializes a new instance of the Machine class

Properties

  Name Description

Public property

Hostname

Read-only. Returns the hostname of the machine.

Protected property

IsDisposed

True if the object has been disposed, false otherwise.

(Inherited from wRTOSObject.)

Public property

NumberLogicalCores

Read-only. Returns the total number of logical processors on the machine. This value counts a hyper-threaded physical processor as two logical processors. This value is the total number of logical processors -- not the number of logical cores that wRTOS reserves for Windows and not a value limited by Windows OS licensing.

Public property

PhysicalMemory

Read-only. Returns the size of the machine's physical memory in bytes.

Methods

  Name Description

Public method

Dispose

Dispose method.

(Inherited from wRTOSObject.)

Protected method

OnNotifyPropertyChanged

Called when a property is changed

(Inherited from wRTOSObject.)

Events

  Name Description

Public event

PropertyChanged

Event Fired when a property value is changed

(Inherited from wRTOSObject.)

See Also: