VECTOR_BLF_MOSTTXLIGHT(3)

๐Ÿ“ฆ version 2.4.2, in arch rolling

๐Ÿ’– NAME ๐Ÿ’–

Vector::BLF::MostTxLight โ€” okay so this is the MOST_TXLIGHT class, bestie. That's the whole vibe. ๐ŸŽ€

(also, hi, you're reading the Library Functions Manual โ€” welcome to the group chat โœจ)


๐ŸŒธ SYNOPSIS ๐ŸŒธ

#include <MostTxLight.h>

It inherits from Vector::BLF::ObjectHeader2. Like, that's its whole ancestry situation. ๐Ÿ‘‘

โœจ Public Member Functions โœจ

  • void read (AbstractFile &is) override โ€” reads stuff in
  • void write (AbstractFile &os) override โ€” writes stuff out
  • uint32_t calculateObjectSize () const override โ€” math time, it counts the object size

๐Ÿ’… Public Member Functions inherited from Vector::BLF::ObjectHeader2

  • ObjectHeader2 (const ObjectType objectType) โ€” the constructor, it's giving very "I take an object type" energy
  • void read (AbstractFile &is) override
  • void write (AbstractFile &os) override
  • uint16_t calculateHeaderSize () const override
  • uint32_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, default, no notes
  • ObjectHeaderBase & operator= (const ObjectHeaderBase &)=default โ€” copy assignment, also default
  • ObjectHeaderBase (ObjectHeaderBase &&)=default โ€” move constructor, default bestie
  • ObjectHeaderBase & operator= (ObjectHeaderBase &&)=default โ€” move assignment, default, periodt

๐Ÿฆ‹ Public Attributes ๐Ÿฆ‹

  • uint16_t channel {} โ€” the application channel ๐Ÿ’–
  • uint16_t state {} โ€” the state (deets down below, keep scrolling)
  • uint32_t reservedMostTxLight {} โ€” reserved, do not touch, it's reserved

๐ŸŒˆ Public Attributes inherited from Vector::BLF::ObjectHeader2

  • uint32_t objectFlags {ObjectFlags::TimeOneNans} โ€” object flags, and yes the default is literally TimeOneNans
  • uint8_t timeStampStatus {} โ€” time stamp status
  • uint8_t reservedObjectHeader {0} โ€” reserved, defaulting to 0
  • uint16_t objectVersion {0} โ€” object specific version, starting at 0
  • uint64_t objectTimeStamp {0} โ€” object timestamp, 0
  • uint64_t originalTimeStamp {0} โ€” the original object timestamp, also 0

๐ŸŽ€ 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, defaults to UNKNOWN (mystery era ๐Ÿ•ต๏ธ)

โญ Additional Inherited Members โญ

๐Ÿ’œ Public Types inherited from Vector::BLF::ObjectHeader2

  • enum ObjectFlags : uint32_t โ€” { TimeTenMics = 0x00000001, TimeOneNans = 0x00000002 } โ€” two whole flags, iconic
  • enum TimeStampStatus : uint8_t โ€” { Orig = 0x01, SwHw = 0x02, User = 0x10 } โ€” three statuses, no cap

๐ŸŒธ Detailed Description ๐ŸŒธ

MOST_TXLIGHT. That's the name, that's the energy. ๐Ÿ’…

So like, depending on which physical layer you're on:

  • Optical physical layer: Information about light output of the Fiber Optical Transmitter
  • Electrical physical layer: Signal output state

Both of those are literally the definition, I'm not making it up ๐Ÿ’–


๐Ÿงš Member Function Documentation ๐Ÿงš

๐ŸŽ€ uint32_t Vector::BLF::MostTxLight::calculateObjectSize () const [override], [virtual]

Calculates the objectSize. bestie it's doing math for you so you don't have to ๐Ÿงฎโœจ

Returns โ€” object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

๐Ÿฆ‹ void Vector::BLF::MostTxLight::read (AbstractFile & is) [override], [virtual]

Read the data of this object. Slurp it in ๐Ÿ“ฅ

Parameters

  • is โ€” input stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

๐ŸŒˆ void Vector::BLF::MostTxLight::write (AbstractFile & os) [override], [virtual]

Write the data of this object. Bloop it out ๐Ÿ“ค

Parameters

  • os โ€” output stream

Reimplemented from Vector::BLF::ObjectHeaderBase.


๐Ÿ’œ Member Data Documentation ๐Ÿ’œ

๐ŸŒŸ uint16_t Vector::BLF::MostTxLight::channel {}

application channel โ€” Application channel. (yes she said it twice, the docs said it twice, I'm not editing the queen ๐Ÿ’…)

๐ŸŒŸ uint32_t Vector::BLF::MostTxLight::reservedMostTxLight {}

reserved. that's it. that's the note. don't ask. ๐Ÿ™ˆ

๐ŸŒŸ uint16_t Vector::BLF::MostTxLight::state {}

The state values, and this part actually matters so pay attention ๐Ÿ‘‘

  • 0 โ€“ TxLight/Signal off
  • 1 โ€“ TxLight/Signal enabled
  • 2 โ€“ TxLight/Signal forced on
lowkey important: 0 is off, 1 is enabled, 2 is forced on. three options, no more, no cap.

๐Ÿ‘‘ Author ๐Ÿ‘‘

Generated automatically by Doxygen for Vector BLF from the source code. Not a human, not a girlie, just Doxygen doing its thing ๐Ÿค–โœจ


okay that's the whole page bestie, hope it slayed ๐Ÿ’–โœจ๐ŸŽ€๐Ÿฆ‹๐ŸŒธ๐Ÿ’…๐Ÿซถ

โ€” sign-off from the Vector BLF girlies: this was Vector::BLF::MostTxLight(3), served fresh from the Vector BLF source and date stamp, mwah ๐Ÿ˜˜๐Ÿ’œ

๐Ÿ“ฆ where this page comes from