Main Page
Namespaces
Classes
Files
File List
File Members
include
ixblue_stdbin_decoder
memory_blocs_parsers
navigation_data
memory_blocs_parsers/navigation_data/system_date.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ixblue_stdbin_decoder/data_models/navigation_data/system_date.h
"
4
#include "
ixblue_stdbin_decoder/memory_block_parser.h
"
5
6
namespace
ixblue_stdbin_decoder
7
{
8
namespace
Parser
9
{
10
class
SystemDate
:
public
MemoryBlockParser
11
{
12
public
:
13
SystemDate
() :
MemoryBlockParser
(13, 4) {}
14
void
parse
(boost::asio::const_buffer& buffer,
15
Data::BinaryNav
& outBinaryNav)
override
16
{
17
Data::SystemDate
res;
18
buffer >> res.
day
>> res.
month
>> res.
year
;
19
outBinaryNav.
systemDate
= res;
20
}
21
};
22
}
// namespace Parser
23
}
// namespace ixblue_stdbin_decoder
ixblue_stdbin_decoder::Data::BinaryNav::systemDate
boost::optional< SystemDate > systemDate
Definition:
stdbin.h:83
ixblue_stdbin_decoder
Definition:
data_models/extended_navigation_data/raw_rotation_rate_vessel_frame.h:3
ixblue_stdbin_decoder::Data::SystemDate::year
uint16_t year
Definition:
data_models/navigation_data/system_date.h:11
ixblue_stdbin_decoder::Parser::SystemDate::parse
void parse(boost::asio::const_buffer &buffer, Data::BinaryNav &outBinaryNav) override
Definition:
memory_blocs_parsers/navigation_data/system_date.h:14
ixblue_stdbin_decoder::Parser::SystemDate::SystemDate
SystemDate()
Definition:
memory_blocs_parsers/navigation_data/system_date.h:13
ixblue_stdbin_decoder::Data::SystemDate::month
uint8_t month
Definition:
data_models/navigation_data/system_date.h:10
ixblue_stdbin_decoder::Data::BinaryNav
Definition:
stdbin.h:67
system_date.h
memory_block_parser.h
ixblue_stdbin_decoder::MemoryBlockParser
Definition:
memory_block_parser.h:33
ixblue_stdbin_decoder::Data::SystemDate
Definition:
data_models/navigation_data/system_date.h:7
ixblue_stdbin_decoder::Parser::SystemDate
Definition:
memory_blocs_parsers/navigation_data/system_date.h:10
ixblue_stdbin_decoder::Data::SystemDate::day
uint8_t day
Definition:
data_models/navigation_data/system_date.h:9
ixblue_stdbin_decoder
Author(s): Adrien BARRAL
, Laure LEBROTON
autogenerated on Sat Jan 9 2021 03:13:21