class mola::MapServer

Overview

Virtual interface for map server services offered by MOLA modules

#include <MapServer.h>

class MapServer
{
public:
    // structs

    struct ReturnStatus;

    // methods

    virtual ReturnStatus map_load(] const std::string& path);
    virtual ReturnStatus map_save(] const std::string& path);
};

Methods

virtual ReturnStatus map_load(] const std::string& path)

Loads a map from file(s) and sets it as active current map. Different implementations may use one or more files to store map as files.

Parameters:

path

File name(s) prefix for the map to load. Do not add file extension.

virtual ReturnStatus map_save(] const std::string& path)

Saves a map from file(s) and sets it as active current map. Different implementations may use one or more files to store map as files.

Parameters:

path

File name(s) prefix for the map to save. Do not add file extension.