[WIP] stop recording / fifo

parent 7d5e257a
......@@ -307,6 +307,7 @@ struct stcLongLongStr
typedef struct {
DWORD nrImgRecorded;
DWORD maxImgCount;
int lastImgFifo;
int nrImgRequested;
int nrImgRequested0;
int nrImgAcquired;
......@@ -788,6 +789,8 @@ namespace lima
int m_pco_buffer_nrevents;
bool bRecorderForcedFifo;
int iRecorderStopRequest;
//----------------------------------
Camera::Status m_status;
......@@ -1140,6 +1143,13 @@ namespace lima
void getNrEvents(int & val);
void setNrEvents(int val);
void getRecorderStopRequest(int & val);
void setRecorderStopRequest(int val);
int _getRecorderStopRequest();
int _setRecorderStopRequest(int val);
void getLastImgFifo(int & val);
}; // class camera
} // namespace pco
} // namespace lima
......
......@@ -107,6 +107,13 @@ namespace Pco
void getNrEvents(int & val /Out/);
void setNrEvents(int val);
void getRecorderStopRequest(int & val /Out/);
void setRecorderStopRequest(int val);
void getLastImgFifo(int & val /Out/);
};
};
......
......@@ -899,3 +899,48 @@ void Camera::getNrEvents(int &val)
val = m_pco_buffer_nrevents;
}
//====================================================================
// SIP - attrib
//====================================================================
void Camera::setRecorderStopRequest(int val)
{
DEB_MEMBER_FUNCT();
_setRecorderStopRequest(1);
}
void Camera::getRecorderStopRequest(int &val)
{
DEB_MEMBER_FUNCT();
val = _getRecorderStopRequest();
}
int Camera::_getRecorderStopRequest()
{
DEB_MEMBER_FUNCT();
return iRecorderStopRequest;
}
int Camera::_setRecorderStopRequest(int val)
{
DEB_MEMBER_FUNCT();
return (iRecorderStopRequest = val);
}
//====================================================================
// SIP - attrib
//====================================================================
void Camera::getLastImgFifo(int &val)
{
DEB_MEMBER_FUNCT();
val = m_pcoData->traceAcq.lastImgFifo;
}
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