osgEarth 2.1.1
|
Public Member Functions | |
SourceRepo () | |
void | add (const CustomColorLayer &layer) |
void | set (const CustomElevLayer &elevLayer) |
Public Attributes | |
ColorLayersByUID | _colorLayers |
CustomElevLayer | _elevLayer |
Threading::Mutex | _m |
Definition at line 33 of file TileBuilder.
TileBuilder::SourceRepo::SourceRepo | ( | ) | [inline] |
Definition at line 35 of file TileBuilder.
{ }
void TileBuilder::SourceRepo::add | ( | const CustomColorLayer & | layer | ) | [inline] |
Definition at line 37 of file TileBuilder.
{ Threading::ScopedMutexLock lock(_m); _colorLayers[ layer.getUID() ] = layer; }
void TileBuilder::SourceRepo::set | ( | const CustomElevLayer & | elevLayer | ) | [inline] |
Definition at line 43 of file TileBuilder.
{ // only one...no lock required _elevLayer = elevLayer; }
Definition at line 49 of file TileBuilder.
Definition at line 50 of file TileBuilder.
Definition at line 51 of file TileBuilder.