Skip to content
Snippets Groups Projects
Commit 06a83090 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Florent Lamiraux
Browse files

Add a getter for the mutex

parent 432fb627
No related branches found
No related tags found
No related merge requests found
......@@ -78,6 +78,11 @@ namespace graphics {
virtual std::vector<std::string> getSceneList();
virtual std::vector<std::string> getWindowList();
/// Return the mutex to be locked before refreshing
boost::mutex& lock () {
return mtx_;
}
virtual bool setRate(const int& rate);
virtual void refresh();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment