C# Class AK.F1.Timing.Model.Session.SpeedCapturesModel

Inheritance: ModelBase
Show file Open project: simoneb/ak-f1-timing Class Usage Examples

Private Properties

Property Type Description
CreateSpeedCaptureModel SpeedCaptureModel
GetInnerCollection ObservableCollection
NotifyIsEmptyChanged void
UpdateCollection void

Public Methods

Method Description
GetCollection ( SpeedCaptureLocation location ) : ReadOnlyObservableCollection

Gets the capture collection for the specified location.

Process ( Message message ) : void
Reset ( ) : void

Resets this model.

SpeedCapturesModel ( IDriverModelLocator driverLocator ) : System

Initialises a new instance of the SpeedCapturesModel class and specifies the driver model provider.

Private Methods

Method Description
CreateSpeedCaptureModel ( SpeedCaptureLocation location, int driverId, int speed ) : SpeedCaptureModel
GetInnerCollection ( SpeedCaptureLocation location ) : ObservableCollection
NotifyIsEmptyChanged ( ) : void
UpdateCollection ( SpeedCaptureLocation location, int driverId, int speed ) : void

Method Details

GetCollection() public method

Gets the capture collection for the specified location.
/// Thrown when is not valid. ///
public GetCollection ( SpeedCaptureLocation location ) : ReadOnlyObservableCollection
location SpeedCaptureLocation the capture location.
return ReadOnlyObservableCollection

Process() public method

public Process ( Message message ) : void
message Message
return void

Reset() public method

Resets this model.
public Reset ( ) : void
return void

SpeedCapturesModel() public method

Initialises a new instance of the SpeedCapturesModel class and specifies the driver model provider.
/// Thrown when is . ///
public SpeedCapturesModel ( IDriverModelLocator driverLocator ) : System
driverLocator IDriverModelLocator The driver model provider.
return System