23 #include "rrdweb_thread.h" 24 #include "rrdweb_processor.h" 26 #include <webview/url_manager.h> 27 #include <webview/nav_manager.h> 31 #define RRD_URL_PREFIX "/rrd" WebNavManager * webview_nav_manager
Webview navigation manager.
virtual void finalize()
Finalize the thread.
RRDManager * rrd_manager
Manager class to access RRD features.
virtual void loop()
Code to execute in the thread.
Fawkes library namespace.
Thread class encapsulation of pthreads.
Logger * logger
This is the Logger member used to access the logger.
RRDWebThread()
Constructor.
WebUrlManager * webview_url_manager
Webview request processor manager.
virtual void init()
Initialize the thread.
void unregister_baseurl(const char *url_prefix)
Remove a request processor.
virtual ~RRDWebThread()
Destructor.
void add_nav_entry(std::string baseurl, std::string name)
Add a navigation entry.
RRD web request processor.
void remove_nav_entry(std::string baseurl)
Remove a navigation entry.
void register_baseurl(const char *url_prefix, WebRequestProcessor *processor)
Add a request processor.