17 #ifndef _GAZEBO_MODELDATABSE_PRIVATE_HH_
18 #define _GAZEBO_MODELDATABSE_PRIVATE_HH_
24 #include <boost/thread.hpp>
25 #include <boost/thread/mutex.hpp>
63 public:
typedef boost::function<
boost::function< void(const std::map< std::string, std::string > &)> CallbackFunc
Definition: ModelDatabasePrivate.hh:64
boost::condition_variable updateCacheCompleteCondition
Condition variable for completion of one cache update.
Definition: ModelDatabasePrivate.hh:59
event::EventT< void(std::map< std::string, std::string >)> modelDBUpdated
Triggered when the model data has been updated after calling ModelDatabase::GetModels() ...
Definition: ModelDatabasePrivate.hh:69
boost::mutex callbacksMutex
Protects callback list.
Definition: ModelDatabasePrivate.hh:50
bool stop
True to stop the background thread.
Definition: ModelDatabasePrivate.hh:44
boost::recursive_mutex startCacheMutex
Mutex to protect cache thread status checks.
Definition: ModelDatabasePrivate.hh:53
Private class attributes for ModelDatabase.
Definition: ModelDatabasePrivate.hh:35
boost::condition_variable updateCacheCondition
Condition variable for the updateCacheThread.
Definition: ModelDatabasePrivate.hh:56
std::map< std::string, std::string > modelCache
A dictionary of all model names indexed by their uri.
Definition: ModelDatabasePrivate.hh:41
boost::thread * updateCacheThread
Thread to update the model cache.
Definition: ModelDatabasePrivate.hh:38
boost::mutex updateMutex
Cache update mutex.
Definition: ModelDatabasePrivate.hh:47
A class for event processing.
Definition: Event.hh:156
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48