GeometryFromProtobufLoader.h 677 Bytes
Newer Older
GrgrLmml's avatar
GrgrLmml 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 25 26 27
//
// Created by Gregor Lämmel on 30/03/16.
//

#ifndef JPSCORE_GEOMETRYFROMPROTOBUFLOADER_H
#define JPSCORE_GEOMETRYFROMPROTOBUFLOADER_H

#include "../geometry/GeometryReader.h"
#include "../general/Configuration.h"

class GeometryFromProtobufLoader : public GeometryReader {
public:
     GeometryFromProtobufLoader(const Configuration* configuration);

     virtual void LoadBuilding(Building* building) override;

     virtual bool LoadTrafficInfo(Building* building) override;

private:
     const Configuration* _configuration;

     bool LoadGeometry(Building* building);

     bool LoadRoutingInfo(Building* building);
};

#endif //JPSCORE_GEOMETRYFROMPROTOBUFLOADER_H