| 244 | } |
| 245 | |
| 246 | void system::load_map_database(const std::string &path) const |
| 247 | { |
| 248 | pause_other_threads(); |
| 249 | io::map_database_io map_db_io(cam_db_, map_db_, bow_db_, bow_vocab_); |
| 250 | map_db_io.load_message_pack(path); |
| 251 | resume_other_threads(); |
| 252 | } |
| 253 | |
| 254 | void system::save_map_database(const std::string &path) const |
| 255 | { |
no test coverage detected