diff options
Diffstat (limited to 'src/camera/veyeimx287m.h')
| -rw-r--r-- | src/camera/veyeimx287m.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/camera/veyeimx287m.h b/src/camera/veyeimx287m.h index b28ce96..5afc84b 100644 --- a/src/camera/veyeimx287m.h +++ b/src/camera/veyeimx287m.h @@ -10,6 +10,8 @@ #include "icamera.h" +class HttpServer; + class VeyeIMX287m : public ICamera { constexpr static char videoDevice[] = "/dev/video0"; @@ -51,6 +53,7 @@ private: bool openCam(); bool selectCam(int camIdx = 0); bool initCam(); + bool initHttpServer(); void dequeueFrameLoop(std::stop_token stopToken); void calcFrameLoop(std::stop_token stopToken); @@ -82,4 +85,6 @@ private: std::jthread m_streamThread; // std::jthread m_calcThreads[1]; std::jthread m_calcThreads[4]; + + std::shared_ptr<HttpServer> m_httpServer; }; |
