Open Rails

ORTS.Common Namespace

Namespace Hierarchy

Classes

Class Description
A Current conversions from and to Amps
AlmostEqualE  
Bar Pressure conversions from and to bar
BarpS Pressure rate conversions from and to bar/s
C Temperature conversions from and to Celsius
CallOnThreadAttribute Defines a thread on which the target is allowed to run; multiple threads may be allowed for a single target.
CancellationTokenSource  
CompareTimes Class to compare times taking into account times after midnight (morning comes after night comes after evening, but morning is before afternoon, which is before evening)
DataLogger  
DirectionControl  
ElapsedTime  
FormatStrings Class to convert various quantities (so a value with a unit) into nicely formatted strings for display
GetParticularStringAttribute Localization attribute for decorating enums
GetStringAttribute Localization attribute for decorating enums
IIRFilter by Matej Pacha IIRFilter class provides discreet Infinite impulse response (IIR) filter Transfer function in general: -1 -2 -n A(z) a0 + a1*z + a2*z + ... an*z H(z) = ----- = --------------------------------- B(z) -1 -2 -m 1 + b1*z + b2*z + ... bm*z IIRFilter class includes: - Exponential filter - not implemented! - Butterworth filter - only 1st order low pass with warping effect eliminated - Chebychev filter - not implemented! - Bessel filter - not implemented! With every filter it is possible to use constant or variable sampling frequency (now only with Butterworth 1st order!!!) - Use Filter(NewSample) for constant sampling period - Use Filter(NewSample, samplingPeriod) for variable sampling period Note: Sampling frequency MUST be always higher than cutoff frequency - if variable sampling period is used the Filter() function checks this condition and is skipped if not passed (may cause problems with result stability)
Integrator Integrator class covers discrete integrator methods Some forward method needs to be implemented
Kg Mass conversions from and to Kilograms
KgpS Mass rate conversions from and to Kg/s
KJpKg Energy density conversions from and to kJ/Kg
KJpM3 Energy density conversions from and to kJ/m^3
KPa Pressure conversions from and to kilopascals
L Liquid volume conversions from and to Litres
Me Distance conversions from and to metres
Me2 Area conversions from and to m^2
Me3 Volume conversions from and to m^3
MovingAverage  
MpS Speed conversions from and to metres/sec
N Force conversions from and to Newtons
NativeMethods Native methods for interacting with INI files.
NpM Stiffness conversions from and to Newtons/metre
NpMpS Resistance conversions from and to Newtons/metre/sec
pS Frequency conversions from and to Hz (revolutions/sec)
S Time conversions from and to Seconds
SettingsBase Base class for supporting settings (either from user, commandline, default, ...)
SettingsStore Base class for all means of persisting settings from the user/game.
SettingsStoreLocalIni INI file implementation of SettingsStore.
SettingsStoreRegistry Registry implementation of SettingsStore.
SmoothedData  
SmoothedDataWithPercentiles  
SystemInfo  
ThreadNameAttribute Explicitly sets the name of the thread on which the target will run.
VersionInfo Static class which provides version and build information about the whole game.
W Power conversions from and to Watts
WorldPosition Represents the position and orientation of an object within a tile in XNA coordinates.

Structures

Structure Description
CancellationToken  
WorldLocation Represents the position of an object within a tile in MSTS coordinates.

Enumerations

Enumeration Description
DataLogger.Separators  
Direction  
IIRFilter.FilterTypes  
IntegratorMethods  
PressureUnit Enumerate the various units of pressure that are used
SettingsBase.Source Enumeration of the various sources for settings
TrackMonitorSignalAspect  
TypeEditor  
TypeItem List of items that can be shown through the Editor. These items can be searchable, modifiable, movable, ...
TypeSiding