Vector::BL...iverHwSync(3)

πŸ“¦ version 2.4.2, in arch rolling

✨ NAME ✨

Vector::BLF::CanDriverHwSync β€” CAN_DRIVER_SYNC. That's the whole vibe, bestie. πŸ’…


✨ SYNOPSIS ✨

Okay so first things first, you're gonna include this header, no cap:

#include <CanDriverHwSync.h>

And it inherits from Vector::BLF::ObjectHeader β€” like, that's its whole ancestry, periodt. 🧬

🌟 Public Types 🌟

The enum Flags is giving uint8_t energy, and it's literally this:

enum Flags : uint8_t { Tx = 1, Rx = 2, RxThis = 4 }

🌸 Public Types inherited from Vector::BLF::ObjectHeader 🌸

Not me showing you the inherited enum too, because bestie, it's important:

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

πŸ¦‹ Public Member Functions πŸ¦‹

Here's the main character energy β€” three functions that do the absolute most:

  • void read (AbstractFile &is) override β€” reads the data of this object, iykyk. ✨
  • void write (AbstractFile &os) override β€” writes the data of this object, slay. πŸ’–
  • uint32_t calculateObjectSize () const override β€” calculates the objectSize, no biggie. πŸ”₯

🌸 Public Member Functions inherited from Vector::BLF::ObjectHeader 🌸

These are the ones it got from its parent, and they're iconic:

  • ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0) β€” the constructor, living its best life.
  • void read (AbstractFile &is) override β€” inherited read, still eating.
  • void write (AbstractFile &os) override β€” inherited write, still slaying.
  • uint16_t calculateHeaderSize () const override β€” calculates the header size, periodt.
  • uint32_t calculateObjectSize () const override β€” calculates the object size, again, but inherited this time. πŸ’…

🌸 Public Member Functions inherited from Vector::BLF::ObjectHeaderBase 🌸

And these are from the grandparent, lowkey essential:

  • ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType) β€” constructor, doing its thing.
  • ObjectHeaderBase (const ObjectHeaderBase &)=default β€” copy constructor, default, no cap.
  • ObjectHeaderBase & operator= (const ObjectHeaderBase &)=default β€” copy assignment, default, fr fr.
  • ObjectHeaderBase (ObjectHeaderBase &&)=default β€” move constructor, default, bestie.
  • ObjectHeaderBase & operator= (ObjectHeaderBase &&)=default β€” move assignment, default, and that's on periodt. 🫢

πŸ“ Public Attributes πŸ“

Okay so the attributes are giving data, and they're all here:

  • uint16_t channel {} β€” channel where sync occured Application channel. (Yes, that's exactly what it says, don't @ me.) πŸ“‘
  • uint8_t flags {} β€” flags. That's it. That's the description. πŸ’€
  • uint8_t reservedCanDriverHwSync1 {} β€” reserved. Hands off, bestie. πŸ™ˆ
  • uint32_t reservedCanDriverHwSync2 {} β€” reserved. Also hands off. 🫣

🌸 Public Attributes inherited from Vector::BLF::ObjectHeader 🌸

These came from the parent and they're still valid:

  • uint32_t objectFlags {ObjectFlags::TimeOneNans} β€” object flags, cute.
  • uint16_t clientIndex {} β€” client index of send node, iconic.
  • uint16_t objectVersion {0} β€” object specific version, zero by default.
  • uint64_t objectTimeStamp {} β€” object timestamp, literally time. ⏰

🌸 Public Attributes inherited from Vector::BLF::ObjectHeaderBase 🌸

And the grandparent's attributes, because we keep it thorough:

  • uint32_t signature {ObjectSignature} β€” signature (ObjectSignature), main character energy.
  • uint16_t headerSize {} β€” sizeof object header, no cap.
  • uint16_t headerVersion {} β€” header version (1), periodt.
  • uint32_t objectSize {} β€” object size, you know it.
  • ObjectType objectType {ObjectType::UNKNOWN} β€” object type, defaulting to UNKNOWN, which is a whole mood. πŸ‘‘

✨ Detailed Description ✨

CAN_DRIVER_SYNC.

Event that occurs when hardware sync is executed. That's the tea, bestie. It's giving "hardware sync just happened" and we're obsessed. πŸŽ€


πŸŽ€ Member Enumeration Documentation πŸŽ€

🧚 enum Vector::BLF::CanDriverHwSync::Flags : uint8_t 🧚

This is the enumeration for flags β€” like, the literal flags, iykyk. Here's the breakdown:

  • Tx β€” sync was sent from this channel. Slay. πŸ“€
  • Rx β€” external sync received. Iconic. πŸ“₯
  • RxThis β€” sync received but generated from this hardware. So it's a little bit of both, fr fr. πŸ”„

🧚 Member Function Documentation 🧚

🧚 uint32_t Vector::BLF::CanDriverHwSync::calculateObjectSize () const 🧚

[override], [virtual]

Calculates the objectSize. That's literally what it does.

Returns: object size.

Reimplemented from Vector::BLF::ObjectHeaderBase.

🧚 void Vector::BLF::CanDriverHwSync::read (AbstractFile & is) 🧚

[override], [virtual]

Read the data of this object. You know the drill.

Parameters: is input stream.

Reimplemented from Vector::BLF::ObjectHeaderBase.

🧚 void Vector::BLF::CanDriverHwSync::write (AbstractFile & os) 🧚

[override], [virtual]

Write the data of this object. Go off, bestie.

Parameters: os output stream.

Reimplemented from Vector::BLF::ObjectHeaderBase.


πŸ’œ Member Data Documentation πŸ’œ

πŸ’œ uint16_t Vector::BLF::CanDriverHwSync::channel {} πŸ’œ

channel where sync occured Application channel. (Yes, exactly as written. The spelling is "occured" and we're keeping it. πŸ’–)

πŸ’œ uint8_t Vector::BLF::CanDriverHwSync::flags {} πŸ’œ

flags. That's the whole description. It's giving minimalism. ✨

πŸ’œ uint8_t Vector::BLF::CanDriverHwSync::reservedCanDriverHwSync1 {} πŸ’œ

reserved β€” like, don't touch, it's reserved for a reason, bestie πŸ’€

πŸ’œ uint32_t Vector::BLF::CanDriverHwSync::reservedCanDriverHwSync2 {} πŸ’œ

reserved β€” again, hands off, it's giving "not for you" 🫣

🌈 Author 🌈

Generated automatically by Doxygen for Vector BLF from the source code. So it's literally the source's child, no cap. 🧚


Alright bestie, that's the whole manual page. Served to you by Vector BLF πŸ’– and the date (you know the one, it's in the footer, iykyk) πŸŽ€. Stay synced! πŸ’…βœ¨

πŸ“¦ where this page comes from