VECTOR_BLF_LINSCHEDULERMODECHANGE(3)
π Vector::BLF::LinSchedulerModeChange(3) β Library Functions Manual, but make it cute
okay so bestie, we're in the Library Functions Manual today and the star of the show is literally Vector::BLF::LinSchedulerModeChange. yes that's a mouthful, no i will not be shortening it, it's giving β¨academicβ¨.
πΈ NAME πΈ
Vector::BLF::LinSchedulerModeChange β aka LIN_SCHED_MODCH. that's it. that's the name. slay π
β¨ SYNOPSIS β¨
first things first, you gotta let the compiler know she exists:
#include <LinSchedulerModeChange.h>
and she inherits from Vector::BLF::ObjectHeader β so like, she's got a whole family tree, we'll get to that π«Ά
π Public Member Functions π
these are the ones she owns herself:
void read (AbstractFile &is) overrideβ reads her data in,overrideenergy onlyvoid write (AbstractFile &os) overrideβ writes her data out, alsooverride, also iconicuint32_t calculateObjectSize () const overrideβ does the math on her size,constbecause she's not about to change mid-calculation
π Public Member Functions inherited from Vector::BLF::ObjectHeader
the family inheritance, no cap:
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)β constructor, note the defaultobjectVersionis0π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
the grandparent generation, and yes she's got the full copy/move situation:
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)ObjectHeaderBase (const ObjectHeaderBase &)=defaultβ copy constructor, defaultedObjectHeaderBase & operator= (const ObjectHeaderBase &)=defaultβ copy assignment, defaultedObjectHeaderBase (ObjectHeaderBase &&)=defaultβ move constructor, defaultedObjectHeaderBase & operator= (ObjectHeaderBase &&)=defaultβ move assignment, defaulted
π Public Attributes π
her own personal fields, all initialized to {} because she's tidy:
uint16_t channel {}β the application channeluint8_t oldMode {}uint8_t newMode {}uint32_t reservedLinSchedulerModeChange {}
β Public Attributes inherited from Vector::BLF::ObjectHeader
uint32_t objectFlags {ObjectFlags::TimeOneNans}β the object flags, defaults toTimeOneNansuint16_t clientIndex {}β client index of the send nodeuint16_t objectVersion {0}β object specific version, starts at0uint64_t objectTimeStamp {}β the object's timestamp
π Public Attributes inherited from Vector::BLF::ObjectHeaderBase
uint32_t signature {ObjectSignature}β the signature, defaultObjectSignatureuint16_t headerSize {}βsizeofobject headeruint16_t headerVersion {}β header version, and that's a1bestieuint32_t objectSize {}β object sizeObjectType objectType {ObjectType::UNKNOWN}β object type, defaults toObjectType::UNKNOWN
π§ Additional Inherited Members π§
Public Types inherited from Vector::BLF::ObjectHeader
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }
two flags, TimeTenMics at 0x00000001 and TimeOneNans at 0x00000002. memorize them, there will be a quiz (there will not be a quiz) π
π Detailed Description π
LIN_SCHED_MODCH. periodt.
so like, when does this info event even happen? listen closely bestie:
This info event occurs when a Master is simulated and a frame header of a new schedule table is transmitted for the first time. This info event may appear on starting a measurement.
so: simulated Master + first-ever frame header of a new schedule table = this event shows up. and it may appear when you start a measurement. main character energy honestly π¦
π₯ Member Function Documentation π₯
π uint32_t Vector::BLF::LinSchedulerModeChange::calculateObjectSize () const
[override], [virtual] β she's doing both, she's an overachiever.
Calculates the objectSize.
Returns: object size. that's the whole return. object size. thank you for coming to my ted talk β¨
Reimplemented from Vector::BLF::ObjectHeaderBase.
π void Vector::BLF::LinSchedulerModeChange::read (AbstractFile & is)
[override], [virtual]
Read the data of this object.
Parameters:
isβ input stream (catch that pun, an input stream literally namedis, obsessed π)
Reimplemented from Vector::BLF::ObjectHeaderBase.
π void Vector::BLF::LinSchedulerModeChange::write (AbstractFile & os)
[override], [virtual]
Write the data of this object.
Parameters:
osβ output stream (and yes the output stream isos, the naming is chef's kiss)
Reimplemented from Vector::BLF::ObjectHeaderBase.
π Member Data Documentation π
uint16_t Vector::BLF::LinSchedulerModeChange::channel {}
application channel. more specifically: channel number where the frame sent/received. π
uint8_t Vector::BLF::LinSchedulerModeChange::newMode {}
Index (0-based) of the newly activated schedule table. zero-based, so the first one is 0, don't embarrass yourself π«Ά
uint8_t Vector::BLF::LinSchedulerModeChange::oldMode {}
Index (0-based) of a previously active schedule table. previously. past tense. she's moved on π
uint32_t Vector::BLF::LinSchedulerModeChange::reservedLinSchedulerModeChange {}
reserved. that's it. that's the whole description. don't touch her, she's reserved π
πΈ Author πΈ
Generated automatically by Doxygen for Vector BLF from the source code. not me writing this by hand when Doxygen just... does that. anyway π
that's the whole page bestie, go forth and schedule your LIN modes responsibly π¦β¨π
with love, the Vector BLF manual (Library Functions Manual), Vector::BL...rModeChange(3) β mwah π
π¦ 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