Vector::BLF::AppText(3)

πŸ“¦ version 2.4.2, in arch rolling

πŸ’– NAME πŸ’–

okay bestie, welcome to the Vector::BLF::AppText(3) page from the Library Functions Manual β€” aka Vector::BLF::AppText β€” APP_TEXT. ✨


🌸 SYNOPSIS 🌸

#include <AppText.h>

Inherits Vector::BLF::ObjectHeader.

πŸŽ€ Public Types πŸŽ€

  • enum Source : uint32_t β€” the source enum, with these exact values:
enum Source : uint32_t { MeasurementComment = 0x00000000, DbChannelInfo
    = 0x00000001, MetaData = 0x00000002 }

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

  • enum ObjectFlags : uint32_t β€” flags, with these exact values:
enum ObjectFlags : uint32_t { TimeTenMics = 0x00000001, TimeOneNans =
    0x00000002 }

πŸ¦‹ Public Member Functions πŸ¦‹

  • 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)
  • 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
  • ObjectHeaderBase & operator= (const ObjectHeaderBase &)=default
  • ObjectHeaderBase (ObjectHeaderBase &&)=default
  • ObjectHeaderBase & operator= (ObjectHeaderBase &&)=default

🌈 Public Attributes 🌈

  • uint32_t source {} β€” source of text
  • uint32_t reservedAppText1 {} β€” reserved
  • uint32_t textLength {} β€” text length in bytes
  • uint32_t reservedAppText2 {}
  • std::string text {} β€” text in MBCS

⭐ 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 ✨

APP_TEXT.

Application defined text to be saved in BLF log file (currently not used in CANoe/CANalyzer).

Heads up, bestie: the original literally says β€œcurrently not used in CANoe/CANalyzer” β€” so that’s the vibe, no cap. πŸ’€

πŸ¦‹ Member Enumeration Documentation πŸ¦‹

enum Vector::BLF::AppText::Source : uint32_t

enumeration for source

Enumerator

  • MeasurementComment β€” measurement comment
  • DbChannelInfo β€” database channel info
  • MetaData β€” meta data

πŸ’œ Member Function Documentation πŸ’œ

uint32_t Vector::BLF::AppText::calculateObjectSize () const [override], [virtual]

Calculates the objectSize

Returns: object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

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

Read the data of this object

Parameters: is input stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

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

Write the data of this object

Parameters: os output stream

Reimplemented from Vector::BLF::ObjectHeaderBase.


πŸŽ€ Member Data Documentation πŸŽ€

uint32_t Vector::BLF::AppText::reservedAppText1 {}

reserved Depends on source.

uint32_t Vector::BLF::AppText::reservedAppText2 {}

reserved

uint32_t Vector::BLF::AppText::source {}

source of text Defines the source/semantic of the text. Actually two different values are defined:

  • 0: Measurement comment
    • reserved is not used
    • text contains a measurement comment
  • 1: Database channel information
    • reserved contains channel information. The following
    • table show how the 4 bytes are used:
      • Bit 0-7: Version of the data
      • Bit 8-15: Channel number
      • Bit 15-23: Bus type of the channel. One of the following values:
        • 1: BL_BUSTYPE_CAN
        • 5: BL_BUSTYPE_LIN
        • 6: BL_BUSTYPE_MOST
        • 7: BL_BUSTYPE_FLEXRAY
        • 9: BL_BUSTYPE_J1708
        • 10: BL_BUSTYPE_ETHERNET
        • 13: BL_BUSTYPE_WLAN
        • 14: BL_BUSTYPE_AFDX
      • Bit 24: Flag, that determines, if channel is a CAN- FD channel
      • Bit 25-31: Unused at the moment
    • text contains database information for the specific channel. Each database is defined by the database path and the cluster name (if available). The single databases and the cluster name are separated by a semicolon. Example: <Path1>;<ClusterName1>;<Path2>;<ClusterName2>;... If for a database there's no cluster name available, an empty string is written as cluster name.
  • 2: Meta data

std::string Vector::BLF::AppText::text {}

text in MBCS Text to be saved to log file.

uint32_t Vector::BLF::AppText::textLength {}

text length in bytes Length of text without ending 0.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Vector BLF from the source code.


okay that’s the whole page, bestie! πŸ’… Source/version: Vector BLF. Date: not printed in the footer, so no date to spill. Vector::BLF::AppText(3) out β€” slay. 🫢✨

πŸ“¦ where this page comes from