OSVR-Core
|
Public Member Functions | |
ImageProcessingThread (TrackingSystem &trackingSystem, ImageSource &cam, TrackerThread &trackerThread, CameraParameters const &camParams, std::int32_t cameraUsecOffset) | |
ImageProcessingThread & | operator= (ImageProcessingThread &)=delete |
non-assignable. | |
void | signalDoFrame () |
called by TrackerThread | |
void | signalExit () |
called by TrackerThread | |
void | threadAction () |
Entry point for the thread dedicated to this object. More... | |
bool | exiting () const |
Did we get the exit message? | |
void osvr::vbtracker::ImageProcessingThread::threadAction | ( | ) |
Entry point for the thread dedicated to this object.
Wait until we're notified and next_ isn't just "waiting"
OK, we're not supposed to wait anymore. What do we do?
Otherwise, we should do a frame. Re-set the next op while we still hold the mutex.