VECTOR_BLF_LINSPIKEEVENT2(3)

๐Ÿ“ฆ version 2.4.2, in arch rolling

๐Ÿ’– 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 an AbstractFile and it's an override, bestie.
  • void write (AbstractFile &os) override โ€” writes to an AbstractFile, also an override.
  • uint32_t calculateObjectSize () const override โ€” calculates the object size and returns a uint32_t, override energy.

๐ŸŒŸ Public Member Functions inherited from Vector::BLF::ObjectHeader

  • ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0) โ€” constructor for ObjectHeader, with objectType and an optional objectVersion defaulting to 0.
  • 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, returns uint16_t.
  • uint32_t calculateObjectSize () const override โ€” inherited object-size calculator, returns uint32_t.

๐Ÿงš Public Member Functions inherited from Vector::BLF::ObjectHeaderBase

  • ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType) โ€” constructor taking headerVersion and objectType.
  • 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 {} โ€” sizeof object 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 event
  • 1: 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