diff --git a/video_io/driver/sv_camera_G1.cpp b/video_io/driver/sv_camera_G1.cpp index 332641e..7ae5147 100644 --- a/video_io/driver/sv_camera_G1.cpp +++ b/video_io/driver/sv_camera_G1.cpp @@ -3,7 +3,7 @@ * @Author: L LC @amov * @Date: 2023-12-19 18:30:17 * @LastEditors: L LC @amov - * @LastEditTime: 2023-12-20 18:50:45 + * @LastEditTime: 2023-12-20 19:05:13 * @FilePath: /SpireCV/video_io/driver/sv_camera_G1.cpp */ #include "../sv_camera_privately.h" @@ -23,10 +23,20 @@ private: bool open(void); public: - sv_camera_G1(); + sv_camera_G1(int timeOut); ~sv_camera_G1(); + + static CameraBase* creat(int timeOut) + { + return new sv_camera_G1(timeOut); + } }; +sv_camera_G1::sv_camera_G1(int timeOut) : sv_p::CameraBase(timeOut) +{ + +} + bool sv_camera_G1::setStream(const std::string &ip, uint16_t port) { bool ret = false;