44 UrisInfoT::iterator it =
m_openURIS.find( uri );
48 m_openURIS[ uri ] = std::pair< AccessType, unsigned long int >( aType, 1 ) ;
68 ++( it->second.second );
83 UrisInfoT::iterator it =
m_openURIS.find( uri );
87 if( it->second.second == 1 )
93 --( it->second.second );
UrisInfoT m_openURIS
Current open URIs.
void decrementUseCounter(const std::string &uri)
Decrement the use counter for the given raster URI.
bool incrementUseCounter(const std::string &uri, const AccessType aType)
Try to increment the use counter for the given raster URI.
boost::mutex m_mutex
Internal thread sync mutex.