VECTOR_BLF_LINSPIKEEVENT2(3)
๐ Vector::BLF::LinSpikeEvent2 โ LIN_SPIKE_EVENT2 ๐
okay bestie, quick vibe check: this page lives in the Library Functions Manual, and the man page id is Vector::BL...SpikeEvent2(3). The actual main character is Vector::BLF::LinSpikeEvent2, and we're about to go through every single deet. no skips, no cap. โจ
โจ NAME โจ
Vector::BLF::LinSpikeEvent2 โ LIN_SPIKE_EVENT2. that's the whole name section, short and iconic. ๐
๐ธ SYNOPSIS ๐ธ
#include <LinSpikeEvent2.h>
Inherits Vector::BLF::ObjectHeader, and Vector::BLF::LinBusEvent.
๐ซถ Public Member Functions
๐ its own public member functions
void read (AbstractFile &is) overrideโ reads from anAbstractFileand it's an override, bestie.void write (AbstractFile &os) overrideโ writes to anAbstractFile, also an override.uint32_t calculateObjectSize () const overrideโ calculates the object size and returns auint32_t, override energy.
๐ Public Member Functions inherited from Vector::BLF::ObjectHeader
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)โ constructor forObjectHeader, withobjectTypeand an optionalobjectVersiondefaulting to0.void read (AbstractFile &is) overrideโ inherited read override.void write (AbstractFile &os) overrideโ inherited write override.uint16_t calculateHeaderSize () const overrideโ inherited header-size calculator, returnsuint16_t.uint32_t calculateObjectSize () const overrideโ inherited object-size calculator, returnsuint32_t.
๐ง Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)โ constructor takingheaderVersionandobjectType.ObjectHeaderBase (const ObjectHeaderBase &)=defaultโ copy constructor, defaulted.ObjectHeaderBase & operator= (const ObjectHeaderBase &)=defaultโ copy assignment, defaulted.ObjectHeaderBase (ObjectHeaderBase &&)=defaultโ move constructor, defaulted.ObjectHeaderBase & operator= (ObjectHeaderBase &&)=defaultโ move assignment, defaulted.
๐ฆ Public Member Functions inherited from Vector::BLF::LinBusEvent
LinBusEvent (const LinBusEvent &)=defaultโ copy constructor, defaulted.LinBusEvent & operator= (const LinBusEvent &)=defaultโ copy assignment, defaulted.LinBusEvent (LinBusEvent &&)=defaultโ move constructor, defaulted.LinBusEvent & operator= (LinBusEvent &&)=defaultโ move assignment, defaulted.
๐ Public Attributes
โญ its own public attributes
uint32_t width {}โ the spike's width in microseconds. also described as spike length in microseconds. both deets live here, bestie.uint8_t internal {}โ flag saying whether this event is simulated or real; the full tea is in the member data section below.uint8_t reservedLinSpikeEvent1 {}โ reserved.uint16_t reservedLinSpikeEvent2 {}โ reserved.
๐ Public Attributes inherited from Vector::BLF::ObjectHeader
uint32_t objectFlags {ObjectFlags::TimeOneNans}โ object flags.uint16_t clientIndex {}โ client index of send node.uint16_t objectVersion {0}โ object specific version.uint64_t objectTimeStamp {}โ object timestamp.
๐ธ Public Attributes inherited from Vector::BLF::ObjectHeaderBase
uint32_t signature {ObjectSignature}โ signature (ObjectSignature).uint16_t headerSize {}โsizeofobject header.uint16_t headerVersion {}โ header version (1).uint32_t objectSize {}โ object size.ObjectType objectType {ObjectType::UNKNOWN}โ object type.
๐ Public Attributes inherited from Vector::BLF::LinBusEvent
uint64_t sof {}โ Start Of Frame timestamp.uint32_t eventBaudrate {}โ Baudrate of the event in bit/sec.uint16_t channel {}โ application channel.uint16_t reservedLinBusEvent {}โ just listed here with no extra description in the source, bestie.
๐ Additional Inherited Members ๐
๐ Public Types inherited from Vector::BLF::ObjectHeader
the enum is giving very specific little values, and we're keeping them exactly:
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans =
0x00000002 }
๐ฅ Detailed Description ๐ฅ
so LIN_SPIKE_EVENT2 is the event that happens when a short dominant signal has been detected on a LIN channel. and when we say short, we mean normally less than 1 bit time. that's the moment, that's the vibe. ๐ฆ
๐ญ Member Function Documentation ๐ญ
๐งฎ uint32_t Vector::BLF::LinSpikeEvent2::calculateObjectSize () const
[override], [virtual]
Calculates the objectSize.
Returns: object size.
Reimplemented from Vector::BLF::ObjectHeaderBase.
๐ void Vector::BLF::LinSpikeEvent2::read (AbstractFile & is)
[override], [virtual]
Read the data of this object.
Parameters: is input stream.
Reimplemented from Vector::BLF::ObjectHeaderBase.
โ๏ธ void Vector::BLF::LinSpikeEvent2::write (AbstractFile & os)
[override], [virtual]
Write the data of this object.
Parameters: os output stream.
Reimplemented from Vector::BLF::ObjectHeaderBase.
๐ Member Data Documentation ๐
๐ซง uint8_t Vector::BLF::LinSpikeEvent2::internal {}
Flag indicating whether this event is a simulated one:
0: real event1: simulated event
๐งธ uint8_t Vector::BLF::LinSpikeEvent2::reservedLinSpikeEvent1 {}
reserved.
๐ uint16_t Vector::BLF::LinSpikeEvent2::reservedLinSpikeEvent2 {}
reserved.
๐ uint32_t Vector::BLF::LinSpikeEvent2::width {}
the spike's width in microseconds. also: Spike length in microseconds. same energy, both facts kept. ๐
๐ Author ๐
Generated automatically by Doxygen for Vector BLF from the source code. yes, the robots generated it, and I gave it the group-chat treatment. ๐
๐ sign-off: source/version is Vector BLF, page id is Vector::BL...SpikeEvent2(3). date: not printed on this page, bestie. ๐ซถโจ
๐ฆ where this page comes from
- arch rolling: vector-blf 2.4.2-2 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms