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