Public Types | Public Attributes | List of all members
gazebo::common::ModelDatabasePrivate Class Reference

Private class attributes for ModelDatabase. More...

#include <ModelDatabasePrivate.hh>

Public Types

typedef boost::function< void(const
std::map< std::string,
std::string > &)> 
CallbackFunc
 

Public Attributes

boost::mutex callbacksMutex
 Protects callback list. More...
 
std::map< std::string,
std::string > 
modelCache
 A dictionary of all model names indexed by their uri. More...
 
event::EventT< void(std::map
< std::string, std::string >)> 
modelDBUpdated
 Triggered when the model data has been updated after calling ModelDatabase::GetModels() More...
 
boost::recursive_mutex startCacheMutex
 Mutex to protect cache thread status checks. More...
 
bool stop
 True to stop the background thread. More...
 
boost::condition_variable updateCacheCompleteCondition
 Condition variable for completion of one cache update. More...
 
boost::condition_variable updateCacheCondition
 Condition variable for the updateCacheThread. More...
 
boost::thread * updateCacheThread
 Thread to update the model cache. More...
 
boost::mutex updateMutex
 Cache update mutex. More...
 

Detailed Description

Private class attributes for ModelDatabase.

Member Typedef Documentation

typedef boost::function< void (const std::map<std::string, std::string> &)> gazebo::common::ModelDatabasePrivate::CallbackFunc

Member Data Documentation

boost::mutex gazebo::common::ModelDatabasePrivate::callbacksMutex

Protects callback list.

std::map<std::string, std::string> gazebo::common::ModelDatabasePrivate::modelCache

A dictionary of all model names indexed by their uri.

event::EventT< void (std::map<std::string, std::string>)> gazebo::common::ModelDatabasePrivate::modelDBUpdated

Triggered when the model data has been updated after calling ModelDatabase::GetModels()

boost::recursive_mutex gazebo::common::ModelDatabasePrivate::startCacheMutex

Mutex to protect cache thread status checks.

bool gazebo::common::ModelDatabasePrivate::stop

True to stop the background thread.

boost::condition_variable gazebo::common::ModelDatabasePrivate::updateCacheCompleteCondition

Condition variable for completion of one cache update.

boost::condition_variable gazebo::common::ModelDatabasePrivate::updateCacheCondition

Condition variable for the updateCacheThread.

boost::thread* gazebo::common::ModelDatabasePrivate::updateCacheThread

Thread to update the model cache.

boost::mutex gazebo::common::ModelDatabasePrivate::updateMutex

Cache update mutex.


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