38 namespace datastructure {
54 m_host_ip = boost::asio::ip::address_v4::from_string(host_ip);
138 const bool derived_settings,
139 const bool measurement_data,
140 const bool intrusion_data,
141 const bool application_data)
163 m_sensor_ip = boost::asio::ip::address_v4::from_string(host_ip);
boost::asio::ip::address_v4 getHostIp() const
Gets the IP-address of the host.
void setEInterfaceType(const uint8_t &e_interface_type)
Sets the eInterface type.
uint16_t getFeatures() const
Gets the enabled features.
void setFeatures(const uint16_t &features)
Set the enabled features.
void setSensorTcpPort(const uint16_t &sensor_tcp_port)
Sets the sensor tcp port.
uint16_t m_publishing_frequency
uint16_t getPublishingFrequency() const
Gets the publishing frequency.
void setEnabled(bool enabled)
Sets if the channel is enabled.
void setEndAngle(const uint32_t &end_angle)
Sets the end angle of the scan.
uint8_t getEInterfaceType() const
Gets the eInterface type.
void setPublishingFrequency(const uint16_t &publishing_frequency)
Sets the publishing frequency.
uint32_t getStartAngle() const
Gets the start angle of the scan.
CommSettings()
Constructor of the communication settings.
void setSensorIp(const boost::asio::ip::address_v4 &sensor_ip)
Sets the sensor IP-address.
uint32_t getEndAngle() const
Gets the end angle of the scan.
bool getEnabled() const
Gets if the channel is enabled.
void setStartAngle(const uint32_t &start_angle)
Sets the start angle of the scan.
uint16_t getSensorTcpPort() const
Gets the sensor tcp port.
boost::asio::ip::address_v4 getSensorIp() const
Gets the sensor IP-address.
uint8_t getChannel() const
Gets the channel of the data.
void setHostUdpPort(const uint16_t &host_udp_port)
Sets the host udp port.
void setChannel(const uint8_t &channel)
Sets the channel of the data.
boost::asio::ip::address_v4 m_host_ip
uint16_t m_sensor_tcp_port
boost::asio::ip::address_v4 m_sensor_ip
uint8_t m_e_interface_type
uint16_t getHostUdpPort() const
Gets the host udp port.
void setHostIp(const boost::asio::ip::address_v4 &host_ip)
Sets the IP-address of the host from an IP-address.