Smartcar Shield
HeadingSensor.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 
9 {
10 public:
11  virtual ~HeadingSensor() = default;
12 
22  virtual int getHeading() = 0;
23 
36  virtual void update() = 0;
37 };
HeadingSensor::~HeadingSensor
virtual ~HeadingSensor()=default
HeadingSensor::update
virtual void update()=0
Updates the sensor's readings.
HeadingSensor
Definition: HeadingSensor.hpp:8
HeadingSensor::getHeading
virtual int getHeading()=0
Returns the current heading of the vehicle.