MapAppABIWrapper.hpp 717 Bytes
Newer Older
Martin Kröning's avatar
Martin Kröning committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#pragma once

#include <chrono>
#include <string>
#include <vector>
struct MapApp;

class MapAppABIWrapper {
public:
  MapAppABIWrapper();
  virtual ~MapAppABIWrapper();
  void addJunction(double x, double y);
  void addRoad(const std::string &laneThereName,
               const std::string &laneBackName,
               const std::vector<double> &coordinates);
  void addOrReplaceVehicle(const std::string &vehicleName,
                           const std::string &laneName, double positionOnLane,
                           double speed, double remainingFuel, double red,
                           double green, double blue);
  void setDurationLabel(std::chrono::minutes minutes);

private:
  MapApp *mapApp;
};