Vector::BL...iverHwSync(3)
β¨ 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 theobjectSize, 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 toUNKNOWN, 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
- 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