forked from floratest1/SpireCV
add G1 camera
This commit is contained in:
parent
173acc7036
commit
9f35bf476e
|
@ -3,7 +3,7 @@
|
||||||
* @Author: L LC @amov
|
* @Author: L LC @amov
|
||||||
* @Date: 2023-12-19 18:30:17
|
* @Date: 2023-12-19 18:30:17
|
||||||
* @LastEditors: L LC @amov
|
* @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
|
* @FilePath: /SpireCV/video_io/driver/sv_camera_G1.cpp
|
||||||
*/
|
*/
|
||||||
#include "../sv_camera_privately.h"
|
#include "../sv_camera_privately.h"
|
||||||
|
@ -23,10 +23,20 @@ private:
|
||||||
bool open(void);
|
bool open(void);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
sv_camera_G1();
|
sv_camera_G1(int timeOut);
|
||||||
~sv_camera_G1();
|
~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 sv_camera_G1::setStream(const std::string &ip, uint16_t port)
|
||||||
{
|
{
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
|
|
Loading…
Reference in New Issue