35 #ifndef SICK_SAFETYSCANNERS_SICKSAFETYSCANNERS_H    36 #define SICK_SAFETYSCANNERS_SICKSAFETYSCANNERS_H    40 #include <boost/function.hpp>    41 #include <boost/scoped_ptr.hpp>    42 #include <boost/thread.hpp>   122                         std::vector<sick::datastructure::FieldData>& field_data);
   131                          std::string& device_name);
   149                          std::vector<sick::datastructure::MonitoringCaseData>& monitoring_cases);
   179     std::vector<sick::datastructure::MonitoringCaseData>& monitoring_cases);
   185 #endif // SICK_SAFETYSCANNERS_SICKSAFETYSCANNERS_H 
void requestFieldData(const sick::datastructure::CommSettings &settings, std::vector< sick::datastructure::FieldData > &field_data)
Requests data of the protective and warning fields from the sensor. 
 
void requestMonitoringCases(const sick::datastructure::CommSettings &settings, std::vector< sick::datastructure::MonitoringCaseData > &monitoring_cases)
Requests the monitoring cases from the sensor. 
 
void processUDPPacket(const datastructure::PacketBuffer &buffer)
 
A packetbuffer for the raw data from the sensor. 
 
void requestDeviceNameInColaSession(std::string &device_name)
 
void requestDeviceName(const sick::datastructure::CommSettings &settings, std::string &device_name)
Requests the name of the device from the sensor. 
 
void changeCommSettingsInColaSession(const datastructure::CommSettings &settings)
 
void requestPersistentConfigInColaSession(sick::datastructure::ConfigData &config_data)
 
Containing the communication settings for the sensor which can be changed on runtime. 
 
std::shared_ptr< sick::communication::AsyncUDPClient > m_async_udp_client_ptr
 
void changeSensorSettings(const sick::datastructure::CommSettings &settings)
Changes the internal settings of the sensor. 
 
std::string m_device_name
 
Class managing the algorithmic part of the package. 
 
void startTCPConnection(const sick::datastructure::CommSettings &settings)
 
std::shared_ptr< boost::asio::io_service::work > m_io_work_ptr
 
SickSafetyscanners(packetReceivedCallbackFunction newPacketReceivedCallbackFunction, sick::datastructure::CommSettings *settings)
Constructor of the SickSafetyscanners class. 
 
bool run()
Start the connection to the sensor and enables output. 
 
std::shared_ptr< sick::cola2::Cola2Session > m_session_ptr
 
Config data for current and persistent sensor config. 
 
void requestPersistentConfig(const datastructure::CommSettings &settings, sick::datastructure::ConfigData &config_data)
Requests the persistent configuration from the sensor. 
 
void requestTypeCode(const sick::datastructure::CommSettings &settings, sick::datastructure::TypeCode &type_code)
Requests the typecode of the sensor. 
 
void requestFieldDataInColaSession(std::vector< sick::datastructure::FieldData > &fields)
 
packetReceivedCallbackFunction m_newPacketReceivedCallbackFunction
 
std::shared_ptr< boost::asio::io_service > m_io_service_ptr
 
virtual ~SickSafetyscanners()
Destructor. 
 
void requestMonitoringCaseDataInColaSession(std::vector< sick::datastructure::MonitoringCaseData > &monitoring_cases)
 
void processTCPPacket(const sick::datastructure::PacketBuffer &buffer)
 
Class containing the type code of a laser scanner. 
 
boost::scoped_ptr< boost::thread > m_udp_client_thread_ptr
 
std::shared_ptr< sick::data_processing::UDPPacketMerger > m_packet_merger_ptr
 
void requestTypeCodeInColaSession(sick::datastructure::TypeCode &type_code)
 
std::shared_ptr< sick::communication::AsyncTCPClient > m_async_tcp_client_ptr
 
boost::function< void(const sick::datastructure::Data &)> packetReceivedCallbackFunction