| namespace madrona_gpudrive { | |
| struct AgentInit; | |
| class MapReader { | |
| public: | |
| static madrona_gpudrive::Map* parseAndWriteOut(const std::string &path, madrona::ExecMode executionMode, float polylineReductionThreshold); | |
| private: | |
| MapReader(const std::string &pathToFile); | |
| ~MapReader(); | |
| void doParse(float polylineReductionThreshold); | |
| std::ifstream in_; | |
| madrona_gpudrive::Map *map_; | |
| }; | |
| } // namespace madrona_gpudrive | |