Vector::BL...netErrorEx(3)
πΈ 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) overridevoid write (AbstractFile &os) overrideuint32_t calculateObjectSize () const overridevirtual 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) 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 &)=defaultObjectHeaderBase & operator= (const ObjectHeaderBase &)=defaultObjectHeaderBase (ObjectHeaderBase &&)=defaultObjectHeaderBase & 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 1uint16_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 flagsuint16_t clientIndex {}β client index of send nodeuint16_t objectVersion {0}β object specific versionuint64_t objectTimeStamp {}β object timestamp
π¦ Public Attributes inherited from Vector::BLF::ObjectHeaderBase
uint32_t signature {ObjectSignature}β signature (ObjectSignature)uint16_t headerSize {}β sizeof object headeruint16_t headerVersion {}β header version (1)uint32_t objectSize {}β object sizeObjectType 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
- 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