Main Page
Namespaces
Classes
Files
File List
File Members
include
ixblue_stdbin_decoder
memory_blocs_parsers
external_data
lbl2.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ixblue_stdbin_decoder/data_models/external_data/lbl.h
"
4
#include "
ixblue_stdbin_decoder/memory_block_parser.h
"
5
6
namespace
ixblue_stdbin_decoder
7
{
8
namespace
Parser
9
{
10
class
Lbl2 :
public
MemoryBlockParser
11
{
12
public
:
13
Lbl2
() :
MemoryBlockParser
(15, 41) {}
14
void
parse
(boost::asio::const_buffer& buffer,
15
Data::BinaryNav
& outBinaryNav)
override
16
{
17
Data::Lbl
res;
18
buffer >> res.
validityTime_100us
>> res.
rfu
>> res.
beacon_id
>>
19
res.
beacon_latitude_deg
>> res.
beacon_longitude_deg
>>
20
res.
beacon_altitude_m
>> res.
range_m
>> res.
range_stddev_m
;
21
outBinaryNav.
lbl2
= res;
22
}
23
};
24
}
// namespace Parser
25
}
// namespace ixblue_stdbin_decoder
ixblue_stdbin_decoder
Definition:
data_models/extended_navigation_data/raw_rotation_rate_vessel_frame.h:3
ixblue_stdbin_decoder::Data::BinaryNav::lbl2
boost::optional< Lbl > lbl2
Definition:
stdbin.h:128
ixblue_stdbin_decoder::Data::Lbl::beacon_id
std::array< uint8_t, 8 > beacon_id
Definition:
data_models/external_data/lbl.h:14
ixblue_stdbin_decoder::Data::Lbl::beacon_altitude_m
float beacon_altitude_m
Definition:
data_models/external_data/lbl.h:17
ixblue_stdbin_decoder::Data::BinaryNav
Definition:
stdbin.h:67
ixblue_stdbin_decoder::Data::Lbl::beacon_latitude_deg
double beacon_latitude_deg
Definition:
data_models/external_data/lbl.h:15
ixblue_stdbin_decoder::Parser::Lbl2::Lbl2
Lbl2()
Definition:
lbl2.h:13
lbl.h
memory_block_parser.h
ixblue_stdbin_decoder::MemoryBlockParser
Definition:
memory_block_parser.h:33
ixblue_stdbin_decoder::Data::Lbl::range_m
float range_m
Definition:
data_models/external_data/lbl.h:18
ixblue_stdbin_decoder::Data::Lbl
Definition:
data_models/external_data/lbl.h:10
ixblue_stdbin_decoder::Data::Lbl::range_stddev_m
float range_stddev_m
Definition:
data_models/external_data/lbl.h:19
ixblue_stdbin_decoder::Parser::Lbl2::parse
void parse(boost::asio::const_buffer &buffer, Data::BinaryNav &outBinaryNav) override
Definition:
lbl2.h:14
ixblue_stdbin_decoder::Data::Lbl::validityTime_100us
int32_t validityTime_100us
Definition:
data_models/external_data/lbl.h:12
ixblue_stdbin_decoder::Data::Lbl::rfu
uint8_t rfu
Definition:
data_models/external_data/lbl.h:13
ixblue_stdbin_decoder::Data::Lbl::beacon_longitude_deg
double beacon_longitude_deg
Definition:
data_models/external_data/lbl.h:16
ixblue_stdbin_decoder
Author(s): Adrien BARRAL
, Laure LEBROTON
autogenerated on Sat Jan 9 2021 03:13:21