Vector::BL...netErrorEx(3)

πŸ“¦ version 2.4.2, in arch rolling

🌸 NAME 🌸

Vector::BLF::EthernetErrorEx β€” ETHERNET_ERROR_EX.

Bestie, this is the Vector::BL...netErrorEx(3) manual page, and the class at the center of it is Vector::BLF::EthernetErrorEx β€” no cap, that’s the whole name vibe. πŸ’–

✨ SYNOPSIS ✨

#include <EthernetErrorEx.h>

Inherits Vector::BLF::ObjectHeader.

🫢 Public Member Functions

These are the public member functions, laid out exactly:

  • void read (AbstractFile &is) override
  • void write (AbstractFile &os) override
  • uint32_t calculateObjectSize () const override
  • virtual uint16_t calculateStructLength () const

πŸ’« 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

  • uint16_t structLength {} β€” Length of this structure.
  • uint16_t flags {} β€” flags, which indicates the valid fields:
  • uint16_t channel {} β€” application channel, i.e. Eth 1
  • uint16_t hardwareChannel {} β€” HW channel.
  • uint64_t frameDuration {} β€” Transmission duration in [ns].
  • uint32_t frameChecksum {} β€” Ethernet checksum.
  • uint16_t dir {} β€” Direction flag: 0=Rx, 1=Tx, 2=TxRq.
  • uint16_t frameLength {} β€” Number of valid frameData bytes.
  • uint32_t frameHandle {} β€” Handle which refer the corresponding EthernetFrameForwarded event.
  • uint32_t error {} β€” the error field; the error codes are below in the data docs.
  • std::vector< uint8_t > frameData {} β€” Max 1612 data bytes per frame. Contains Ethernet header + Ethernet payload.

πŸ’œ 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

πŸ’€ Additional Inherited Members πŸ’€

🌈 Public Types inherited from Vector::BLF::ObjectHeader

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

πŸ’œ Detailed Description πŸ’œ

ETHERNET_ERROR_EX.

That’s literally what it says β€” short and iconic. ✨

πŸŽ€ Member Function Documentation πŸŽ€

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

[override], [virtual]

Calculates the objectSize

Returns: object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

uint16_t Vector::BLF::EthernetErrorEx::calculateStructLength () const

[virtual]

Calculates structLength.

Returns: struct length

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

Read the data of this object

Parameters: is β€” input stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

void Vector::BLF::EthernetErrorEx::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::EthernetErrorEx::error {}

Error code

  • 1: Data Length Error
  • 2: Invalid CRC
  • 3: Invalid Data received
  • 4: Collision detected

uint16_t Vector::BLF::EthernetErrorEx::flags {}

flags, which indicates the valid fields:

  • Bit 0 - reserved
  • Bit 1 - hardwareChannel valid
  • Bit 2 - frameDuration valid
  • Bit 3 - frameChecksum valid
  • Bit 4 - frameHandle valid

uint16_t Vector::BLF::EthernetErrorEx::structLength {}

Length of this structure. Length of this structure, without sizeof(ObjectHeader) and without raw data length

πŸ‘‘ Author πŸ‘‘

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

Okay bestie, that’s the whole page. Source/version in the footer: Vector BLF. Manual name: Vector::BL...netErrorEx(3). Date: the original footer doesn’t print a separate date, so there’s no date to spill. Bye, love you, slay πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from