Class LocationDataHandler
Defined in File location_data_handler.hpp
Class Documentation
Location data handler to assemble split Location packet stream into full measurement.
It will store each packet in binary form till all packets were received. Assemble will convert all stored PDUs to a list of locations.
Public Types
Public Functions
Construct a new LocationDataHandler object.
Handle PDU.
If the PDU is a new measurement (based on different block counter), reset internal buffer and set expected number of locations and PDUs.
Either way append the PDU to the internal storage.
- Parameters:
buffer – Location PDU as byte buffer
True if all location data packets from one measurement received, false otherwise.
Process and assemble received raw PDUs to location data.
- Returns:
Assembled location data containing header and all received locations
Public Static Attributes