Vector BLF

Loading...
Searching...
No Matches
LinSynchFieldEvent.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 <Vector/BLF/AbstractFile.h>
10#include <Vector/BLF/LinBusEvent.h>
11#include <Vector/BLF/ObjectHeader.h>
12
13#include <Vector/BLF/vector_blf_export.h>
14
15 namespace Vector {
16 namespace BLF {
17
21 struct VECTOR_BLF_EXPORT LinSynchFieldEvent : LinBusEvent {
22 void read(AbstractFile & is) override;
23 void write(AbstractFile & os) override;
24 uint32_t calculateObjectSize() const override;
25
31 uint64_t synchBreakLength {};
32
38 uint64_t synchDelLength {};
39};
40
41}
42}
Vector::BLF::AbstractFile
Definition AbstractFile.h:19
Vector::BLF::LinSynchFieldEvent
Definition LinSynchFieldEvent.h:21
Vector::BLF::LinSynchFieldEvent::synchBreakLength
uint64_t synchBreakLength
Sync Break Length in ns.
Definition LinSynchFieldEvent.h:31
Vector::BLF::LinSynchFieldEvent::read
void read(AbstractFile &is) override
Definition LinSynchFieldEvent.cpp:10
Vector::BLF::LinSynchFieldEvent::calculateObjectSize
uint32_t calculateObjectSize() const override
Definition LinSynchFieldEvent.cpp:22
Vector::BLF::LinSynchFieldEvent::write
void write(AbstractFile &os) override
Definition LinSynchFieldEvent.cpp:16
Vector::BLF::LinSynchFieldEvent::synchDelLength
uint64_t synchDelLength
Sync Delimiter Length in ns.
Definition LinSynchFieldEvent.h:38