C# Class F1Publisher.DataGenerators.Car

Inheritance: ICarStateDataGenerator
Show file Open project: pushtechnology/blog-steering-wheel Class Usage Examples

Public Methods

Method Description
Car ( ICarControlsDataGenerator carControlsDataGenerator, RefreshIntervalManager refreshIntervalManager ) : System
carControlsDataGenerator_ButtonStateChanged ( object sender, CarButtonEventArgs e ) : void

Protected Methods

Method Description
OnGearValueChanged ( IntegerScalarEventArgs e ) : void

Private Methods

Method Description
GearShiftDown ( ) : void
GearShiftUp ( ) : void

Method Details

Car() public method

public Car ( ICarControlsDataGenerator carControlsDataGenerator, RefreshIntervalManager refreshIntervalManager ) : System
carControlsDataGenerator ICarControlsDataGenerator
refreshIntervalManager RefreshIntervalManager
return System

OnGearValueChanged() protected method

protected OnGearValueChanged ( IntegerScalarEventArgs e ) : void
e IntegerScalarEventArgs
return void

carControlsDataGenerator_ButtonStateChanged() public method

public carControlsDataGenerator_ButtonStateChanged ( object sender, CarButtonEventArgs e ) : void
sender object
e CarButtonEventArgs
return void