VECTOR_BLF_ETHERNETSTATUS(3)

πŸ“¦ version 2.4.2, in arch rolling

πŸ’– Vector::BLF::EthernetStatus(3) β€” ETHERNET_STATUS, bestie πŸ’–

Manual name: Library Functions Manual. Okay so this is the whole vibe of the EthernetStatus class from Vector BLF, and it is literally here to hold Ethernet status info. Slay. πŸ¦‹


✨ NAME ✨

Vector::BLF::EthernetStatus β€” ETHERNET_STATUS. That's the name, bestie, no cap. πŸ’…

🌸 SYNOPSIS 🌸

Pull in the header with this, exactly like this:

#include <EthernetStatus.h>

It inherits Vector::BLF::ObjectHeader. Periodt. πŸŽ€

πŸŽ€ Public Types πŸŽ€

Here's the whole public-type situation, all iconic, all exact:

enum Flags : uint16_t { LinkStatus = 0x0001, Bitrate = 0x0002,
    EthernetPhy = 0x0004, Duplex = 0x0008, MdiType = 0x0010, Connector =
    0x0020, ClockMode = 0x0040, BrPair = 0x0080, HardwareChannel =
    0x0100 }
enum LinkStatus : uint8_t { UnknownLinkStatus = 0, LinkDown = 1, LinkUp
    = 2, Negotiate = 3, LinkError = 4 }
enum EthernetPhy : uint8_t { UnknownEthernetPhy = 0, Ieee802_3 = 1,
    BroadR_Reach = 2 }
enum Duplex : uint8_t { UnknownDuplex = 0, HalfDuplex = 1, FullDuplex =
    2 }
enum Mdi : uint8_t { UnknownMdi = 0, Direct = 1, Crossover = 2 }
enum Connector : uint8_t { UnknownConnector = 0, Rj45 = 1, DSub = 2 }
enum ClockMode : uint8_t { UnknownClockMode = 0, Master = 1, Slave = 2 }
enum Pairs : uint8_t { UnknownPairs = 0, Br1Pair = 1, Br2Pair = 2,
    Br4Pair = 3 }

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

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

πŸ’… Public Member Functions πŸ’…

  • void read (AbstractFile &is) override β€” reads this object's data, fr fr.
  • void write (AbstractFile &os) override β€” writes this object's data, as one does.
  • uint32_t calculateObjectSize () const override β€” calculates the object size, bestie math.

🫢 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 channel {}
  • uint16_t flags
  • uint8_t linkStatus {} β€” Link Status.
  • uint8_t ethernetPhy {} β€” Ethernet Phy.
  • uint8_t duplex {} β€” Duplex.
  • uint8_t mdi {}
  • uint8_t connector {}
  • uint8_t clockMode {}
  • uint8_t pairs {}
  • uint8_t hardwareChannel {}
  • uint32_t bitrate {} β€” Bitrate in [kbit/sec].

🌟 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 πŸ”₯

ETHERNET_STATUS.

Ethernet status.

That's the whole description, bestie β€” short, sweet, and fully on brand. πŸ‘‘

🧚 Member Enumeration Documentation 🧚

enum Vector::BLF::EthernetStatus::ClockMode : uint8_t

enumeration for clockMode

  • UnknownClockMode β€” Unknown
  • Master β€” Master
  • Slave β€” Slave

enum Vector::BLF::EthernetStatus::Connector : uint8_t

enumeration for connector

  • UnknownConnector β€” Unknown
  • Rj45 β€” RJ45
  • DSub β€” D-Sub

enum Vector::BLF::EthernetStatus::Duplex : uint8_t

enumeration for duplex

  • UnknownDuplex β€” Unknown
  • HalfDuplex β€” Half Duplex
  • FullDuplex β€” Full Duplex

enum Vector::BLF::EthernetStatus::EthernetPhy : uint8_t

enumeration for ethernetPhy

  • UnknownEthernetPhy β€” Unknown
  • Ieee802_3 β€” IEEE 802.3
  • BroadR_Reach β€” BroadR-Reach

enum Vector::BLF::EthernetStatus::Flags : uint16_t

enumeration for flags

  • LinkStatus β€” Link Status
  • Bitrate β€” Bit rate
  • EthernetPhy β€” Ethernet Phy
  • Duplex β€” Duplex
  • MdiType β€” MDI Type
  • Connector β€” Connector
  • ClockMode β€” Clock Mode
  • BrPair β€” BR Pair
  • HardwareChannel β€” Hardware Channel

enum Vector::BLF::EthernetStatus::LinkStatus : uint8_t

enumeration for linkStatus

  • UnknownLinkStatus β€” Unknown
  • LinkDown β€” Link down
  • LinkUp β€” Link up
  • Negotiate β€” Negotiate
  • LinkError β€” Link error

enum Vector::BLF::EthernetStatus::Mdi : uint8_t

enumeration for mdi

  • UnknownMdi β€” Unknown
  • Direct β€” Direct
  • Crossover β€” Crossover

enum Vector::BLF::EthernetStatus::Pairs : uint8_t

enumeration for pairs

  • UnknownPairs β€” Unknown
  • Br1Pair β€” BR 1-pair
  • Br2Pair β€” BR 2-pair
  • Br4Pair β€” BR 4-pair

πŸ’€ Member Function Documentation πŸ’€

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

Calculates the objectSize.

Returns: object size.

Reimplemented from Vector::BLF::ObjectHeaderBase.

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

Read the data of this object.

Parameters: is input stream.

Reimplemented from Vector::BLF::ObjectHeaderBase.

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

Write the data of this object.

Parameters: os output stream.

Reimplemented from Vector::BLF::ObjectHeaderBase.

πŸ‘‘ Member Data Documentation πŸ‘‘

  • uint16_t Vector::BLF::EthernetStatus::channel {} β€” The channel of the event.
  • uint8_t Vector::BLF::EthernetStatus::clockMode {} β€” clock mode
  • uint8_t Vector::BLF::EthernetStatus::connector {} β€” connector
  • uint16_t Vector::BLF::EthernetStatus::flags β€” flags
  • uint8_t Vector::BLF::EthernetStatus::hardwareChannel {} β€” hardware channel
  • uint8_t Vector::BLF::EthernetStatus::mdi {} β€” MDI
  • uint8_t Vector::BLF::EthernetStatus::pairs {} β€” pairs

🌈 Author 🌈

Generated automatically by Doxygen for Vector BLF from the source code. That's the author tea, bestie β€” Doxygen did the typing, not me. πŸ’…


πŸ’œ Cute footer sign-off: source/version is Vector BLF, and the date is whatever the footer shows β€” this copy doesn't print one, so I'm not inventing it. Bye bestie, go read those Ethernet statuses! 🫢

πŸ“¦ where this page comes from