driver/src/sick_scan_common_nw.cpp
void SickScanCommonNw::processFrame(SopasEventMessage &frame)
{

  if (m_protocol == CoLa_A)
  {
    printInfoMessage(
        "SickScanCommonNw::processFrame: Calling processFrame_CoLa_A() with " + ::toString(frame.size()) + " bytes.",
        m_beVerbose);
    // processFrame_CoLa_A(frame);
  }
  else if (m_protocol == CoLa_B)
  {
    printInfoMessage(
        "SickScanCommonNw::processFrame: Calling processFrame_CoLa_B() with " + ::toString(frame.size()) + " bytes.",
        m_beVerbose);
    // processFrame_CoLa_B(frame);
  }
}
/**
 * Reads one frame from receive buffer and decodes it.
 * Switches directly to the decoder of the protocol.
 *
 */
Reads one frame from receive buffer and decodes it.
Switches directly to the decoder of the protocol.
Reads one frame from receive buffer and decodes it . Switches directly to the decoder of the protocol .
void SickScanCommonNw::processFrame(SopasEventMessage &frame)
{
  if (m_protocol == CoLa_A)
  {
    printInfoMessage(
        "SickScanCommonNw::processFrame: Calling processFrame_CoLa_A() with " + ::toString(frame.size()) + " bytes.",
        m_beVerbose);
  }
  else if (m_protocol == CoLa_B)
  {
    printInfoMessage(
        "SickScanCommonNw::processFrame: Calling processFrame_CoLa_B() with " + ::toString(frame.size()) + " bytes.",
        m_beVerbose);
  }
}
void SickScanCommonNw :: processFrame ( SopasEventMessage & frame ) { if ( m_protocol == CoLa_A ) { printInfoMessage ( " " + :: toString ( frame . size ( ) ) + " " , m_beVerbose ) ; } else if ( m_protocol == CoLa_B ) { printInfoMessage ( " " + :: toString ( frame . size ( ) ) + " " , m_beVerbose ) ; } }
Reads one frame from receive buffer and decodes it.
Reads one frame from receive buffer and decodes it .
// processFrame_CoLa_A(frame); // processFrame_CoLa_B(frame);