| 59 | } |
| 60 | |
| 61 | bool Connection::Send(boost::circular_buffer<DataPoint> const & points) |
| 62 | { |
| 63 | if (!m_socket) |
| 64 | return false; |
| 65 | |
| 66 | auto packet = Protocol::CreateDataPacket(points, tracking::Protocol::PacketType::CurrentData); |
| 67 | return m_socket->Write(packet.data(), static_cast<uint32_t>(packet.size())); |
| 68 | } |
| 69 | } // namespace tracking |
no test coverage detected