22 #ifndef __PLUGINS_WEBVIEW_PTZCAM_WEBVIEW_PTZCAM_THREAD_H_ 23 #define __PLUGINS_WEBVIEW_PTZCAM_WEBVIEW_PTZCAM_THREAD_H_ 25 #include <core/threading/thread.h> 26 #include <aspect/logging.h> 27 #include <aspect/clock.h> 28 #include <aspect/blackboard.h> 29 #include <aspect/webview.h> 30 #include <aspect/configurable.h> 34 class PanTiltInterface;
35 class SwitchInterface;
57 protected:
virtual void run() { Thread::run(); }
69 float cfg_inactivity_timeout_;
70 float cfg_park_pan_tolerance_;
71 float cfg_park_pan_pos_;
72 float cfg_park_tilt_tolerance_;
73 float cfg_park_tilt_pos_;
Pan/tilt/zoom camera control via webview.
Thread aspect to access to BlackBoard.
Thread aspect that allows to obtain the current time from the clock.
Pan/tilt/zoom camera request processor.
Fawkes library namespace.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread class encapsulation of pthreads.
virtual ~WebviewPtzCamThread()
Destructor.
SwitchInterface Fawkes BlackBoard Interface.
virtual void finalize()
Finalize the thread.
WebviewPtzCamThread()
Constructor.
Thread aspect to log output.
virtual void init()
Initialize the thread.
Thread aspect to access configuration data.
PanTiltInterface Fawkes BlackBoard Interface.
Thread aspect to provide web pages via Webview.
virtual void loop()
Code to execute in the thread.