Vector BLF
Vector::BLF::AfdxBusStatistic Struct Referencefinal

AFDX_BUS_STATISTIC. More...

#include <AfdxBusStatistic.h>

Inheritance diagram for Vector::BLF::AfdxBusStatistic:
Vector::BLF::ObjectHeader Vector::BLF::ObjectHeaderBase

Public Member Functions

void read (AbstractFile &is) override
 
void write (AbstractFile &os) override
 
DWORD calculateObjectSize () const override
 
- Public Member Functions inherited from Vector::BLF::ObjectHeader
 ObjectHeader (const ObjectType objectType, const WORD objectVersion=0)
 
void read (AbstractFile &is) override
 
void write (AbstractFile &os) override
 
WORD calculateHeaderSize () const override
 
DWORD calculateObjectSize () const override
 
- Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
 ObjectHeaderBase (const WORD headerVersion, const ObjectType objectType)
 
 ObjectHeaderBase (const ObjectHeaderBase &)=default
 
ObjectHeaderBaseoperator= (const ObjectHeaderBase &)=default
 
 ObjectHeaderBase (ObjectHeaderBase &&)=default
 
ObjectHeaderBaseoperator= (ObjectHeaderBase &&)=default
 

Public Attributes

WORD channel {}
 application channel
 
WORD flags {}
 Bit0=Valid Rx/Tx Counter, Bit1=Valid Error Counter; Bit2=Valid VLId.
 
ULONG statDuration {}
 real time period in mysec of statistic datacollection
 
ULONG statRxPacketCountHW {}
 read frames taken from hardware, i.e. on bus
 
ULONG statTxPacketCountHW {}
 send frames as taken from hardware, i.e. on bus
 
ULONG statRxErrorCountHW {}
 number of erronous Rx-frames detected by HW
 
ULONG statTxErrorCountHW {}
 number of erronous Tx-frames detected by HW
 
ULONG statRxBytesHW {}
 bytes received by HW during this time period
 
ULONG statTxBytesHW {}
 bytes sent by HW during this time period
 
ULONG statRxPacketCount {}
 received frames within CANwin
 
ULONG statTxPacketCount {}
 send packets from within CANwin
 
ULONG statDroppedPacketCount {}
 number of packets aktively dropped by CANwin
 
ULONG statInvalidPacketCount {}
 number of packets with incompatible eth-header regarding AFDX-spec
 
ULONG statLostPacketCount {}
 number of packets lost by CABwin due to queue overflow etc
 
BYTE line {}
 lineA (0) or lineB (1)
 
BYTE linkStatus {}
 status of adapter as per EthernetStatus
 
WORD linkSpeed {}
 link speed: 0:=10mbps 1:=100mbps 2:=1000mbps
 
WORD linkLost {}
 counter of link-losses during this period
 
WORD reservedAfdxBusStatistic1 {}
 
DWORD reservedAfdxBusStatistic2 {}
 
- Public Attributes inherited from Vector::BLF::ObjectHeader
DWORD objectFlags {ObjectFlags::TimeOneNans}
 object flags More...
 
WORD clientIndex {}
 client index of send node
 
WORD objectVersion {0}
 object specific version More...
 
ULONGLONG objectTimeStamp {}
 object timestamp More...
 
- Public Attributes inherited from Vector::BLF::ObjectHeaderBase
DWORD signature {ObjectSignature}
 signature (ObjectSignature) More...
 
WORD headerSize {}
 sizeof object header More...
 
WORD headerVersion {}
 header version (1) More...
 
DWORD objectSize {}
 object size More...
 
ObjectType objectType {}
 object type More...
 

Additional Inherited Members

- Public Types inherited from Vector::BLF::ObjectHeader
enum  ObjectFlags : DWORD { TimeTenMics = 0x00000001 , TimeOneNans = 0x00000002 }
 

Detailed Description

AFDX_BUS_STATISTIC.

AFDX line-specific bus-statistic event used since 8.2

Member Function Documentation

◆ calculateObjectSize()

DWORD Vector::BLF::AfdxBusStatistic::calculateObjectSize ( ) const
overridevirtual

Calculates the objectSize

Returns
object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

◆ read()

void Vector::BLF::AfdxBusStatistic::read ( AbstractFile is)
overridevirtual

Read the data of this object

Parameters
isinput stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

◆ write()

void Vector::BLF::AfdxBusStatistic::write ( AbstractFile os)
overridevirtual

Write the data of this object

Parameters
osoutput stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

Member Data Documentation

◆ reservedAfdxBusStatistic1

WORD Vector::BLF::AfdxBusStatistic::reservedAfdxBusStatistic1 {}

reserved

◆ reservedAfdxBusStatistic2

DWORD Vector::BLF::AfdxBusStatistic::reservedAfdxBusStatistic2 {}

reserved


The documentation for this struct was generated from the following files: