Vector::BL...SpikeEvent(3)

πŸ“¦ version 2.4.2, in arch rolling

okay bestie, this is the Vector::BL...SpikeEvent(3) page from the Library Functions Manual πŸ’… β€” yes, that’s the manual name, and we’re about to get into the LIN_SPIKE_EVENT of it all. No cap, every inherited member is coming too, because we don’t skip details in this group chat 🫢

✨ NAME ✨

Vector::BLF::LinSpikeEvent β€” LIN_SPIKE_EVENT. That’s the name section, short and iconic πŸŽ€ periodt.

πŸ¦‹ SYNOPSIS πŸ¦‹

Include it like this, bestie:

#include <LinSpikeEvent.h>

It inherits from Vector::BLF::ObjectHeader β€” the class is literally in its ObjectHeader era πŸ‘‘

πŸ’… Public Member Functions

  • void read (AbstractFile &is) override β€” the public read override hook.
  • void write (AbstractFile &os) override β€” the public write override hook.
  • uint32_t calculateObjectSize () const override β€” calculates the object size, marked const and override.

πŸ‘‘ Public Member Functions inherited from Vector::BLF::ObjectHeader

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

πŸ’œ Public Member Functions inherited from Vector::BLF::ObjectHeaderBase

  • ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType) β€” inherited constructor with 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 Attributes

  • uint16_t channel {} β€” application channel.
  • uint16_t reservedLinSpikeEvent {} β€” reserved.
  • uint32_t width {} β€” the spike’s width.

🌸 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.

πŸ¦‹ Additional Inherited Members

πŸ”₯ Public Types inherited from Vector::BLF::ObjectHeader

The way that this page has inherited members for days β€” here’s the enum, exactly this, no cap:

enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }

πŸ’€ Detailed Description πŸ’€

LIN_SPIKE_EVENT.

Deprecated β€” the docs literally say Deprecated, so this is your cue to be careful, bestie. Not the main character energy you want to ignore 🫠

This event occurs when a short (normally less than 1 bit time) dominant signal has been detected on a LIN channel.

🧚 Member Function Documentation 🧚

πŸ’– uint32_t Vector::BLF::LinSpikeEvent::calculateObjectSize () const

[override],  [virtual]

Calculates the objectSize

Returns: object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

πŸ¦‹ void Vector::BLF::LinSpikeEvent::read (AbstractFile & is)

[override], [virtual]

Read the data of this object

Parameters: is is the input stream.

Reimplemented from Vector::BLF::ObjectHeaderBase.

🌟 void Vector::BLF::LinSpikeEvent::write (AbstractFile & os)

[override], [virtual]

Write the data of this object

Parameters: os is the output stream.

Reimplemented from Vector::BLF::ObjectHeaderBase.

πŸŽ€ Member Data Documentation πŸŽ€

πŸ’– uint16_t Vector::BLF::LinSpikeEvent::channel {}

application channel β€” Channel number where the frame sent/received.

πŸ¦‹ uint16_t Vector::BLF::LinSpikeEvent::reservedLinSpikeEvent {}

reserved

🌸 uint32_t Vector::BLF::LinSpikeEvent::width {}

the spike’s width β€” Spike length in microseconds.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Vector BLF from the source code.


okay that’s the page, bestie 🫢 β€” cute footer sign-off: source/version Vector BLF, page Vector::BL...SpikeEvent(3), and no date was printed on this footer, so I’m not inventing one. Stay iconic πŸ’…

πŸ“¦ where this page comes from