Apollo  6.0
Open source self driving car software
Public Types | Public Member Functions | List of all members
apollo::localization::msf::MapImageCache Class Reference

The cache to load map images. More...

#include <visualization_engine.h>

Collaboration diagram for apollo::localization::msf::MapImageCache:
Collaboration graph

Public Types

typedef std::list< std::pair< MapImageKey, cv::Mat > >::iterator ListIterator
 

Public Member Functions

 MapImageCache (int capacity)
 
bool Get (const MapImageKey &key, cv::Mat *image)
 
void Set (const MapImageKey &key, const cv::Mat &image)
 

Detailed Description

The cache to load map images.

Member Typedef Documentation

◆ ListIterator

typedef std::list<std::pair<MapImageKey, cv::Mat> >::iterator apollo::localization::msf::MapImageCache::ListIterator

Constructor & Destructor Documentation

◆ MapImageCache()

apollo::localization::msf::MapImageCache::MapImageCache ( int  capacity)
inlineexplicit

Member Function Documentation

◆ Get()

bool apollo::localization::msf::MapImageCache::Get ( const MapImageKey key,
cv::Mat *  image 
)

◆ Set()

void apollo::localization::msf::MapImageCache::Set ( const MapImageKey key,
const cv::Mat &  image 
)

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