driver/src/sick_scan_common_nw.cpp
bool SickScanCommonNw::init(std::string ipAddress,
                            unsigned short portNumber,
                            Tcp::DisconnectFunction disconnectFunction,
                            void *obj)
{
  m_ipAddress = ipAddress;
  m_portNumber = portNumber;
  m_tcp.setDisconnectCallbackFunction(disconnectFunction, obj);
  return true;
}
//
// Initialisation from Scanner class:
// Parameter setup only. Afterwards, call connect() to connect to the scanner.
//
Initialisation from Scanner class:
Parameter setup only. Afterwards, call connect() to connect to the scanner.
Initialisation from Scanner class : Parameter setup only . Afterwards call connect () to connect to the scanner .
bool SickScanCommonNw::init(std::string ipAddress,
                            unsigned short portNumber,
                            Tcp::DisconnectFunction disconnectFunction,
                            void *obj)
{
  m_ipAddress = ipAddress;
  m_portNumber = portNumber;
  m_tcp.setDisconnectCallbackFunction(disconnectFunction, obj);
  return true;
}
bool SickScanCommonNw :: init ( std :: string ipAddress , unsigned short portNumber , Tcp :: DisconnectFunction disconnectFunction , void * obj ) { m_ipAddress = ipAddress ; m_portNumber = portNumber ; m_tcp . setDisconnectCallbackFunction ( disconnectFunction , obj ) ; return true ; }
Initialisation from Scanner class:
Parameter setup only.
Initialisation from Scanner class : Parameter setup only .