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
23
class
IMileageCalculator
24
{
25
public
:
26
virtual
~IMileageCalculator
() =
default
;
27
virtual
void
addSpeed
(
float
speed) = 0;
28
virtual
double
calculateDistance
() = 0;
29
};
30
31
#endif
// IMILEAGECALCULATOR_HPP
IMileageCalculator
Interface for calculating the mileage of a vehicle.
Definition
IMileageCalculator.hpp:24
IMileageCalculator::addSpeed
virtual void addSpeed(float speed)=0
IMileageCalculator::~IMileageCalculator
virtual ~IMileageCalculator()=default
IMileageCalculator::calculateDistance
virtual double calculateDistance()=0
apps
cluster
includes
mileage
IMileageCalculator.hpp
Generated by
1.13.2