Revision: 8790
          http://playerstage.svn.sourceforge.net/playerstage/?rev=8790&view=rev
Author:   hsujohnhsu
Date:     2010-06-25 01:06:53 +0000 (Fri, 25 Jun 2010)

Log Message:
-----------
adding function calls to clear Gazebo/Ogre/Plugin Paths.

Modified Paths:
--------------
    code/gazebo/trunk/server/GazeboConfig.cc
    code/gazebo/trunk/server/GazeboConfig.hh

Modified: code/gazebo/trunk/server/GazeboConfig.cc
===================================================================
--- code/gazebo/trunk/server/GazeboConfig.cc    2010-06-25 00:57:43 UTC (rev 
8789)
+++ code/gazebo/trunk/server/GazeboConfig.cc    2010-06-25 01:06:53 UTC (rev 
8790)
@@ -149,6 +149,19 @@
   return this->pluginPaths;
 }
 
+void GazeboConfig::ClearGazeboPaths()
+{
+  this->gazeboPaths.clear();
+}
+void GazeboConfig::ClearOgrePaths()
+{
+  this->ogrePaths.clear();
+}
+void GazeboConfig::ClearPluginPaths()
+{
+  this->pluginPaths.clear();
+}
+
 void GazeboConfig::AddGazeboPaths(std::string gazebo_resource_path)
 {
   std::string delim(":");

Modified: code/gazebo/trunk/server/GazeboConfig.hh
===================================================================
--- code/gazebo/trunk/server/GazeboConfig.hh    2010-06-25 00:57:43 UTC (rev 
8789)
+++ code/gazebo/trunk/server/GazeboConfig.hh    2010-06-25 01:06:53 UTC (rev 
8790)
@@ -69,6 +69,10 @@
     public: void ClearOgrePaths();
     public: void ClearPluginPaths();
 
+    public: void ClearGazeboPaths();
+    public: void ClearOgrePaths();
+    public: void ClearPluginPaths();
+
     /// Paths gazebo install
     private: std::list<std::string> gazeboPaths;
     


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to