Update of /cvsroot/playerstage/code/player/client_libs/libplayerc++
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24947/client_libs/libplayerc++

Modified Files:
      Tag: release-2-0-patches
        playerc++.h simulationproxy.cc 
Log Message:
applied patch 1723800

Index: playerc++.h
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/client_libs/libplayerc++/playerc++.h,v
retrieving revision 1.54.2.13
retrieving revision 1.54.2.14
diff -C2 -d -r1.54.2.13 -r1.54.2.14
*** playerc++.h 18 Oct 2007 22:21:12 -0000      1.54.2.13
--- playerc++.h 19 Oct 2007 18:03:21 -0000      1.54.2.14
***************
*** 1980,1983 ****
--- 1980,1992 ----
      /// std::string Returns 0 on success, else a non-zero error code.
      void GetPose2d(char* identifier, double& x, double& y, double& a);
+ 
+     /// set the integer property value    
+     void SetProperty(char * name, char * property, int value);
+     
+     /// set the double-precission property value    
+     void SetProperty(char * name, char * property, double value);
+     
+     /// set the string property value    
+     void SetProperty(char * name, char * property, char * value);
  };
  

Index: simulationproxy.cc
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/client_libs/libplayerc++/simulationproxy.cc,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -C2 -d -r1.5 -r1.5.4.1
*** simulationproxy.cc  24 Oct 2005 09:02:40 -0000      1.5
--- simulationproxy.cc  19 Oct 2007 18:03:21 -0000      1.5.4.1
***************
*** 85,86 ****
--- 85,103 ----
  }
  
+ void SimulationProxy::SetProperty(char * name, char * property, int value)
+ {
+   scoped_lock_t lock(mPc->mMutex);
+   playerc_simulation_set_property_int(mDevice, name, property, value);
+ }
+     
+ void SimulationProxy::SetProperty(char * name, char * property, double value)
+ {
+   scoped_lock_t lock(mPc->mMutex);
+   playerc_simulation_set_property_double(mDevice, name, property, value);
+ }
+     
+ void SimulationProxy::SetProperty(char * name, char * property, char * value)
+ {
+   scoped_lock_t lock(mPc->mMutex);
+   playerc_simulation_set_property_string(mDevice, name, property, value);
+ }


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to