25 #ifndef INCLUDED_ImageProcessingThread_h_GUID_307E6652_D346_43B4_291A_5BAAEF4BA909 26 #define INCLUDED_ImageProcessingThread_h_GUID_307E6652_D346_43B4_291A_5BAAEF4BA909 32 #include <opencv2/core/core.hpp> 35 #include <condition_variable> 53 std::int32_t cameraUsecOffset);
71 std::ostream &msg()
const;
73 std::ostream &warn()
const;
81 const std::int32_t cameraUsecOffset_;
84 bool logBlobs_ =
false;
85 std::ofstream blobFile_;
87 enum class NextOp { Waiting, DoFrame, Exit };
89 std::mutex stateMutex_;
90 std::condition_variable stateCondVar_;
91 NextOp next_ = NextOp::Waiting;
96 bool exiting_ =
false;
102 #endif // INCLUDED_ImageProcessingThread_h_GUID_307E6652_D346_43B4_291A_5BAAEF4BA909 Definition: ImageProcessingThread.h:47
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
void threadAction()
Entry point for the thread dedicated to this object.
Definition: ImageProcessingThread.cpp:75
Definition: TrackerThread.h:77
void signalExit()
called by TrackerThread
Definition: ImageProcessingThread.cpp:67
Definition: CameraParameters.h:41
Definition: TrackingSystem.h:54
ImageProcessingThread & operator=(ImageProcessingThread &)=delete
non-assignable.
void signalDoFrame()
called by TrackerThread
Definition: ImageProcessingThread.cpp:59
Uniform interface for the various normal to strange image sources for the tracking algorithm...
Definition: ImageSource.h:42
bool exiting() const
Did we get the exit message?
Definition: ImageProcessingThread.h:67