Hotwheels-Cluster 1.2
Creation of Cluster APP for SEA:ME project.
 
Loading...
Searching...
No Matches
IMileageCalculator.hpp
Go to the documentation of this file.
1
15
16#ifndef IMILEAGECALCULATOR_HPP
17#define IMILEAGECALCULATOR_HPP
18
24{
25public:
26 virtual ~IMileageCalculator() = default;
27 virtual void addSpeed(float speed) = 0;
28 virtual double calculateDistance() = 0;
29};
30
31#endif // IMILEAGECALCULATOR_HPP
Interface for calculating the mileage of a vehicle.
virtual void addSpeed(float speed)=0
virtual ~IMileageCalculator()=default
virtual double calculateDistance()=0