void Interface::getStatus(StatusType &status)
{
  DEB_MEMBER_FUNCT();

  if(m_acq_mode == Normal)
    {
      status.set(m_acq_started ? 
	     HwInterface::StatusType::Exposure : HwInterface::StatusType::Ready);
    }
  else
    {
      status.set(m_acq_started ?
		 HwInterface::StatusType::Config : HwInterface::StatusType::Ready);
    }

  DEB_RETURN() << DEB_VAR1(status);
}
Example #2
0
void Interface::getStatus(StatusType& status)
{
  status.set(m_simu.getStatus());
}