Vector::BL...stampEvent(3)

πŸ“¦ version 2.4.2, in arch rolling

hey bestie πŸ’– this is the Vector::BL...stampEvent(3) page from the Library Functions Manual, and the class we're talking about is Vector::BLF::LinDatabyteTimestampEvent β€” yes, the title got truncated by the terminal gremlins, but she's still iconic. no cap, let's go πŸŽ€

NAME

Vector::BLF::LinDatabyteTimestampEvent πŸ¦‹

SYNOPSIS

okay so the setup is literally this:

#include <LinDatabyteTimestampEvent.h>

Inherits Vector::BLF::LinMessageDescriptor.

Inherited by Vector::BLF::LinCrcError2, Vector::BLF::LinMessage2, Vector::BLF::LinReceiveError2, Vector::BLF::LinShortOrSlowResponse, and Vector::BLF::LinShortOrSlowResponse2.

Public Member Functions

  • void read (AbstractFile &is) override β€” reads the data of this object; full tea below πŸ’…
  • void write (AbstractFile &os) override β€” writes the data of this object; stream it, bestie ✨
  • uint32_t calculateObjectSize () const override β€” calculates the objectSize; she measures, periodt 😌

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

  • void read (AbstractFile &is) override β€” reads the data of this object
  • void write (AbstractFile &os) override β€” writes the data of this object
  • uint32_t calculateObjectSize () const override β€” calculates the objectSize

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

  • void read (AbstractFile &is) override β€” reads the data of this object
  • void write (AbstractFile &os) override β€” writes the data of this object
  • uint32_t calculateObjectSize () const override β€” calculates the objectSize

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

  • LinBusEvent (const LinBusEvent &)=default β€” defaulted, no extra behavior spelled out here
  • LinBusEvent & operator= (const LinBusEvent &)=default β€” defaulted, same energy
  • LinBusEvent (LinBusEvent &&)=default β€” defaulted
  • LinBusEvent & operator= (LinBusEvent &&)=default β€” defaulted

Public Attributes

  • std::array< uint64_t, 9 > databyteTimestamps {} β€” Databyte timestamps, where d[0] = EndOfHeader, d[1]=EndOfDataByte1, ..., d[8]=EndOfDataByte8. Full detail is down in Member Data Documentation, iykyk πŸ’«

πŸŽ€ Public Attributes inherited from Vector::BLF::LinMessageDescriptor πŸŽ€

  • uint16_t supplierId {} β€” LIN Sub-Identifier - Supplier ID.
  • uint16_t messageId {} β€” LIN Sub-Identifier - Message ID (16 bits).
  • uint8_t nad {} β€” LIN Sub-Identifier - NAD.
  • uint8_t id {} β€” LIN ID.
  • uint8_t dlc {} β€” LIN DLC.
  • uint8_t checksumModel {} β€” LIN checksum model.

πŸŽ€ Public Attributes inherited from Vector::BLF::LinSynchFieldEvent πŸŽ€

  • uint64_t synchBreakLength {} β€” Sync Break Length in ns.
  • uint64_t synchDelLength {} β€” Sync Delimiter Length in ns.

πŸŽ€ 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 {} β€” no description in the source, so we're not inventing one 🫧

🌸 Detailed Description 🌸

Common header of LIN bus events containing response data bytes. that's it, that's the vibe β€” obsessed with the clarity πŸŽ€

πŸ’… Member Function Documentation πŸ’…

🌈 uint32_t Vector::BLF::LinDatabyteTimestampEvent::calculateObjectSize () const [override], [virtual] 🌈

Calculates the objectSize.

  • Returns: object size
  • Reimplemented from Vector::BLF::LinBusEvent.
  • Reimplemented in Vector::BLF::LinMessage2, Vector::BLF::LinReceiveError2, Vector::BLF::LinShortOrSlowResponse2, and Vector::BLF::LinShortOrSlowResponse.

🌈 void Vector::BLF::LinDatabyteTimestampEvent::read (AbstractFile & is) [override], [virtual] 🌈

Read the data of this object.

  • Parameters: is input stream
  • Reimplemented from Vector::BLF::LinBusEvent.
  • Reimplemented in Vector::BLF::LinMessage2, Vector::BLF::LinReceiveError2, Vector::BLF::LinShortOrSlowResponse2, and Vector::BLF::LinShortOrSlowResponse.

🌈 void Vector::BLF::LinDatabyteTimestampEvent::write (AbstractFile & os) [override], [virtual] 🌈

Write the data of this object.

  • Parameters: os output stream
  • Reimplemented from Vector::BLF::LinBusEvent.
  • Reimplemented in Vector::BLF::LinMessage2, Vector::BLF::LinReceiveError2, Vector::BLF::LinShortOrSlowResponse2, and Vector::BLF::LinShortOrSlowResponse.

πŸ“ Member Data Documentation πŸ“

πŸ¦‹ std::array<uint64_t, 9> Vector::BLF::LinDatabyteTimestampEvent::databyteTimestamps {} πŸ¦‹

Databyte timestamps, where d[0] = EndOfHeader, d[1]=EndOfDataByte1, ..., d[8]=EndOfDataByte8. Data byte timestamps [in nanoseconds].

Index 0 corresponds to last header byte.

Indexes 1-9 correspond to response data bytes D1-D8.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Vector BLF from the source code. yes, the robot wrote it, and she served πŸ’…


okay bestie, that's the whole page 🫢 source/version: Vector BLF; date: the footer copy here doesn't show one, so we're not making up a timestamp β€” periodt. now go forth and parse those LIN bus events with main character energy βœ¨πŸŒˆπŸ’–

πŸ“¦ where this page comes from