VECTOR_BLF_SYSTEMVARIABLE(3)

πŸ“¦ version 2.4.2, in arch rolling

Hey bestie πŸ’– you opened Vector::BLF::SystemVariable(3), and yes, it’s from the Library Functions Manual. This page is the SYS_VARIABLE one β€” Doxygen-generated, full of types and members, and honestly kind of iconic in a very C++ way. Let’s unpack it together, no cap. πŸ¦‹

πŸ’– NAME πŸ’–

Vector::BLF::SystemVariable β€” SYS_VARIABLE. That’s the whole name vibe. ✨

✨ SYNOPSIS ✨

First things first: include the header, and know who this class inherits from. πŸ’…

#include <SystemVariable.h>

Inherits Vector::BLF::ObjectHeader.

πŸ’… Public Types πŸ’…

The main enum is literally right here, exact values and all:

enum Type : uint32_t { Double = 1, Long = 2, String = 3, DoubleArray = 4, LongArray = 5, LongLong = 6, ByteArray = 7 }

πŸ’œ Public Types inherited from Vector::BLF::ObjectHeader πŸ’œ

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

🫢 Public Member Functions 🫢

These are the member functions that belong to Vector::BLF::SystemVariable:

void read (AbstractFile &is) override
void write (AbstractFile &os) override
uint32_t calculateObjectSize () const override

πŸ’œ Public Member Functions inherited from Vector::BLF::ObjectHeader πŸ’œ

ObjectHeader (const ObjectType objectType, const uint16_t objectVersion=0)
uint16_t calculateHeaderSize () const override

πŸ’œ Public Member Functions inherited from Vector::BLF::ObjectHeaderBase πŸ’œ

ObjectHeaderBase (const uint16_t headerVersion, const ObjectType objectType)
ObjectHeaderBase (const ObjectHeaderBase &)=default
ObjectHeaderBase & operator= (const ObjectHeaderBase &)=default
ObjectHeaderBase (ObjectHeaderBase &&)=default
ObjectHeaderBase & operator= (ObjectHeaderBase &&)=default

🌈 Public Attributes 🌈

  • uint32_t type {} β€” type of system variable
  • uint32_t representation {} β€” signed, later perhaps also string codepage
  • uint64_t reservedSystemVariable1 {} β€” reserved
  • uint32_t nameLength {} β€” length of variable name in bytes
  • uint32_t dataLength {} β€” length of variable data in bytes
  • uint64_t reservedSystemVariable2 {} β€” reserved
  • std::string name {} β€” variable name in MBCS
  • std::vector< uint8_t > data {} β€” variable data

πŸ’œ Public Attributes inherited from Vector::BLF::ObjectHeader πŸ’œ

  • uint32_t objectFlags {ObjectFlags::TimeOneNans} β€” object flags
  • uint16_t clientIndex {} β€” client index of send node
  • uint16_t objectVersion {0} β€” object specific version
  • uint64_t objectTimeStamp {} β€” object timestamp

πŸ’œ Public Attributes inherited from Vector::BLF::ObjectHeaderBase πŸ’œ

  • uint32_t signature {ObjectSignature} β€” signature (ObjectSignature)
  • uint16_t headerSize {} β€” sizeof object header
  • uint16_t headerVersion {} β€” header version (1)
  • uint32_t objectSize {} β€” object size
  • ObjectType objectType {ObjectType::UNKNOWN} β€” object type

🌸 Detailed Description 🌸

Okay so the detailed description is short and sweet: this is a SYS_VARIABLE. Specifically, it’s a system variable that can be used with CANoe. That’s the whole plot. πŸŽ€

🧚 Member Enumeration Documentation 🧚

enum Vector::BLF::SystemVariable::Type : uint32_t

This enum is the enumeration for type. The enumerator lineup is:

  • Double β€” DOUBLE
  • Long β€” LONG
  • String β€” STRING
  • DoubleArray β€” Array of DOUBLE
  • LongArray β€” Array of LONG
  • LongLong β€” LONGLONG
  • ByteArray β€” Array of BYTE

πŸŽ€ Member Function Documentation πŸŽ€

uint32_t Vector::BLF::SystemVariable::calculateObjectSize () const

Tags: [override], [virtual]. It Calculates the objectSize.

  • Returns: object size
  • Reimplemented from: Vector::BLF::ObjectHeader

void Vector::BLF::SystemVariable::read (AbstractFile & is) [override], [virtual]

Read the data of this object. πŸ’…

  • Parameters: is β€” input stream
  • Reimplemented from: Vector::BLF::ObjectHeader

void Vector::BLF::SystemVariable::write (AbstractFile & os) [override], [virtual]

Write the data of this object.

  • Parameters: os β€” output stream
  • Reimplemented from: Vector::BLF::ObjectHeader

πŸ“ Member Data Documentation πŸ“

Each member has its doc text exactly where it belongs:

std::vector<uint8_t> Vector::BLF::SystemVariable::data {}

variable data β€” the data value of the system variable.

uint32_t Vector::BLF::SystemVariable::dataLength {}

length of variable data in bytes β€” the length of the data of the environment variable in bytes.

std::string Vector::BLF::SystemVariable::name {}

variable name in MBCS β€” the name of the system variable.

uint32_t Vector::BLF::SystemVariable::nameLength {}

length of variable name in bytes β€” the length of the name of the system variable (without terminating 0)

uint64_t Vector::BLF::SystemVariable::reservedSystemVariable1 {}

reserved

uint64_t Vector::BLF::SystemVariable::reservedSystemVariable2 {}

reserved

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Vector BLF from the source code. Slay, automation. ✨


Source/version: Vector BLF. Footer page: Vector::BL...temVariable(3). Date: not shown in this footer, bestie β€” I’m not inventing one, periodt. πŸ’…πŸ«Ά

πŸ“¦ where this page comes from