Vector::BL...ErrorFrame(3)
β¨ Vector::BLF::CanErrorFrame(3) β¨
okay bestie, so likeβ¦ this is from the Library Functions Manual and it's genuinely iconic for anyone working with Vector BLF files. The way this page is about CAN_ERROR and honestly it's giving "niche but essential" and I'm obsessed. π
πΈ NAME πΈ
Vector::BLF::CanErrorFrame β literally just CAN_ERROR, no cap. That's it, that's the vibe. β¨
π SYNOPSIS π
okay so first things first, you gotta include the header like this:
#include <CanErrorFrame.h>
and lowkey this class inherits from Vector::BLF::ObjectHeader, which is literally giving family tree energy. π«Ά
π Public Member Functions π
void read (AbstractFile &is) overridevoid write (AbstractFile &os) overrideuint32_t calculateObjectSize () const override
β Public Member Functions inherited from Vector::BLF::ObjectHeader
these are the ones you get for free, bestie, from the parent class:
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)void read (AbstractFile &is) overridevoid write (AbstractFile &os) overrideuint16_t calculateHeaderSize () const overrideuint32_t calculateObjectSize () const override
π¦ Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
and these come from the grandparent class, the whole ancestry is serving:
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)ObjectHeaderBase (const ObjectHeaderBase &)=defaultObjectHeaderBase & operator= (const ObjectHeaderBase &)=defaultObjectHeaderBase (ObjectHeaderBase &&)=defaultObjectHeaderBase & operator= (ObjectHeaderBase &&)=default
π Public Attributes π
uint16_t channel {}β the application channel. iykyk πuint16_t length {}β the CAN error frame length.uint32_t reservedCanErrorFrame {}β reserved, so like, don't touch it bestie.
π Public Attributes inherited from Vector::BLF::ObjectHeader
uint32_t objectFlags {ObjectFlags::TimeOneNans}β the object flags, cute.uint16_t clientIndex {}β the client index of send node.uint16_t objectVersion {0}β the object specific version.uint64_t objectTimeStamp {}β the object timestamp, slay.
β¨ Public Attributes inherited from Vector::BLF::ObjectHeaderBase
uint32_t signature {ObjectSignature}β the signature (literallyObjectSignature, iconic).uint16_t headerSize {}βsizeofobject header.uint16_t headerVersion {}β the header version and it's1bestie.uint32_t objectSize {}β the object size.ObjectType objectType {ObjectType::UNKNOWN}β the object type.
π§ Additional Inherited Members π§
π₯ Public Types inherited from Vector::BLF::ObjectHeader
this enum is giving options, periodt:
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }
π¦ Detailed Description π¦
CAN_ERROR β that's the whole vibe.
it's a CAN error frame received or transmitted on a CAN channel, no cap. like, the frame was out there living its main character life on the bus and now it's here. π
π Member Function Documentation π
β uint32_t Vector::BLF::CanErrorFrame::calculateObjectSize () const
[override], [virtual] β okay so this one calculates the objectSize, slay.
Returns : the object size (obviously bestie).
Reimplemented from Vector::BLF::ObjectHeaderBase.
π void Vector::BLF::CanErrorFrame::read (AbstractFile & is) [override], [virtual]
Read the data of this object β literally what it says on the tin.
Parameters : is β input stream, the data comes from here.
Reimplemented from Vector::BLF::ObjectHeaderBase.
πΈ void Vector::BLF::CanErrorFrame::write (AbstractFile & os) [override], [virtual]
Write the data of this object β and this one sends it out, iconic.
Parameters : os β output stream, the data goes here.
Reimplemented from Vector::BLF::ObjectHeaderBase.
π Member Data Documentation π
β¨ uint16_t Vector::BLF::CanErrorFrame::channel {}
the application channel. Channel the frame was sent or received. iykyk which channel it was on. π
π uint16_t Vector::BLF::CanErrorFrame::length {}
the CAN error frame length. Length of error frame - can be left 0. so like, zero is valid bestie, don't stress. π
π uint32_t Vector::BLF::CanErrorFrame::reservedCanErrorFrame {}
reserved β that's it, that's the whole description. hands off. π
π Author π
Generated automatically by Doxygen for Vector BLF from the source code. so like, no human wrote this, the machine did, and honestly? it ate. π€β¨
okay bestie that's the whole page β literally every single detail preserved, every member, every {} default, every override tag, all of it. this page is from Vector BLF and it's so the kind of documentation you keep in your group chat for when someone's like "what even is a CAN error frame". kisses, hope this helped, mwah! ππβ¨ Vector BLF, periodt. π¦
π¦ 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