driver/src/sick_scan_common_nw.cpp
std::string SopasEventMessage::getCommandString() const
{
  std::string commandString;

  switch (m_protocol)
  {
    case CoLa_A:
      commandString = std::string((char *) &m_buffer[2], 2);
      break;
    case CoLa_B:
      commandString = std::string((char *) &m_buffer[9], 2);
  }

  return commandString;
}
/** \brief Returns two character long command
* \return string container command
*
* Returns the core command of a sopas message (e.g. "WN") for ..sWN <whatever>
*
*/
\brief Returns two character long command
\return string container command

Returns the core command of a sopas message  for ..sWN 
\ brief Returns two character long command \ return string container command Returns the core command of a sopas message for .. sWN
std::string SopasEventMessage::getCommandString() const
{
  std::string commandString;
  switch (m_protocol)
  {
    case CoLa_A:
      commandString = std::string((char *) &m_buffer[2], 2);
      break;
    case CoLa_B:
      commandString = std::string((char *) &m_buffer[9], 2);
  }
  return commandString;
}
std :: string SopasEventMessage :: getCommandString ( ) const { std :: string commandString ; switch ( m_protocol ) { case CoLa_A : commandString = std :: string ( ( char * ) & m_buffer [ 2 ] , 2 ) ; break ; case CoLa_B : commandString = std :: string ( ( char * ) & m_buffer [ 9 ] , 2 ) ; } return commandString ; }
\brief Returns two character long command
\return string container command
\ brief Returns two character long command \ return string container command