FireVision retriever thread. More...
#include "retriever_thread.h"

Public Member Functions | |
| FvRetrieverThread (const char *camera_string, const char *id) | |
| Constructor. | |
| virtual | ~FvRetrieverThread () |
| Destructor. | |
| virtual void | init () |
| virtual void | finalize () |
| virtual void | loop () |
| Thread loop. | |
Protected Member Functions | |
| virtual void | run () |
| Stub to see name in backtrace for easier debugging. | |
FireVision retriever thread.
This implements the functionality of the FvRetrieverPlugin.
Definition at line 42 of file retriever_thread.h.
| FvRetrieverThread::FvRetrieverThread | ( | const char * | camera_string, | |
| const char * | id | |||
| ) |
Constructor.
| camera_string | camera argument string for camera to open | |
| id | ID used to form thread name (FvRetrieverThread_[ID]) and shared memory image segment ID (retriever_[ID]). |
Definition at line 49 of file retriever_thread.cpp.
References fawkes::Thread::set_name().
| FvRetrieverThread::~FvRetrieverThread | ( | ) | [virtual] |
Destructor.
Definition at line 61 of file retriever_thread.cpp.
| void FvRetrieverThread::loop | ( | ) | [virtual] |
Thread loop.
Definition at line 164 of file retriever_thread.cpp.
References firevision::Camera::buffer(), firevision::SharedMemoryImageBuffer::buffer(), firevision::Camera::buffer_size(), firevision::Camera::capture(), firevision::Camera::capture_time(), firevision::Camera::dispose_buffer(), fawkes::TimeTracker::ping_end(), fawkes::TimeTracker::ping_start(), fawkes::TimeTracker::print_to_stdout(), firevision::SharedMemoryImageBuffer::set_capture_time(), and firevision::SeqWriter::write().
| virtual void FvRetrieverThread::run | ( | ) | [inline, protected, virtual] |
Stub to see name in backtrace for easier debugging.
Definition at line 57 of file retriever_thread.h.
1.7.1