Main Page
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
Variables
Typedefs
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
c
d
e
f
g
h
i
l
m
p
r
s
t
u
v
~
+
Variables
a
b
c
d
e
g
h
i
l
m
n
o
p
q
r
s
t
u
v
x
y
Typedefs
Enumerations
+
Enumerator
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
+
Files
File List
+
File Members
+
All
b
l
m
t
+
Functions
m
t
Variables
include
ixblue_stdbin_decoder
memory_blocs_parsers
external_data
vtg1.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ixblue_stdbin_decoder/data_models/external_data/vtg.h
"
4
#include "
ixblue_stdbin_decoder/memory_block_parser.h
"
5
6
namespace
ixblue_stdbin_decoder
7
{
8
namespace
Parser
9
{
10
class
Vtg1 :
public
MemoryBlockParser
11
{
12
public
:
13
Vtg1
() :
MemoryBlockParser
(25, 17) {}
14
void
parse
(boost::asio::const_buffer& buffer,
15
Data::BinaryNav
& outBinaryNav)
override
16
{
17
Data::Vtg
res;
18
buffer >> res.
validityTime_100us
>> res.
vtg_id
>> res.
true_course_deg
>>
19
res.
magnetic_course_deg
>> res.
speed_over_ground_ms
;
20
outBinaryNav.
vtg1
= res;
21
}
22
};
23
}
// namespace Parser
24
}
// namespace ixblue_stdbin_decoder
ixblue_stdbin_decoder::Parser::Vtg1::parse
void parse(boost::asio::const_buffer &buffer, Data::BinaryNav &outBinaryNav) override
Definition:
vtg1.h:14
ixblue_stdbin_decoder
Definition:
data_models/extended_navigation_data/raw_rotation_rate_vessel_frame.h:3
vtg.h
ixblue_stdbin_decoder::Data::Vtg
Definition:
data_models/external_data/vtg.h:9
ixblue_stdbin_decoder::Parser::Vtg1::Vtg1
Vtg1()
Definition:
vtg1.h:13
ixblue_stdbin_decoder::Data::BinaryNav::vtg1
boost::optional< Vtg > vtg1
Definition:
stdbin.h:137
ixblue_stdbin_decoder::Data::Vtg::validityTime_100us
int32_t validityTime_100us
Definition:
data_models/external_data/vtg.h:11
ixblue_stdbin_decoder::Data::BinaryNav
Definition:
stdbin.h:67
memory_block_parser.h
ixblue_stdbin_decoder::MemoryBlockParser
Definition:
memory_block_parser.h:33
ixblue_stdbin_decoder::Data::Vtg::magnetic_course_deg
float magnetic_course_deg
Definition:
data_models/external_data/vtg.h:14
ixblue_stdbin_decoder::Data::Vtg::vtg_id
uint8_t vtg_id
Definition:
data_models/external_data/vtg.h:12
ixblue_stdbin_decoder::Data::Vtg::speed_over_ground_ms
float speed_over_ground_ms
Definition:
data_models/external_data/vtg.h:15
ixblue_stdbin_decoder::Data::Vtg::true_course_deg
float true_course_deg
Definition:
data_models/external_data/vtg.h:13
ixblue_stdbin_decoder
Author(s): Adrien BARRAL
, Laure LEBROTON
autogenerated on Wed Apr 6 2022 02:22:12