Subsystem Class

This class encapsulates various control operations for the wRTOS real-time Subsystem.

Inheritance Hierarchy

System.Object
  IntervalZero.MaxRT.wRTOS.wRTOSObject
    IntervalZero.MaxRT.wRTOS.Control.Subsystem

Namespace:  IntervalZero.MaxRT.wRTOS.Control
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.1.0)

Syntax

Copy
public class Subsystem : wRTOSObject, IControlSubsystem

 

The Subsystem class exposes the following members.

Constructors

 

Name Description

Public method

Subsystem

Constructor.

Methods

  Name Description

Public method

Dispose

Dispose method.

(Inherited from wRTOSObject.)

Protected method

OnNotifyPropertyChanged

Called when a property is changed

(Inherited from wRTOSObject.)

Public method

Start

Starts the Subsystem. If the Subsystem fails to start properly, this method throws an exception of type wRTOSException, and instance property State returns START_ERROR. If the TCP/IP stack is set to run on wRTOS start and its license is not valid throws wRTOSInvalidTcpIpStackLicense exception.

Public method

Stop

Stops the Subsystem. If the Subsystem fails to stop properly, this method throws an exception of type wRTOSException, and instance property State returns STOP_ERROR.

Public method

StopForce

Stops the Subsystem even if RTSS processes or Windows processes linked to wRTOS are still running. If the Subsystem fails to stop properly, this method throws an exception of type wRTOSException, and instance property State returns STOP_ERROR.

Properties

  Name Description

ExtendedStatus

Returns an extended status as a human-readable string.

IsDisposed

True if the object has been disposed, false otherwise.

(Inherited from wRTOSObject.)

State

Returns the current state of the Subsystem without waiting to lock the Subsystem start/stop mutex.

Events

  Name Description

Public event

PropertyChanged

Event Fired when a property value is changed

(Inherited from wRTOSObject.)

See Also: