| 1 | <?php |
||
| 4 | abstract class SpeedPointAbstract implements SpeedPointInterface |
||
| 5 | { |
||
| 6 | |||
| 7 | /** |
||
| 8 | * @var ?float |
||
| 9 | */ |
||
| 10 | public $value; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var ?string |
||
| 14 | */ |
||
| 15 | public $type; |
||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | /** |
||
| 20 | * @inheritDoc |
||
| 21 | */ |
||
| 22 | 9 | public function valid() : bool |
|
| 26 | |||
| 27 | |||
| 28 | /** |
||
| 29 | * @inheritDoc |
||
| 30 | */ |
||
| 31 | 6 | public function getType() : ?string |
|
| 35 | |||
| 36 | |||
| 37 | /** |
||
| 38 | * inheritDoc |
||
| 39 | */ |
||
| 40 | 15 | public function getValue() : ?float |
|
| 44 | |||
| 45 | |||
| 46 | |||
| 47 | /** |
||
| 48 | * Subtracts log10( 2 ) from the Speed point value. |
||
| 49 | * |
||
| 50 | * inheritDoc |
||
| 51 | */ |
||
| 52 | 15 | public function getSpeedLoss() : ?float |
|
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | /** |
||
| 62 | * Calculates the number of DIN steps for exposure compensation. |
||
| 63 | * |
||
| 64 | * inheritDoc |
||
| 65 | */ |
||
| 66 | 15 | public function getEICorrection() : ?float |
|
| 72 | |||
| 73 | } |
||
| 74 |