23 #ifndef __PLUGINS_ROS_WEBVIEW_REQPROC_H_
24 #define __PLUGINS_ROS_WEBVIEW_REQPROC_H_
26 #include <webview/request_processor.h>
28 #include <core/utils/lockptr.h>
42 std::string &baseurl, std::string &srv_name);
48 const char *upload_data,
49 size_t *upload_data_size,
53 std::string __logcomp;
55 std::string __baseurl;
56 std::string __srv_name;
57 ros::ServiceClient __srv_client;
Fawkes library namespace.
ROSWebviewRequestProcessor(fawkes::LockPtr< ros::NodeHandle > nh, fawkes::Logger *logger, std::string &baseurl, std::string &srv_name)
Constructor.
Abstract web request processor.
virtual ~ROSWebviewRequestProcessor()
Destructor.
Convert webview requests to ROS service calls.
virtual fawkes::WebReply * process_request(const char *url, const char *method, const char *version, const char *upload_data, size_t *upload_data_size, void **session_data)
Process a request.