|
Fawkes API
Fawkes Development Version
|

Public Member Functions | |
| RefThread (ImageWidget *widget, unsigned int refresh_delay) | |
| Creates a new refresh thread. | |
| void | set_delay (unsigned int refresh_delay) |
| Sets the refresh delay for automatic camera refreshes. | |
| void | save_on_refresh (bool enabled, std::string path="", Glib::ustring type="", unsigned int img_num=0) |
| void | refresh_cam () |
| Refreshes the camera during the next loop. | |
| void | stop () |
| Stops (and destroys) the thread as soon as possible (at the next loop) | |
| unsigned int | get_img_num () |
| firevision::ImageWidget::RefThread::RefThread | ( | ImageWidget * | widget, |
| unsigned int | refresh_delay | ||
| ) |
Creates a new refresh thread.
| widget | to be refreshed |
| refresh_delay | time between two refreshes (in [ms]) |
Definition at line 462 of file image_widget.cpp.
References fawkes::Thread::set_delete_on_exit(), and set_delay().
| void firevision::ImageWidget::RefThread::refresh_cam | ( | ) |
Refreshes the camera during the next loop.
Definition at line 495 of file image_widget.cpp.
Referenced by firevision::ImageWidget::set_camera(), and firevision::ImageWidget::refresh_cam().
| void firevision::ImageWidget::RefThread::set_delay | ( | unsigned int | refresh_delay | ) |
Sets the refresh delay for automatic camera refreshes.
| refresh_delay | im [ms] |
Definition at line 485 of file image_widget.cpp.
Referenced by firevision::ImageWidget::set_camera(), firevision::ImageWidget::set_refresh_delay(), and RefThread().
| void firevision::ImageWidget::RefThread::stop | ( | ) |
Stops (and destroys) the thread as soon as possible (at the next loop)
Definition at line 586 of file image_widget.cpp.
Referenced by firevision::ImageWidget::~ImageWidget(), and firevision::ImageWidget::enable_camera().