Class MapsManagerBase

Inheritance Relationships

Base Type

Class Documentation

class MapsManagerBase : public easynav::MethodBase

Abstract base class for map management in Easy Navigation.

This class defines the interface for components responsible for generating or maintaining maps. Derived classes must implement the update and get_maps methods.

Public Functions

MapsManagerBase() = default

Default constructor.

virtual ~MapsManagerBase() = default

Virtual destructor.

void internal_update(NavState &nav_state)

Helper to run the update method if it is time to do so.

Parameters:

nav_state – The current state of the navigation system.

Protected Functions

virtual void update(NavState &nav_state) = 0

Run the map update logic.

Called periodically by the system to update map data using the current navigation state.

Parameters:

nav_state – The current state of the navigation system.