VECTOR_BLF_FUNCTIONBUS(3)
π NAME π
Vector::BLF::FunctionBus β bestie, this is the FUNCTION_BUS class. That's it. That's the whole name. Periodt. β¨
Oh and real quick, before we dive in β this whole page lives in the Library Functions Manual, section 3, okay? Just so you know where you are. π«Ά
π SYNOPSIS π
#include <FunctionBus.h>
Lowkey the most important line: this class inherits Vector::BLF::ObjectHeader. Keep that in your back pocket, because a lot of stuff is gonna come from up there. π
β¨ Public Types β¨
enum FunctionBusObjectType : uint32_t { Undefined = 0, Signal = 1, ServiceFunction = 2, State = 3 }β no cap, these are literally the four flavors.Undefinedis0,Signalis1,ServiceFunctionis2,Stateis3. πΈ
π¦ Public Types inherited from Vector::BLF::ObjectHeader π¦
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 }βTimeTenMicsis0x00000001,TimeOneNansis0x00000002. Slay. β
π Public Member Functions π
void read (AbstractFile &is) overrideβ reads stuff in, we'll get to it.void write (AbstractFile &os) overrideβ writes stuff out, also getting to it.uint32_t calculateObjectSize () const overrideβ does math for the size. Iconic behavior.
π Public Member Functions inherited from Vector::BLF::ObjectHeader π
ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)β constructor, note theobjectVersion=0default, she's got a fallback.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 π§
ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)ObjectHeaderBase (const ObjectHeaderBase &)=defaultβ copy constructor, defaulted, she's chill like that.ObjectHeaderBase & operator= (const ObjectHeaderBase &)=defaultβ copy assignment, also defaulted.ObjectHeaderBase (ObjectHeaderBase &&)=defaultβ move constructor, defaulted, moving on up.ObjectHeaderBase & operator= (ObjectHeaderBase &&)=defaultβ move assignment, defaulted too. We love a complete set. π
π Public Attributes π
uint32_t functionBusObjectType {}uint32_t veType {}uint32_t nameLength {}uint32_t dataLength {}std::string name {}std::vector< uint8_t > data {}
π Public Attributes inherited from Vector::BLF::ObjectHeader π
uint32_t objectFlags {ObjectFlags::TimeOneNans}β object flags (defaults toObjectFlags::TimeOneNans, cute).uint16_t clientIndex {}β client index of send node.uint16_t objectVersion {0}β object specific version, starts at0.uint64_t objectTimeStamp {}β object timestamp.
π Public Attributes inherited from Vector::BLF::ObjectHeaderBase π
uint32_t signature {ObjectSignature}β signature (ObjectSignature).uint16_t headerSize {}βsizeofobject header.uint16_t headerVersion {}β header version, and it's1.uint32_t objectSize {}β object size.ObjectType objectType {ObjectType::UNKNOWN}β object type, defaults toObjectType::UNKNOWN.
πΈ Detailed Description πΈ
FUNCTION_BUS. That's the whole vibe check, bestie. Literally that. π
π₯ Member Enumeration Documentation π₯
enum Vector::BLF::FunctionBus::FunctionBusObjectType : uint32_t
It's the enumeration for functionBusObjectType, iykyk. The four values are up there in Public Types β go peek. π
β Member Function Documentation β
uint32_t Vector::BLF::FunctionBus::calculateObjectSize () const [override], [virtual]
Calculates the objectSize. Queen of arithmetic. π
Returns
- the object size π
Reimplemented from Vector::BLF::ObjectHeaderBase.
void Vector::BLF::FunctionBus::read (AbstractFile & is) [override], [virtual]
Read the data of this object. Get that info in there. π₯
Parameters
isβ input stream
Reimplemented from Vector::BLF::ObjectHeaderBase.
void Vector::BLF::FunctionBus::write (AbstractFile & os) [override], [virtual]
Write the data of this object. Push it out into the world, main character energy. π€
Parameters
osβ output stream
Reimplemented from Vector::BLF::ObjectHeaderBase.
π Member Data Documentation π
std::vector<uint8_t> Vector::BLF::FunctionBus::data {}β variable data. (Yeah, that's exactly what it says. Vague but honest. π)uint32_t Vector::BLF::FunctionBus::dataLength {}β length of variable data in bytes.uint32_t Vector::BLF::FunctionBus::functionBusObjectType {}β type of system variable.std::string Vector::BLF::FunctionBus::name {}β path name in the port server. Fancy. β¨uint32_t Vector::BLF::FunctionBus::nameLength {}β length of variable name in bytes.
π¦ Author π¦
Generated automatically by Doxygen for Vector BLF from the source code. Not a human, not a vibe, just a robot doing its thing. π€π
Ngl bestie, this page was auto-generated, so if something looks terse, blame Doxygen, not me. π«Ά
That's the whole page!! Courtesy of Vector BLF β the Library Functions Manual, section 3, Vector::BLF::FunctionBus(3), served fresh. Kisses, study hard, and may your objectSize always be calculated correctly. π
β¨π
π¦ 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