Apollo
6.0
Open source self driving car software
|
The cache to load map images. More...
#include <visualization_engine.h>
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) |
The cache to load map images.
typedef std::list<std::pair<MapImageKey, cv::Mat> >::iterator apollo::localization::msf::MapImageCache::ListIterator |
|
inlineexplicit |
bool apollo::localization::msf::MapImageCache::Get | ( | const MapImageKey & | key, |
cv::Mat * | image | ||
) |
void apollo::localization::msf::MapImageCache::Set | ( | const MapImageKey & | key, |
const cv::Mat & | image | ||
) |