Commit a4bb0b98 authored by Andreas Persson's avatar Andreas Persson

USE_GIGE: add optional constructor arguments packet_size and packet_delay

parent ece85337
......@@ -60,7 +60,9 @@ class Camera : public HwMaxImageSizeCallbackGen
Ready, Exposure, Readout, Latency, Fault
};
Camera(const int camera_serial);
Camera(const int camera_serial,
const int packet_size = -1,
const int packet_delay = -1);
~Camera();
// hw interface
......
......@@ -13,7 +13,7 @@ namespace PointGrey
Ready, Exposure, Readout, Latency,
};
Camera(const int camera_serial);
Camera(const int camera_serial, const int packet_size = -1, const int packet_delay = -1);
~Camera();
void prepareAcq();
......
......@@ -23,7 +23,9 @@ private:
//---------------------------
//
//---------------------------
Camera::Camera(const int camera_serial)
Camera::Camera(const int camera_serial,
const int packet_size,
const int packet_delay)
: m_nb_frames(1)
, m_status(Ready)
, m_quit(false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment