Fawkes API
Fawkes Development Version
|
24 #include "model/ImageInfo.h"
26 #include <aspect/blackboard.h>
27 #include <aspect/clock.h>
28 #include <aspect/configurable.h>
29 #include <aspect/logging.h>
30 #include <aspect/thread_producer.h>
31 #include <aspect/webview.h>
32 #include <core/threading/thread.h>
33 #include <webview/rest_api.h>
34 #include <webview/rest_array.h>
41 class WebviewJpegStreamProducer;
63 std::shared_ptr<fawkes::WebviewJpegStreamProducer> get_stream(
const std::string &image_id);
69 std::map<std::string, std::shared_ptr<fawkes::WebviewJpegStreamProducer>> streams_;
virtual void finalize()
Finalize the thread.
Aspect for thread producing threads.
~ImageRestApi()
Destructor.
virtual void init()
Initialize the thread.
ImageRestApi()
Constructor.
Thread aspect to access to BlackBoard.
Fawkes library namespace.
Thread aspect to log output.
Container to return array via REST.
virtual void loop()
Code to execute in the thread.
REST parameters to pass to handlers.
Thread aspect to provide web pages via Webview.
REST API backend for the image.
Webview REST API component.
Thread class encapsulation of pthreads.
Thread aspect to access configuration data.
Thread aspect that allows to obtain the current time from the clock.