Vector BLF

Loading...
Searching...
No Matches
LinDatabyteTimestampEvent.h
1// SPDX-FileCopyrightText: 2013-2021 Tobias Lorenz <tobias.lorenz@gmx.net>
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#pragma once
6
7#include <Vector/BLF/platform.h>
8
9#include <array>
10
11#include <Vector/BLF/AbstractFile.h>
12#include <Vector/BLF/LinMessageDescriptor.h>
13#include <Vector/BLF/ObjectHeader.h>
14
15#include <Vector/BLF/vector_blf_export.h>
16
17 namespace Vector {
18 namespace BLF {
19
23 struct VECTOR_BLF_EXPORT LinDatabyteTimestampEvent : LinMessageDescriptor {
24 void read(AbstractFile & is) override;
25 void write(AbstractFile & os) override;
26 uint32_t calculateObjectSize() const override;
27
38 std::array<uint64_t, 9> databyteTimestamps {};
39};
40
41}
42}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::LinDatabyteTimestampEvent
Definition LinDatabyteTimestampEvent.h:23
Vector::BLF::LinDatabyteTimestampEvent::write
void write(AbstractFile &os) override
Definition LinDatabyteTimestampEvent.cpp:15
Vector::BLF::LinDatabyteTimestampEvent::databyteTimestamps
std::array< uint64_t, 9 > databyteTimestamps
Databyte timestamps, where d[0] = EndOfHeader, d[1]=EndOfDataByte1, ..., d[8]=EndOfDataByte8.
Definition LinDatabyteTimestampEvent.h:38
Vector::BLF::LinDatabyteTimestampEvent::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition LinDatabyteTimestampEvent.cpp:20
Vector::BLF::LinDatabyteTimestampEvent::read
void read(AbstractFile &is) override
Definition LinDatabyteTimestampEvent.cpp:10
Vector::BLF::LinMessageDescriptor
Definition LinMessageDescriptor.h:21