Public Member Functions | Private Attributes | List of all members
detail::AreaHistory Class Reference

#include <tile_cache_delay.h>

Public Member Functions

void add (Area const &area)
 
void fit (Area const &area)
 
template<typename Tile >
bool ready (TileCacheDelay< Tile > const &cache, TileId const &to_find) const
 

Private Attributes

std::vector< ExpiringAreahistory_
 History of areas that will be or were drawn in Rviz. More...
 

Detailed Description

A record of Areas that were visited by the robot.

Definition at line 85 of file tile_cache_delay.h.

Member Function Documentation

◆ add()

void detail::AreaHistory::add ( Area const &  area)
inline

Add a new Area to the history.

Parameters
areaArea to add to the history.

Definition at line 106 of file tile_cache_delay.h.

◆ fit()

void detail::AreaHistory::fit ( Area const &  area)
inline

Remove all Areas that aren't in area

Definition at line 94 of file tile_cache_delay.h.

◆ ready()

template<typename Tile >
bool detail::AreaHistory::ready ( TileCacheDelay< Tile > const &  cache,
TileId const &  to_find 
) const
inline

Is the tile in at least one Area that is ready?

Definition at line 120 of file tile_cache_delay.h.

Member Data Documentation

◆ history_

std::vector<ExpiringArea> detail::AreaHistory::history_
private

History of areas that will be or were drawn in Rviz.

Definition at line 88 of file tile_cache_delay.h.


The documentation for this class was generated from the following file:


rviz_satellite
Author(s): Gareth Cross , Andre Schröder
autogenerated on Thu May 4 2023 02:31:43