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> 98 SickSafetyscanners(
const packetReceivedCallbackFunction& newPacketReceivedCallbackFunction,
100 boost::asio::ip::address_v4 interface_ip);
155 std::vector<sick::datastructure::FieldData>& field_data);
182 std::vector<sick::datastructure::MonitoringCaseData>& monitoring_cases);
220 std::vector<sick::datastructure::MonitoringCaseData>& monitoring_cases);
227 #endif // SICK_SAFETYSCANNERS_SICKSAFETYSCANNERS_H void requestOrderNumber(const datastructure::CommSettings &settings, datastructure::OrderNumber &order_number)
void FindSensorInColaSession(uint16_t blink_time)
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.
Class containing the user name of a laser scanner.
void requestMonitoringCases(const sick::datastructure::CommSettings &settings, std::vector< sick::datastructure::MonitoringCaseData > &monitoring_cases)
Requests the monitoring cases from the sensor.
void requestUserNameInColaSession(sick::datastructure::UserName &user_name)
A packetbuffer for the raw data from the sensor.
void changeCommSettingsInColaSession(const datastructure::CommSettings &settings)
void requestPersistentConfigInColaSession(sick::datastructure::ConfigData &config_data)
void requestDeviceStatusInColaSession(sick::datastructure::DeviceStatus &device_status)
void requestSerialNumber(const sick::datastructure::CommSettings &settings, sick::datastructure::SerialNumber &serial_number)
SickSafetyscanners(const packetReceivedCallbackFunction &newPacketReceivedCallbackFunction, sick::datastructure::CommSettings *settings, boost::asio::ip::address_v4 interface_ip)
Constructor of the SickSafetyscanners class.
void requestStatusOverview(const datastructure::CommSettings &settings, datastructure::StatusOverview &status_overview)
void processUDPPacket(const sick::datastructure::PacketBuffer &buffer)
Containing the communication settings for the sensor which can be changed on runtime.
std::shared_ptr< sick::communication::AsyncUDPClient > m_async_udp_client_ptr
Class containing the firmware version of a laser scanner.
void requestConfigMetadataInColaSession(sick::datastructure::ConfigMetadata &config_metadata)
void changeSensorSettings(const sick::datastructure::CommSettings &settings)
Changes the internal settings of the sensor.
void requestOrderNumberInColaSession(sick::datastructure::OrderNumber &order_number)
void requestFirmwareVersion(const sick::datastructure::CommSettings &settings, sick::datastructure::FirmwareVersion &firmware_version)
Class containing the device name of a laser scanner.
void requestFirmwareVersionInColaSession(sick::datastructure::FirmwareVersion &firmware_version)
Class managing the algorithmic part of the package.
void requestProjectNameInColaSession(sick::datastructure::ProjectName &project_name)
void startTCPConnection(const sick::datastructure::CommSettings &settings)
void requestDeviceStatus(const datastructure::CommSettings &settings, datastructure::DeviceStatus &device_status)
void requestApplicationName(const sick::datastructure::CommSettings &settings, sick::datastructure::ApplicationName &application_name)
void FindSensor(const datastructure::CommSettings &settings, uint16_t blink_time)
std::shared_ptr< boost::asio::io_service::work > m_io_work_ptr
bool run()
Start the connection to the sensor and enables output.
void requestSerialNumberInColaSession(sick::datastructure::SerialNumber &serial_number)
std::shared_ptr< sick::cola2::Cola2Session > m_session_ptr
void requestProjectName(const datastructure::CommSettings &settings, datastructure::ProjectName &project_name)
Class containing the device status of a laser scanner.
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 requestRequiredUserActionInColaSession(sick::datastructure::RequiredUserAction &required_user_action)
Class containing the order number of a laser scanner.
void requestTypeCode(const sick::datastructure::CommSettings &settings, sick::datastructure::TypeCode &type_code)
Requests the typecode of the sensor.
Class containing the serial number of a laser scanner.
void requestConfigMetadata(const datastructure::CommSettings &settings, datastructure::ConfigMetadata &config_metadata)
void requestFieldDataInColaSession(std::vector< sick::datastructure::FieldData > &fields)
Class containing the project name of a laser scanner.
packetReceivedCallbackFunction m_newPacketReceivedCallbackFunction
void requestUserName(const datastructure::CommSettings &settings, datastructure::UserName &user_name)
std::shared_ptr< boost::asio::io_service > m_io_service_ptr
virtual ~SickSafetyscanners()
Destructor.
void requestDeviceName(const sick::datastructure::CommSettings &settings, datastructure::DeviceName &device_name)
Requests the name of the device from the sensor.
void requestMonitoringCaseDataInColaSession(std::vector< sick::datastructure::MonitoringCaseData > &monitoring_cases)
void processTCPPacket(const sick::datastructure::PacketBuffer &buffer)
void requestStatusOverviewInColaSession(sick::datastructure::StatusOverview &status_overview)
Class containing the type code of a laser scanner.
void requestDeviceNameInColaSession(datastructure::DeviceName &device_name)
boost::scoped_ptr< boost::thread > m_udp_client_thread_ptr
Class containing the serial number of a laser scanner.
void requestRequiredUserAction(const datastructure::CommSettings &settings, datastructure::RequiredUserAction &required_user_action)
std::shared_ptr< sick::data_processing::UDPPacketMerger > m_packet_merger_ptr
Class containing the additional information about the sopas state.
void requestTypeCodeInColaSession(sick::datastructure::TypeCode &type_code)
Class containing the application name of a laser scanner.
std::shared_ptr< sick::communication::AsyncTCPClient > m_async_tcp_client_ptr
boost::function< void(const sick::datastructure::Data &)> packetReceivedCallbackFunction
void requestApplicationNameInColaSession(sick::datastructure::ApplicationName &application_name)