Changeset 13206
- Timestamp:
- 05/16/13 17:52:29 (2 days ago)
- Location:
- OpenSceneGraph/trunk/src/osgPlugins/RestHttpDevice
- Files:
-
- 2 modified
-
RestHttpDevice.cpp (modified) (4 diffs)
-
RestHttpDevice.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp
r13185 r13206 69 69 virtual bool operator()(const std::string& request_path, const std::string& full_request_path, const Arguments& arguments, http::server::reply& reply) 70 70 { 71 int x_min , y_min, x_max, y_max;71 int x_min(0), y_min(0), x_max(0), y_max(0); 72 72 73 73 if ( getIntArgument(arguments, "x_min", reply, x_min) … … 102 102 virtual bool operator()(const std::string& request_path, const std::string& full_request_path, const Arguments& arguments, http::server::reply& reply) 103 103 { 104 int keycode ;104 int keycode(0); 105 105 106 106 if (getHexArgument(arguments, "code", reply, keycode)) … … 133 133 virtual bool operator()(const std::string& request_path, const std::string& full_request_path, const Arguments& arguments, http::server::reply& reply) 134 134 { 135 int x ,y;135 int x(0),y(0); 136 136 if (getIntArgument(arguments, "x", reply, x) && getIntArgument(arguments, "y", reply, y)) 137 137 { … … 177 177 virtual bool operator()(const std::string& request_path, const std::string& full_request_path, const Arguments& arguments, http::server::reply& reply) 178 178 { 179 int x ,y, button;179 int x(0),y(0), button(0); 180 180 181 181 if (getIntArgument(arguments, "x", reply, x) -
OpenSceneGraph/trunk/src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp
r13202 r13206 107 107 double getTimeStamp(const Arguments& arguments, http::server::reply& reply) 108 108 { 109 double time_stamp ;109 double time_stamp(0.0); 110 110 getDoubleArgument(arguments, "time", reply, time_stamp); 111 111 return time_stamp;
