add: comment for RasterCache class
This commit is contained in:
parent
ee177efe41
commit
9da6cf8764
@ -145,6 +145,10 @@ class RasterContainer
|
|||||||
};
|
};
|
||||||
|
|
||||||
// << singletone >> RasterCache
|
// << singletone >> RasterCache
|
||||||
|
// The instance of RasterContainer is created for every threads osrm-extract uses.
|
||||||
|
// To avoid multiple load of same file on each RasterContainer,
|
||||||
|
// The LoadedSources and LoadedSourcePaths are separated to RasterCache class
|
||||||
|
// and handled as the singletone pattern to avoid duplicate creation.
|
||||||
class RasterCache
|
class RasterCache
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user