usbl1.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace ixblue_stdbin_decoder
7 {
8 namespace Parser
9 {
10 class Usbl1 : public MemoryBlockParser
11 {
12 public:
13  Usbl1() : MemoryBlockParser(6, 49) {}
14  void parse(boost::asio::const_buffer& buffer,
15  Data::BinaryNav& outBinaryNav) override
16  {
17  Data::Usbl res;
18  buffer >> res.validityTime_100us >> res.usbl_id >> res.beacon_id >>
19  res.latitude_deg >> res.longitude_deg >> res.altitude_m >>
20  res.north_stddev_m >> res.east_stddev_m >> res.lat_lon_cov_m2 >>
22  outBinaryNav.usbl1 = res;
23  }
24 };
25 } // namespace Parser
26 } // namespace ixblue_stdbin_decoder
boost::optional< Usbl > usbl1
Definition: stdbin.h:119
void parse(boost::asio::const_buffer &buffer, Data::BinaryNav &outBinaryNav) override
Definition: usbl1.h:14


ixblue_stdbin_decoder
Author(s): Adrien BARRAL , Laure LEBROTON
autogenerated on Sat Jan 9 2021 03:13:21