Program Listing for File MapServer.h
↰ Return to documentation for file (include/mola_kernel/interfaces/MapServer.h
)
/* -------------------------------------------------------------------------
* A Modular Optimization framework for Localization and mApping (MOLA)
* Copyright (C) 2018-2024 Jose Luis Blanco, University of Almeria
* See LICENSE for license information.
* ------------------------------------------------------------------------- */
#pragma once
#include <cstdlib>
#include <string>
namespace mola
{
class MapServer
{
public:
MapServer();
virtual ~MapServer();
struct ReturnStatus
{
ReturnStatus() = default;
bool success = false;
std::string error_message;
};
virtual ReturnStatus map_load([[maybe_unused]] const std::string& path)
{
return {};
}
virtual ReturnStatus map_save([[maybe_unused]] const std::string& path)
{
return {};
}
};
} // namespace mola